Indicator vector

From testwiki
Revision as of 03:19, 8 February 2025 by imported>Citation bot (Added publisher. | Use this bot. Report bugs. | Suggested by Abductive | Category:Basic concepts in set theory | #UCB_Category 30/55)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In mathematics, the indicator vector, characteristic vector, or incidence vector of a subset T of a set S is the vector xT:=(xs)sS such that xs=1 if sT and xs=0 if sT.

If S is countable and its elements are numbered so that S={s1,s2,,sn}, then xT=(x1,x2,,xn) where xi=1 if siT and xi=0 if siT.

To put it more simply, the indicator vector of T is a vector with one element for each element in S, with that element being one if the corresponding element of S is in T, and zero if it is not.[1][2][3]

An indicator vector is a special (countable) case of an indicator function.

Example

If S is the set of natural numbers , and T is some subset of the natural numbers, then the indicator vector is naturally a single point in the Cantor space: that is, an infinite sequence of 1's and 0's, indicating membership, or lack thereof, in T. Such vectors commonly occur in the study of arithmetical hierarchy.

Notes

Template:Reflist