![Indexed family](https://www.english.nina.az/image-resize/1600/900/web/wikipedia.jpg)
In mathematics, a family, or indexed family, is informally a collection of objects, each associated with an index from some index set. For example, a family of real numbers, indexed by the set of integers, is a collection of real numbers, where a given function selects one real number for each integer (possibly the same) as indexing.
More formally, an indexed family is a mathematical function together with its domain and image (that is, indexed families and mathematical functions are technically identical, just points of view are different). Often the elements of the set are referred to as making up the family. In this view, indexed families are interpreted as collections of indexed elements instead of functions. The set is called the index set of the family, and is the indexed set.
Sequences are one type of families indexed by natural numbers. In general, the index set is not restricted to be countable. For example, one could consider an uncountable family of subsets of the natural numbers indexed by the real numbers.
Formal definition
Let and
be sets and
a function such that
where
is an element of
and the image
of
under the function
is denoted by
. For example,
is denoted by
The symbol
is used to indicate that
is the element of
indexed by
The function
thus establishes a family of elements in
indexed by
which is denoted by
or simply
if the index set is assumed to be known. Sometimes angle brackets or braces are used instead of parentheses, although the use of braces risks confusing indexed families with sets.
Functions and indexed families are formally equivalent, since any function with a domain
induces a family
and conversely. Being an element of a family is equivalent to being in the range of the corresponding function. In practice, however, a family is viewed as a collection, rather than a function.
Any set gives rise to a family
where
is indexed by itself (meaning that
is the identity function). However, families differ from sets in that the same object can appear multiple times with different indices in a family, whereas a set is a collection of distinct objects. A family contains any element exactly once if and only if the corresponding function is injective.
An indexed family defines a set
that is, the image of
under
Since the mapping
is not required to be injective, there may exist
with
such that
Thus,
, where
denotes the cardinality of the set
For example, the sequence
indexed by the natural numbers
has image set
In addition, the set
does not carry information about any structures on
Hence, by using a set instead of the family, some information might be lost. For example, an ordering on the index set of a family induces an ordering on the family, but no ordering on the corresponding image set.
Indexed subfamily
An indexed family is a subfamily of an indexed family
if and only if
is a subset of
and
holds for all
Examples
Indexed vectors
For example, consider the following sentence:
The vectors
are linearly independent.
Here denotes a family of vectors. The
-th vector
only makes sense with respect to this family, as sets are unordered so there is no
-th vector of a set. Furthermore, linear independence is defined as a property of a collection; it therefore is important if those vectors are linearly independent as a set or as a family. For example, if we consider
and
as the same vector, then the set of them consists of only one element (as a set is a collection of unordered distinct elements) and is linearly independent, but the family contains the same element twice (since indexed differently) and is linearly dependent (same vectors are linearly dependent).
Matrices
Suppose a text states the following:
A square matrix
is invertible, if and only if the rows of
are linearly independent.
As in the previous example, it is important that the rows of are linearly independent as a family, not as a set. For example, consider the matrix
The set of the rows consists of a single element
as a set is made of unique elements so it is linearly independent, but the matrix is not invertible as the matrix determinant is 0. On the other hands, the family of the rows contains two elements indexed differently such as the 1st row
and the 2nd row
so it is linearly dependent. The statement is therefore correct if it refers to the family of rows, but wrong if it refers to the set of rows. (The statement is also correct when "the rows" is interpreted as referring to a multiset, in which the elements are also kept distinct but which lacks some of the structure of an indexed family.)
Other examples
Let be the finite set
where
is a positive integer.
- An ordered pair (2-tuple) is a family indexed by the set of two elements,
each element of the ordered pair is indexed by an element of the set
- An
-tuple is a family indexed by the set
- An infinite sequence is a family indexed by the natural numbers.
- A list is an
-tuple for an unspecified
or an infinite sequence.
- An
matrix is a family indexed by the Cartesian product
which elements are ordered pairs; for example,
indexing the matrix element at the 2nd row and the 5th column.
- A net is a family indexed by a directed set.
Operations on indexed families
Index sets are often used in sums and other similar operations. For example, if is an indexed family of numbers, the sum of all those numbers is denoted by
When is a family of sets, the union of all those sets is denoted by
Likewise for intersections and Cartesian products.
Usage in category theory
The analogous concept in category theory is called a diagram. A diagram is a functor giving rise to an indexed family of objects in a category C, indexed by another category J, and related by morphisms depending on two indices.
See also
- Array data type – Data type that represents an ordered collection of elements (values or variables)
- Coproduct – Category-theoretic construction
- Diagram (category theory) – Indexed collection of objects and morphisms in a category
- Disjoint union – In mathematics, operation on sets
- Family of sets – Any collection of sets, or subsets of a set
- Index notation – Manner of referring to elements of arrays or tensors
- Net (mathematics) – A generalization of a sequence of points
- Parametric family – family of objects whose definitions depend on a set of parameters
- Sequence – Finite or infinite ordered list of elements
- Tagged union – Data structure used to hold a value that could take on several different, but fixed, types
References
- Mathematical Society of Japan, Encyclopedic Dictionary of Mathematics, 2nd edition, 2 vols., Kiyosi Itô (ed.), MIT Press, Cambridge, MA, 1993. Cited as EDM (volume).
In mathematics a family or indexed family is informally a collection of objects each associated with an index from some index set For example a family of real numbers indexed by the set of integers is a collection of real numbers where a given function selects one real number for each integer possibly the same as indexing More formally an indexed family is a mathematical function together with its domain I displaystyle I and image X displaystyle X that is indexed families and mathematical functions are technically identical just points of view are different Often the elements of the set X displaystyle X are referred to as making up the family In this view indexed families are interpreted as collections of indexed elements instead of functions The set I displaystyle I is called the index set of the family and X displaystyle X is the indexed set Sequences are one type of families indexed by natural numbers In general the index set I displaystyle I is not restricted to be countable For example one could consider an uncountable family of subsets of the natural numbers indexed by the real numbers Formal definitionLet I displaystyle I and X displaystyle X be sets and f displaystyle f a function such that f I Xi xi f i displaystyle begin aligned f amp I to X amp i mapsto x i f i end aligned where i displaystyle i is an element of I displaystyle I and the image f i displaystyle f i of i displaystyle i under the function f displaystyle f is denoted by xi displaystyle x i For example f 3 displaystyle f 3 is denoted by x3 displaystyle x 3 The symbol xi displaystyle x i is used to indicate that xi displaystyle x i is the element of X displaystyle X indexed by i I displaystyle i in I The function f displaystyle f thus establishes a family of elements in X displaystyle X indexed by I displaystyle I which is denoted by xi i I displaystyle left x i right i in I or simply xi displaystyle left x i right if the index set is assumed to be known Sometimes angle brackets or braces are used instead of parentheses although the use of braces risks confusing indexed families with sets Functions and indexed families are formally equivalent since any function f displaystyle f with a domain I displaystyle I induces a family f i i I displaystyle f i i in I and conversely Being an element of a family is equivalent to being in the range of the corresponding function In practice however a family is viewed as a collection rather than a function Any set X displaystyle X gives rise to a family xt t X displaystyle left x t right t in X where X displaystyle X is indexed by itself meaning that f displaystyle f is the identity function However families differ from sets in that the same object can appear multiple times with different indices in a family whereas a set is a collection of distinct objects A family contains any element exactly once if and only if the corresponding function is injective An indexed family xi i I displaystyle left x i right i in I defines a set X xi i I displaystyle mathcal X x i i in I that is the image of I displaystyle I under f displaystyle f Since the mapping f displaystyle f is not required to be injective there may exist i j I displaystyle i j in I with i j displaystyle i neq j such that xi xj displaystyle x i x j Thus X I displaystyle mathcal X leq I where A displaystyle A denotes the cardinality of the set A displaystyle A For example the sequence 1 i i N displaystyle left 1 i right i in mathbb N indexed by the natural numbers N 1 2 3 displaystyle mathbb N 1 2 3 ldots has image set 1 i i N 1 1 displaystyle left 1 i i in mathbb N right 1 1 In addition the set xi i I displaystyle x i i in I does not carry information about any structures on I displaystyle I Hence by using a set instead of the family some information might be lost For example an ordering on the index set of a family induces an ordering on the family but no ordering on the corresponding image set Indexed subfamily An indexed family Bi i J displaystyle left B i right i in J is a subfamily of an indexed family Ai i I displaystyle left A i right i in I if and only if J displaystyle J is a subset of I displaystyle I and Bi Ai displaystyle B i A i holds for all i J displaystyle i in J ExamplesIndexed vectors For example consider the following sentence The vectors v1 vn displaystyle v 1 ldots v n are linearly independent Here vi i 1 n displaystyle left v i right i in 1 ldots n denotes a family of vectors The i displaystyle i th vector vi displaystyle v i only makes sense with respect to this family as sets are unordered so there is no i displaystyle i th vector of a set Furthermore linear independence is defined as a property of a collection it therefore is important if those vectors are linearly independent as a set or as a family For example if we consider n 2 displaystyle n 2 and v1 v2 1 0 displaystyle v 1 v 2 1 0 as the same vector then the set of them consists of only one element as a set is a collection of unordered distinct elements and is linearly independent but the family contains the same element twice since indexed differently and is linearly dependent same vectors are linearly dependent Matrices Suppose a text states the following A square matrix A displaystyle A is invertible if and only if the rows of A displaystyle A are linearly independent As in the previous example it is important that the rows of A displaystyle A are linearly independent as a family not as a set For example consider the matrix A 1111 displaystyle A begin bmatrix 1 amp 1 1 amp 1 end bmatrix The set of the rows consists of a single element 1 1 displaystyle 1 1 as a set is made of unique elements so it is linearly independent but the matrix is not invertible as the matrix determinant is 0 On the other hands the family of the rows contains two elements indexed differently such as the 1st row 1 1 displaystyle 1 1 and the 2nd row 1 1 displaystyle 1 1 so it is linearly dependent The statement is therefore correct if it refers to the family of rows but wrong if it refers to the set of rows The statement is also correct when the rows is interpreted as referring to a multiset in which the elements are also kept distinct but which lacks some of the structure of an indexed family Other examples Let n displaystyle mathbf n be the finite set 1 2 n displaystyle 1 2 ldots n where n displaystyle n is a positive integer An ordered pair 2 tuple is a family indexed by the set of two elements 2 1 2 displaystyle mathbf 2 1 2 each element of the ordered pair is indexed by an element of the set 2 displaystyle mathbf 2 An n displaystyle n tuple is a family indexed by the set n displaystyle mathbf n An infinite sequence is a family indexed by the natural numbers A list is an n displaystyle n tuple for an unspecified n displaystyle n or an infinite sequence An n m displaystyle n times m matrix is a family indexed by the Cartesian product n m displaystyle mathbf n times mathbf m which elements are ordered pairs for example 2 5 displaystyle 2 5 indexing the matrix element at the 2nd row and the 5th column A net is a family indexed by a directed set Operations on indexed familiesIndex sets are often used in sums and other similar operations For example if ai i I displaystyle left a i right i in I is an indexed family of numbers the sum of all those numbers is denoted by i Iai displaystyle sum i in I a i When Ai i I displaystyle left A i right i in I is a family of sets the union of all those sets is denoted by i IAi displaystyle bigcup i in I A i Likewise for intersections and Cartesian products Usage in category theoryThe analogous concept in category theory is called a diagram A diagram is a functor giving rise to an indexed family of objects in a category C indexed by another category J and related by morphisms depending on two indices See alsoArray data type Data type that represents an ordered collection of elements values or variables Pages displaying short descriptions of redirect targets Coproduct Category theoretic construction Diagram category theory Indexed collection of objects and morphisms in a category Disjoint union In mathematics operation on sets Family of sets Any collection of sets or subsets of a set Index notation Manner of referring to elements of arrays or tensors Net mathematics A generalization of a sequence of points Parametric family family of objects whose definitions depend on a set of parametersPages displaying wikidata descriptions as a fallback Sequence Finite or infinite ordered list of elements Tagged union Data structure used to hold a value that could take on several different but fixed typesReferencesMathematical Society of Japan Encyclopedic Dictionary of Mathematics 2nd edition 2 vols Kiyosi Ito ed MIT Press Cambridge MA 1993 Cited as EDM volume