Linear algebra (Osnabrück 2024-2025)/Part I/Lecture 1/latex
\setcounter{section}{1}
\subtitle {Sets}
Mathematics in the scientific sense is formulated in the language of sets.
\image{ \begin{center}
\includegraphics[width=5.5cm]{\imageinclude {Georg_Cantor.jpg} }
\end{center}
\imagetext {Georg Cantor (1845-1918) is the creator of set theory.} }
\imagelicense { Georg Cantor 1894.jpg } {} {Taxiarchos228} {Commons} {PD} {}
\image{ \begin{center}
\includegraphics[width=5.5cm]{\imageinclude {David_Hilbert_1886.jpg } }
\end{center}
\imagetext {David Hilbert (1862-1943) has called set theory a
\emphasize{paradise}{,} from where mathematicians should never be expelled.} }
\imagelicense { David Hilbert 1886.jpg } {} {} {Commons} {PD} {}
A \keyword {set} {} is a collection of distinct objects, which are called the \keyword {elements} {} of the set. By distinct, we mean that it is clear which objects are considered to be equal, and which are considered to be different. The \keyword {containment} {} of an element $x$ to a set $M$ is expressed by
\mathrelationchaindisplay
{\relationchain
{x
}
{ \in} {M
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{,}
the noncontainment by
\mathrelationchaindisplay
{\relationchain
{x
}
{ \notin} { M
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
For every element, exactly one of these possibilities holds.
An important principle for sets is the \keyword {principle of extensionality} {,} i.e., a set is determined by the elements it contains; beyond that, it bears no further information. In particular, two sets coincide if they contain the same elements.
The set that does not contain any element is called the \keyword {empty set} {,} and is denoted by
\mathdisp {\emptyset} { . }
A set $N$ is called a \keyword {subset} {} of a set $M$ if every element from $N$ does also belong to $M$. For this relation, we write
\mathrelationchain
{\relationchain
{N
}
{ \subseteq }{M
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{}
\extrabracket {some people write
\mathrelationchain
{\relationchain
{ N
}
{ \subset }{ M
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{}
for this} {} {.}
One also says that the \keyword {inclusion} {}
\mathrelationchain
{\relationchain
{ N
}
{ \subseteq }{ M
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{}
holds. The subset relation
\mathrelationchain
{\relationchain
{ N
}
{ \subseteq }{ M
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{}
is a statement using \quotationshort{for all}{,} as it makes a claim about all elements from $N$. If we want to show
\mathrelationchain
{\relationchain
{ N
}
{ \subseteq }{ M
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{,}
then we have to show for an arbitrary element
\mathrelationchain
{\relationchain
{ x
}
{ \in }{ N
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{}
that also the containment
\mathrelationchain
{\relationchain
{ x
}
{ \in }{ M
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{}
holds
\extrafootnote {In the language of predicate logic, an inclusion is the statement $\forall x(x \in N \rightarrow x \in M)$} {.} {.}
In order to show this, we are only allowed to use the property
\mathrelationchain
{\relationchain
{ x
}
{ \in }{ N
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{.}
Due to the principle of extensionality, we have the following important \keyword {equality principle for sets} {,} saying that
\mathdisp {M = N \text{ if and only if } N \subseteq M \text{ and } M \subseteq N} { }
holds. In mathematical praxis, this means that the equality of two sets is established by proving the two inclusions
\extrabracket {in two independent steps} {} {.}
This also has the cognitive advantage that the reasoning gets a direction; it is always clear which conditions can be used and where to go. This principle is analogous to the principle from propositional logic that an equivalence between two statements means both implications, and is best shown by proving the two implications.
\subtitle {Possible descriptions for sets}
There are several ways to describe a set. The easiest one is to just list the elements of the set, here the order of the listing is not important. For finite sets, this is possible; however, for infinite sets, one has to describe a \quotationshort{construction rule}{} for the elements.
The most important set given by an infinite listing is the set of natural numbers
\mathrelationchaindisplay
{\relationchain
{ \N
}
{ =} { \{ 0,1,2,3, \ldots \}
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
Here, a certain set of numbers is described by the first elements in the hope that this indicates how the listing goes on and which numbers belong to the set. An important point is that $\N$ is not a set of certain digits, but the set of values represented by these digits or sequences of digits. For a natural number, there are many possibilities to represent it, the decimal expansion is just one of them.
We discuss now the description of sets by properties. Let a set $M$ and a certain property $E$
\extrabracket {a predicate} {} {}
be given, such that the property can be applied to the elements of $M$. Hence, for the property $E$, we have in $M$ the subset consisting of all the elements from $M$ which fulfil this property. We write for this subset given by $E$
\mathrelationchaindisplay
{\relationchain
{ { \left\{ x \in M \mid E(x) \right\} }
}
{ =} { { \left\{ x \in M \mid x \text{ fulfils property } E \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
This only works for such properties for which the statement \mathl{E(x)}{} is well-defined for every
\mathrelationchain
{\relationchain
{ x
}
{ \in }{ M
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{.}
If one introduces such a subset, then one gives a name to it, which often reflects the name of the property, like
\mathrelationchaindisplay
{\relationchain
{ E
}
{ =} { { \left\{ x \in \N \mid x \text{ is even} \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{,}
\mathrelationchaindisplay
{\relationchain
{O
}
{ =} { { \left\{ x \in \N \mid x \text{ is odd} \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{,}
\mathrelationchaindisplay
{\relationchain
{ S
}
{ =} { { \left\{ x \in \N \mid x \text{ is a square number} \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{,}
\mathrelationchaindisplay
{\relationchain
{ { \mathbb P }
}
{ =} { { \left\{ x \in \N \mid x \text{ is a prime number} \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
For the sets occurring in mathematics, a multitude of mathematical properties is relevant, and, therefore, there is a multitude of relevant subsets. But also in the sets of everyday life like the set $C$ of the students in a course, there are many important properties which determine certain subsets, like
\mathrelationchaindisplay
{\relationchain
{ O
}
{ =} { { \left\{ x \in C \mid x \text{ lives in Osnabr}\ddot {\rm u}\text{ck} \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{,}
\mathrelationchaindisplay
{\relationchain
{ P
}
{ =} { { \left\{ x \in C \mid x \text{ studies physics} \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{,}
\mathrelationchaindisplay
{\relationchain
{ D
}
{ =} { { \left\{ x \in C \mid x \text{ has birthday in December} \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
The set $C$ itself is also given by a property, since
\mathrelationchaindisplay
{\relationchain
{ C
}
{ =} { { \left\{ x \mid x \text{ is a student in the course} \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
The following example of a set is typical for the sets which we will encounter in this course.
\inputexample{}
{
We consider the set
\mathrelationchaindisplay
{\relationchain
{E
}
{ =} { { \left\{ \begin{pmatrix} x \\y\\ z \end{pmatrix} \in \R^3 \mid 5x-y+3z = 0 \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
This is the subset inside $\R^3$ containing all those points with coordinates \mathl{\begin{pmatrix} x \\y\\ z \end{pmatrix}}{} fulfilling the condition
\mathrelationchaindisplay
{\relationchain
{ 5x-y+3z
}
{ =} { 0
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
This condition has a clear meaning for every point \mathl{\begin{pmatrix} x \\y\\ z \end{pmatrix}}{,} it can be true or false. Hence, this is a well-defined subset. For example, the points
\mathcor {} {\begin{pmatrix} 0 \\0\\ 0 \end{pmatrix}} {and} {\begin{pmatrix} 2 \\-3\\ - { \frac{ 13 }{ 3 } } \end{pmatrix}} {}
belong to the set, the point \mathl{\begin{pmatrix} 2 \\4\\ 0 \end{pmatrix}}{} does not belong to the set. If we want to check for a point \mathl{\begin{pmatrix} x \\y\\ z \end{pmatrix}}{} whether it belongs to $E$, we just have to check the condition. In this respect, the given description of $E$ is very good. If instead we would like to have a good overview of $E$ as a whole, then this description is not so convincing. We claim that $E$ coincides with the set
\mathrelationchaindisplay
{\relationchain
{ E'
}
{ =} { { \left\{ r \begin{pmatrix} 3 \\0\\ -5 \end{pmatrix} + s \begin{pmatrix} 0 \\3\\ 1 \end{pmatrix} \mid r,s \in \R \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
This second description presents the set as the set of all elements that can be built in a certain way, namely as a
\emphasize{linear combination}{} of the points
\mathcor {} {\begin{pmatrix} 3 \\0\\ -5 \end{pmatrix}} {and} {\begin{pmatrix} 0 \\3\\ 1 \end{pmatrix}} {}
with arbitrary real coefficients. The advantage of this description is that one gets immediately an overview of all its elements. For example, it is clear that it contains infinitely many elements. However, in this description, it is more difficult to decide whether a given element belongs to the set or not.
In order to show that both sets are identical, we have to show
\mathcor {} {E \subseteq E'} {and} {E' \subseteq E} {.}
For the first inclusion, let
\mathrelationchain
{\relationchain
{ P
}
{ = }{ \begin{pmatrix} x \\y\\ z \end{pmatrix}
}
{ \in }{ E
}
{ }{
}
{ }{
}
}
{}{}{.}
Then
\mathrelationchaindisplay
{\relationchain
{ \begin{pmatrix} x \\y\\ z \end{pmatrix}
}
{ =} { { \frac{ x }{ 3 } } \begin{pmatrix} 3 \\0\\ -5 \end{pmatrix} + { \frac{ y }{ 3 } } \begin{pmatrix} 0 \\3\\ 1 \end{pmatrix}
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
Here, the equality in the first and in the second component is clear, and the equality in the third component is a reformulation of the starting equation
\mathrelationchaindisplay
{\relationchain
{ 5x-y+3z
}
{ =} { 0
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
Taking
\mathrelationchain
{\relationchain
{r
}
{ = }{ { \frac{ x }{ 3 } }
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{}
and
\mathrelationchain
{\relationchain
{s
}
{ = }{ { \frac{ y }{ 3 } }
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{,}
we see that
\mathrelationchain
{\relationchain
{ P
}
{ \in }{ E'
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{.}
Now suppose that
\mathrelationchain
{\relationchain
{ P
}
{ = }{\begin{pmatrix} x \\y\\ z \end{pmatrix}
}
{ \in }{ E'
}
{ }{
}
{ }{
}
}
{}{}{.}
This means that there is a representation
\mathrelationchaindisplay
{\relationchain
{P
}
{ =} { \begin{pmatrix} x \\y\\ z \end{pmatrix}
}
{ =} { r \begin{pmatrix} 3 \\0\\ -5 \end{pmatrix} + s \begin{pmatrix} 0 \\3\\ 1 \end{pmatrix}
}
{ =} { \begin{pmatrix} 3r \\3s \\ -5r +s \end{pmatrix}
}
{ } {
}
}
{}{}{}
with some real numbers
\mathrelationchain
{\relationchain
{ r,s
}
{ \in }{\R
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{.}
In order to show that this point belongs to $E$, we have to show that it fulfills the defining equation of $E$. But this is clear because of
\mathrelationchaindisplay
{\relationchain
{ 5 x-y+3z
}
{ =} { 5(3r) -3s +3 (-5r+s)
}
{ =} { 0
}
{ } {
}
{ } {
}
}
{}{}{.}
}
\subtitle {Set operations}
Similar to the construction of new statements from given statements by connecting them with logical connectives, there are operations to make new sets from old ones. The most important operations are the following:\extrafootnote {It is easy to memorize the symbols: the $\cup$ for union looks like u. The intersection is written as $\cap$. The corresponding logical operations or, and have the analogous forms $\vee$ and $\wedge$, respectively} {.} {}
\enumerationthree {\keyword {Union} {}
\mathrelationchaindisplay
{\relationchain
{A \cup B
}
{ \defeq} { { \left\{ x \mid x \in A \text{ or } x \in B \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
} {\keyword {Intersection} {}
\mathrelationchaindisplay
{\relationchain
{ A \cap B
}
{ \defeq} { { \left\{ x \mid x \in A \text{ and } x \in B \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
} {\keyword {Difference set} {}
\mathrelationchaindisplay
{\relationchain
{ A \setminus B
}
{ \defeq} { { \left\{ x \mid x \in A \text{ and } x \notin B \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
}
For these operations to make sense, the sets need to be subsets of a common basic set. This ensures that we are talking about the same elements. Quite often, this basic set is not mentioned explicitly and has to be understood from the context. A special case of the difference set is the \keyword {complement} {} of a subset
\mathrelationchain
{\relationchain
{A
}
{ \subseteq }{G
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{}
in a given set $G$, also denoted as
\mathrelationchaindisplay
{\relationchain
{ \complement A
}
{ \defeq} { G \setminus A
}
{ =} { { \left\{ x \in G \mid x \not\in A \right\} }
}
{ } {
}
{ } {
}
}
{}{}{.}
If two sets have an empty intersection, meaning
\mathrelationchain
{\relationchain
{ A \cap B
}
{ = }{ \emptyset
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{,}
we also say that they are \definitionword {disjoint}{.}
\inputexample{}
{
We consider the sets
\mathrelationchaindisplay
{\relationchain
{ E
}
{ =} { { \left\{ \begin{pmatrix} x \\y\\ z \end{pmatrix} \in \R^3 \mid 5x-y+3z = 0 \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{}
\extrabracket {from
Example 1.1
} {} {}
and
\mathrelationchaindisplay
{\relationchain
{F
}
{ =} { { \left\{ \begin{pmatrix} x \\y\\ z \end{pmatrix} \in \R^3 \mid 4x +2y-7 z = 0 \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{,}
and we are interested in the intersection
\mathrelationchaindisplay
{\relationchain
{G
}
{ \defeq} {E \cap F
}
{ =} { { \left\{ \begin{pmatrix} x \\y\\ z \end{pmatrix} \in \R^3 \mid 5x-y+3z = 0 \text{ and } 4x +2y-7 z = 0 \right\} }
}
{ } {
}
{ } {
}
}
{}{}{.}
A point lies in this intersection if and only if it fulfills both conditions, that is, both equations
\extrabracket {let us call them
\mathcor {} {I} {and} {II} {}} {} {.}
Does there exist a \quotationshort{simpler}{} description of this intersection set? A point that fulfills both equations does also fulfill the equation that arises when we add the equations together, or when we multiply the equation with a number
\mathrelationchain
{\relationchain
{ s
}
{ \in }{ \R
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{.}
Such a
\emphasize{linear combination}{} of the equations is, for example,
\mathrelationchaindisplay
{\relationchain
{ 4 I -5 II
}
{ =} { -14 y + 47 z
}
{ =} { 0
}
{ } {
}
{ } {
}
}
{}{}{.}
Therefore,
\mathrelationchainalign
{\relationchainalign
{G
}
{ =} { { \left\{ \begin{pmatrix} x \\y\\ z \end{pmatrix} \in \R^3 \mid 5x-y+3z = 0 \text{ and } 4x +2y-7 z = 0 \right\} }
}
{ =} { { \left\{ \begin{pmatrix} x \\y\\ z \end{pmatrix} \in \R^3 \mid 5x-y+3z = 0 \text{ and } -14 y + 47 z = 0 \right\} }
}
{ } {
}
{ } {
}
}
{}
{}{,}
since we can reconstruct the original second equation from the new second equation and vice versa. Hence, the conditions are equivalent. The advantage of the second description is that the variable $x$ does not occur in the new second equation; it has been
\emphasize{eliminated}{.} Therefore, we can resolve with respect to $y$, and we obtain
\mathrelationchaindisplay
{\relationchain
{y
}
{ =} { { \frac{ 47 }{ 14 } } z
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
For $x$, we must have
\mathrelationchaindisplay
{\relationchain
{x
}
{ =} { { \frac{ 1 }{ 5 } } y - { \frac{ 3 }{ 5 } } z
}
{ =} { { \frac{ 1 }{ 5 } } \cdot { \frac{ 47 }{ 14 } } z - { \frac{ 3 }{ 5 } } z
}
{ =} { { \frac{ 47 }{ 70 } } z - { \frac{ 42 }{ 70 } } z
}
{ =} { { \frac{ 1 }{ 14 } } z
}
}
{}{}{.}
Also, these two resolved equations are together equivalent with the original equations, and, therefore, we have
\mathrelationchaindisplay
{\relationchain
{ G
}
{ =} { { \left\{ \begin{pmatrix} { \frac{ 1 }{ 14 } } z \\ { \frac{ 47 }{ 14 } } z\\ z \end{pmatrix} \mid z \in \R \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
This description yields a more explicit overview of the set $G$.
}
\subtitle {Constructions of sets}
Most relevant sets in mathematics arise from some basic sets like finite sets or $\N$ by certain constructions\extrafootnote {This includes also the intersection and the union of sets, but these constructions stay inside a given fixed set. Here, we mean constructions that transcend the given sets} {.} {.}
We define\extrafootnote {In mathematics, definitions are usually presented as such and get a number so that it is easy to refer to them. The definition contains the description of a situation where only concepts are used that have been defined before. In this situation, a new concept together with a name for it is introduced. This name is printed in a certain font, typically in
\emphasize{italic}{.} The new concept can be formulated without the new name; the new name is an abbreviation for the new concept. Quite often, the concepts depend on parameters, like the product set depends on its component sets. The names are often chosen arbitrarily; the meaning of the word within the mathematical context can be understood only via the explicit definition and not via its meaning in everyday life.} {} {.}
\inputdefinition
{ }
{
Suppose that two sets
\mathcor {} {L} {and} {M} {}
are given. Then the set
\mathrelationchaindisplay
{\relationchain
{ L \times M
}
{ =} { { \left\{ (x,y) \mid x \in L , \, y \in M \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{}
is called the \definitionword {product set}{}
}
\image{ \begin{center}
\includegraphics[width=5.5cm]{\imageinclude {SquareLattice.svg} }
\end{center}
\imagetext {} }
\imagelicense { SquareLattice.svg } {} {Jim.belk} {Commons} {PD} {}
The elements of a product set are called \keyword {pairs} {} and denoted by \mathl{(x,y)}{.} Here the ordering is essential. The product set consists of all pair combinations, where in the first \keyword {component} {} there is an element of the first set and in the second component there is an element of the second set. Two pairs are equal if and only if they are equal in both components.
It is possible that both sets are equal, like $\R \times \R$, the real plane. Then one has to be careful not to confuse the components. If one of the sets is empty, then so is the product set. If both sets are finite, say the first with $n$ elements and the second with $k$ elements, then the product set has \mathl{n \cdot k}{} elements. It is also possible to form the product set of more than two sets.
\inputexample{}
{
Let $F$ be the set of all first names, and $L$ be the set of all last names. Then
\mathdisp {F \times L} { }
is the set of all names. The elements of this set are, in pair notation, \mathl{(\text{Heinz},\text{Miller})}{,} \mathl{(\text{Petra}, \text{Miller})}{} and \mathl{(\text{Lucy},\text{Sonnenschein})}{.} From a name, one can easily deduce the first name and the last name by looking at the first or the second component. Even if all first names and all last names do really occur, not every combination of a first name and a last name does occur. For the product set, all possible combinations are allowed.
}
\inputexample{}
{
\image{ \begin{center}
\includegraphics[width=5.5cm]{\imageinclude {Chess board blank.svg} }
\end{center}
\imagetext {} }
\imagelicense { Chess board blank.svg } {} {Beao} {Commons} {CC-by-sa 3.0} {}
A chess board
\extrabracket {meaning the set of squares of a chess board where a chess piece may stand} {} {}
is the
product set
\mathdisp {\{a,b,c,d,e,f,g,h\} \times\{1,2,3,4,5,6,7,8\}} { . }
Every square is a pair, e.g., \mathl{(a,1), (d,4), (c,7)}{.} Because the two component sets are different, one may write instead of pair notation simply \mathl{a1,d4,c7}{.} This notation is the starting point to describe chess positions and complete chess games.
}
When two geometric point sets \mathcor {} {A} {and} {B} {} are given, for example, as subsets of a plane $E$, then we can consider the product set \mathl{A\times B}{} as a subset of \mathl{E \times E}{.} By this procedure, we get a new geometric object, which sometimes might be realized in a smaller dimension.
\inputexample{}
{
\image{ \begin{center}
\includegraphics[width=5.5cm]{\imageinclude {Geometri_cylinder.png} }
\end{center}
\imagetext {The cylinder (its surface) is the product set of a circle and a line segment.} }
\imagelicense { Geometri cylinder.png } {} {Anp} {sv Wikipedia} {PD} {}
Let $S$ denote a circle
\extrabracket {the circumference} {} {,}
and let $I$ be a line segment. The circle is a subset of a plane $E$, and the line segment is a subset of a line $G$, so that for the product sets, we have the relation
\mathrelationchaindisplay
{\relationchain
{ S \times I
}
{ \subseteq} { E \times G
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
The product set \mathl{E \times G}{} is the three-dimensional space, and the product set \mathl{S \times I}{} is the surface of a cylinder.
}
Another important construction, to get from a set a new set, is the power set.
\inputdefinition
{ }
{
For a given set $M$, the set consisting of all subsets of $M$ is called the \definitionword {power set}{} of $M$. It is denoted by
\mathdisp {\mathfrak {P} \, (M )} { . }
}
We have thus
\mathrelationchaindisplay
{\relationchain
{ \mathfrak {P} \, ( M )
}
{ =} { { \left\{ T \mid T \text{ is subset of } M \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
If $M$ denotes the set of all people in the course, then one can think of a subset as a party
\extrabracket {within the course} {} {,}
where some people go to
\extrabracket {we identify parties with the attending people} {} {.}
The power set is then the set of all possible parties. If the set has $n$ elements, then the power set contains $2^n$ elements.
\subtitle {Tuples, vectors, matrices}
Important product sets are
\mathrelationchain
{\relationchain
{\R^2
}
{ = }{ \R \times \R
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{}
and
\mathrelationchain
{\relationchain
{\R^3
}
{ = }{ \R \times \R \times \R
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{.}
The ordering of the elements is essential. In general, for a set $M$ and some
\mathrelationchain
{\relationchain
{ n
}
{ \in }{ \N
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{,}
we denote the $n$-th fold product set of $M$ with itself as
\mathrelationchaindisplay
{\relationchain
{ M^n
}
{ =} { \underbrace{M \times \cdots \times M}_{n \text{ times} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
The elements have the form
\mathdisp {\left( x_1,x_2 , \ldots , x_n \right)} { , }
where every $x_i$ is from $M$. Such an ordered finite sequence of $n$ elements is also called an $n$-\keyword {tuple} {} over $M$. For
\mathrelationchain
{\relationchain
{n
}
{ = }{2
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{,}
it is called a \keyword {pair} {,} for
\mathrelationchain
{\relationchain
{n
}
{ = }{3
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{,}
it is called a \keyword {triple} {.} For
\mathrelationchaindisplay
{\relationchain
{ x
}
{ =} { \left( x_1,x_2 , \ldots , x_n \right)
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{,}
the element \mathl{x_i}{} is called the $i$-th \keyword {component} {} or the $i$-th entry of the tuple. In this context, the $i$ is called the \keyword {index} {} of the tuple, and \mathl{\{ 1 , \ldots , n \}}{} is called the \keyword {index set} {} of the tuple.
More generally, for every index set $I$, there exist $I$-\keyword {tuples} {.} In such an $I$-tuple, to every index
\mathrelationchain
{\relationchain
{ i
}
{ \in }{ I
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{}
some mathematical object is assigned; the tuple is often written as
\mathcond {x_i} {}
{i \in I} {}
{} {} {} {.}
If all $x_i$ are from one set $M$, then we call this an $I$-tuple from $M$. For
\mathrelationchain
{\relationchain
{ I
}
{ = }{ \N
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{,}
we call this a \keyword {sequence} {} in $M$.
A finite index set can always be replaced by a set of the form \mathl{\{ 1 , \ldots , n \}}{}
\extrabracket {this procedure is called a numbering of the index set} {} {,}
but this is not always useful. If we start with the index set
\mathrelationchaindisplay
{\relationchain
{ I
}
{ =} { \{ 1 , \ldots , n \}
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{}
and if we are interested in a certain subset
\mathrelationchain
{\relationchain
{ J
}
{ \subseteq }{ I
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{,}
then it is natural to stick to the original notation from $I$ instead of introducing a new numbering \mathl{\{ 1 , \ldots , m \}}{} for $J$. Quite often, there is a \quotationshort{natural}{} index set for a certain problem that represents a part of the structure of the problem
\extrabracket {and is easier to remember} {} {.}
An $n$-tuple over a set $M$ of the form
\mathdisp {\left( a_1 , \, \ldots , \, a_n \right)} { }
is also called a \keyword {row tuple} {}
\extrabracket {of length $n$} {} {,}
and an $n$-tuple of the form
\mathdisp {\begin{pmatrix} a_1 \\\vdots\\ a_n \end{pmatrix}} { }
is called a \keyword {column tuple} {.} These are just two different ways to represent the tuple, but if the tuple represents some structure
\extrabracket {like a vector, to which a matrix
\extrabracket {see below} {} {}
shall be applied} {} {,}
then this difference is relevant.
When
\mathcor {} {I} {and} {J} {}
are two sets and \mathl{I \times J}{} is their product set, then we can express an \mathl{I \times J}{-}tuple in $M$ as a \quotationshort{table}{,} that assigns to every pair \mathl{(i,j)}{} an element
\mathrelationchain
{\relationchain
{ a_{ij}
}
{ \in }{ M
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{.}
In particular, for
\mathcor {} {I = \{ 1 , \ldots , m \}} {and} {J = \{ 1 , \ldots , n \}} {,}
we call an \mathl{I \times J}{-}tuple also an $m \times n$-\keyword {matrix} {,} and write this as
\mathdisp {\begin{pmatrix} a_{11} & a_{12} & \ldots & a_{1n} \\ a_{21} & a_{22} & \ldots & a_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ a_{m1} & a_{m2} & \ldots & a_{mn} \end{pmatrix}} { . }
The row tuple
\mathdisp {\left( a_{i1} , \, a_{i2} , \, \ldots , \, a_{in} \right)} { }
is called the $i$-th \keyword {row of the matrix} {,} and
\mathdisp {\begin{pmatrix} a_{1j} \\a_{2j}\\ \vdots\\a_{mj} \end{pmatrix}} { }
is called the $j$-th \keyword {column of the matrix} {.}
\subtitle {Set families}
Not only elements but also sets can be indexed by an index set. This is called a family of sets.
\inputdefinition
{ }
{
Let $I$ be a set, and let, for every
\mathrelationchain
{\relationchain
{ i
}
{ \in }{I
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{,}
a set $M_i$ be given. Such a situation is called a \definitionword {family of sets}{}
\mathconddisplay {M_i} {,}
{i \in I} {}
{} {} {} {.}
}
Here, the sets might be independent of each other, but they can also be subsets of a certain set.
\inputdefinition
{ }
{
Let
\mathcond {M_i} {}
{i \in I} {}
{} {} {} {,}
be a
family of subsets
of a set $G$. Then
\mathrelationchaindisplay
{\relationchain
{ \bigcap_{i \in I} M_i
}
{ =} { { \left\{ x \in G \mid x \in M_i \text{ for all } i \in I \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{}
is called the \definitionword {intersection}{} of the sets, and
\mathrelationchaindisplay
{\relationchain
{ \bigcup_{i \in I} M_i
}
{ =} { { \left\{ x \in G \mid \text{ there exists some } i \in I \text{ with } x \in M_i \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{}
}
\inputdefinition
{ }
{
Let $I$ be a set, and let, for every
\mathrelationchain
{\relationchain
{ i
}
{ \in }{I
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{,}
a set $M_i$ be given. Then the set
\mathrelationchaindisplay
{\relationchain
{ M
}
{ =} { \prod_{i \in I} M_i
}
{ =} { \{ (x_i)_{ i \in I} :\, x_i \in M_i \text{ for all } i \in I \}
}
{ } {
}
{ } {
}
}
{}{}{}
}
As soon as one of the sets $M_i$ is empty, then also the product is empty, because then there is no possible value for the $i$-th component. However, if all sets $M_i$ are not empty, then also their product is not empty, as for every index $i$, there exists at least one element
\mathrelationchain
{\relationchain
{ x_i
}
{ \in }{M_i
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{.}
In a formal-axiomatic introduction of set theory, one has to postulate that such a choice is possible. This is the content of the \keyword {axiom of choice} {.}
\inputexample{}
{
For
\mathrelationchain
{\relationchain
{ n
}
{ \in }{ \N
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{,}
let
\mathrelationchaindisplay
{\relationchain
{ M_n
}
{ =} { { \left\{ x \in \N \mid x \geq n \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{}
be the set of all natural numbers that are at least as large as $n$. This is a family of subsets of $\N$ indexed by the natural numbers. We have the inclusions
\mathdisp {M_n \subseteq M_m \text{ for } n \geq m} { . }
The intersection
\mathdisp {\bigcap_{n \in \N} M_n} { }
is empty because there is no natural number that is above every other natural number.
}
\inputexample{}
{
For
\mathrelationchain
{\relationchain
{ n
}
{ \in }{ \N_+
}
{ }{
}
{ }{
}
{ }{
}
}
{}{}{,}
let
\mathrelationchaindisplay
{\relationchain
{ \N n
}
{ =} { { \left\{ x \in \N_+ \mid x \text{ is a multiple of } n \right\} }
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{}
be the set of all positive natural numbers that are multiples of $n$. This is a family of subsets of $\N$ indexed by the positive natural numbers. We have the inclusions
\mathdisp {\N n \subseteq \N m \text{ for } m \text{ divides } n} { . }
The intersection
\mathdisp {\bigcap_{n \in \N_+} \N n} { }
is empty because no positive natural number is a multiple of every positive natural number
\extrabracket {$0$ is such a multiple} {} {.}
}
\inputexample{}
{
Let $x$ be a real number, and let $x_n$ denote the rational number that consists of the digits of $x$ in the decimal system up to the $n$th digit after the point. We define the intervals
\mathrelationchaindisplay
{\relationchain
{ M_n
}
{ =} { \left[x_n, x_n + { \left( \frac{1}{10} \right) }^n \right]
}
{ \subset} { \R
}
{ } {
}
{ } {
}
}
{}{}{.}
These are intervals of length ${ \left( \frac{1}{10} \right) }^n$, and we have
\mathrelationchaindisplay
{\relationchain
{ \{x \}
}
{ =} { \bigcap_{n \in \N} M_n
}
{ } {
}
{ } {
}
{ } {
}
}
{}{}{.}
The family
\mathcond {M_n} {}
{n \in \N} {}
{} {} {} {,}
is a family of \keyword {nested intervals} {} for $x$.
}