1
Aug 18

Basis and dimension

Basis and dimension

Definition 1. We say that vectors $latex x^{(1)},...,x^{(m)}$ form a basis in a subspace $latex L$ if 1) it is spanned by $latex x^{(1)},...,x^{(m)}$ and 2) these vectors are linearly independent. The number of vectors in the basis is called a dimension of $latex L$ and the notation is $latex \dim L.$

An orthogonal basis is a special type of a basis, when in addition to the above conditions 1)-2) the basis vectors are orthonormal. For the dimension definition to be correct, the number of vectors in any basis should be the same. We prove correctness in a separate post.

Exercise 1. In $latex R^n$ the unit vectors are linearly independent. Prove this fact 1) directly and 2) using the properties of an orthonormal system.

Direct proof. Any $latex x\in R^n$ can be represented as

(1) $latex x=x_1e_1+...+x_ne_n.$

If the right side is zero, then $latex x=0$ and all $latex x_i$ are zero.

Proof using orthonormality.  If the right side in (1) is zero, then $latex x_i=x\cdot e_i=0$ for all $latex i.$

Exercise 2. $latex \dim R^{n}=n.$

Proof. (1) shows that $latex R^n$ is spanned by $latex e_1,...,e_n.$ Besides, they are linearly independent by Exercise 1.

Definition 2. Let $latex L_1,\ L_2$ be two subspaces such that any element of one is orthogonal to any element of the other. Then the set $latex {x_1+x_2:x_1\in L_1,\ x_2\in L_2}$ is called an orthogonal sum of $latex L_1,\ L_2$ and denoted $latex L=L_1\oplus L_2.$

Exercise 3. If a vector $latex x$ belongs to both terms in the orthogonal sum of two subspaces $latex L=L_1\oplus L_2,$ then it is zero. This means that $latex L_1\cap L_2={0}.$

Proof. This is because any element of $latex L_1$ is orthogonal to any element of $latex L_2,$ so $latex x$ is orthogonal to itself, $latex 0=x\cdot x=|x|^2$ and $latex x=0.$

Exercise 4 (dimension additivity) Let $latex L=L_1\oplus L_2$ be an orthogonal sum of two subspaces. Then $latex \dim L=\dim L_1+\dim L_2.$

Proof. Let $latex l_i=\dim L_i,$ $latex i=1,2.$ By definition, $latex L_1$ is spanned by some linearly independent vectors $latex y^{(1)},...,y^{(l_{1})}$ and $latex L_2$ is spanned by some linearly independent vectors $latex z^{(1)},...,z^{(l_{2})}.$ Any $latex x\in L$ can be decomposed as $latex x=y+z,$ $latex y\in L_1,$ $latex z\in L_2.$ Since $latex y,z$ can be further decomposed as $latex y=\sum_{i=1}^{l_1}a_iy^{(i)},$ $latex z=\sum_{i=1}^{l_2}b_iz^{(i)},$ the system $latex y^{(1)},...,y^{(l_1)}, z^{(1)},...,z^{(l_2)}$ spans $latex L.$

Moreover, this system is linearly independent. If

$latex \sum_{i=1}^{l_1}a_iy^{(i)}+\sum_{i=1}^{l_2}b_iz^{(i)}=0,$

then

$latex L_1\ni\sum_{i=1}^{l_1}a_iy^{(i)}=-\sum_{i=1}^{l_2}b_iz^{(i)}\in L_2.$

By Exercise 3 then $latex \sum_{i=1}^{l_1}a_iy^{(i)}=0,$ $latex \sum_{i=1}^{l_2}b_iz^{(i)}=0.$ By linear independence of the vectors in the two systems all coefficients $latex a_i,b_i$ must be zero.

The conclusion is that $latex \dim L=l_1+l_2.$


← Previous: Linear dependence of vectors: definition and principal result | Next: Correctness of the space dimension definition →

Leave a Reply

You must be logged in to post a comment.