logo

Dimension of the Vector Space 📂Linear Algebra

Dimension of the Vector Space

Definition1

The number of elements (vectors) of a basis for a vector space VV is defined as the dimension of VV and is denoted as follows.

dim(V) \dim (V)

Explanation

Such a generalization of dimensions goes beyond merely exploring vector spaces and is being applied to various technologies that support this society. It might seem pointless to consider dimensions higher than the 33 dimensions of our world and the 44 dimensions we can’t even draw, but this is because Euclidean space is not the only kind of vector space. For example, consider a dataset used in statistics, which can be viewed as a vector. For instance, if a person named ‘Adam’ has a height of 175, weight of 62, age of 22, IQ of 103, and vision of 1.2, it can be represented as ‘Adam=(175, 62, 22, 103, 1.2)’. Even such straightforward data involves the use of 55 dimensions, which would be ineffective with even minor limitations.

On the other hand, considering that the basis of a vector space is not unique, for the above definition to be considered valid it is necessary that all bases have the same number of elements. From the following two theorems, it can be known that all bases of a finite-dimensional vector space must have the same number of vectors.

Theorems

Let S={v1,v2,vn}S = \left\{ \mathbf{v}_{1}, \mathbf{v}_{2}, \dots \mathbf{v}_{n} \right\} be any basis of the vector space VV.

(a) A subset of VV that has more vectors than the basis is linearly dependent.

(b) A subset of VV that has fewer vectors than the basis cannot span VV.

Proof2

(a)

Let’s consider W={w1, w2, , wm}VW=\left\{ \mathbf{w}_{1},\ \mathbf{w}_{2},\ \cdots ,\ \mathbf{w}_{m} \right\} \subset V. In this case, m>nm > n. Since SS is a basis of VV, the elements of WW can be expressed as linear combinations of the vectors of SS.

w1=a11v1+a21v2++an1vn=inai1viw2=a12v1+a22v2++an2vn=inai2viwm=a1mv1+a2mv2++anmvn=inaimvi \begin{equation} \begin{aligned} \mathbf{w}_{1} &= a_{11}\mathbf{v}_{1}+a_{21}\mathbf{v}_{2} + \cdots + a_{n1}\mathbf{v}_{n}=\sum \limits _{i}^{n} a_{i1}\mathbf{v}_{i} \\ \mathbf{w}_{2} &= a_{12}\mathbf{v}_{1}+a_{22}\mathbf{v}_{2} + \cdots + a_{n2}\mathbf{v}_{n}=\sum \limits _{i}^{n} a_{i2}\mathbf{v}_{i} \\ & \vdots \\ \mathbf{w}_{m} &= a_{1m}\mathbf{v}_{1}+a_{2m}\mathbf{v}_{2} + \cdots + a_{nm}\mathbf{v}_{n}=\sum \limits _{i}^{n} a_{im}\mathbf{v}_{i} \end{aligned} \label{wlincom1} \end{equation}

To show that WW is linearly dependent,

k1w1+k2w2++kmwm=0 \begin{equation} k_{1}\mathbf{w}_{1} + k_2\mathbf{w}_{2} + \cdots + k_{m}\mathbf{w}_{m}= \mathbf{0} \label{wlincom2} \end{equation}

it suffices to show that there exists (k1,k2,,km)(0,0,,0)(k_{1},k_{2},\dots,k_{m}) \ne (0,0,\dots,0) that satisfies the equation. By substituting (1)(1) into (2)(2), we get the following.

k1(a11v1+a21v2++an1vn)+k2(a12v1+a22v2++an2vn)++km(a1mv1+a2mv2++anmvn)=0 \begin{align*} &k_{1}(a_{11}\mathbf{v}_{1} + a_{21}\mathbf{v}_{2} + \cdots + a_{n1}\mathbf{v}_{n}) \\ + &k_2(a_{12}\mathbf{v}_{1} + a_{22}\mathbf{v}_{2} + \cdots + a_{n2}\mathbf{v}_{n}) \\ + &\cdots \\ + &k_{m}(a_{1m}\mathbf{v}_{1} + a_{2m}\mathbf{v}_{2} + \cdots + a_{nm}\mathbf{v}_{n}) = \mathbf{0} \end{align*}

Arranging this for vi\mathbf{v}_{i} gives the following.

(jmkja1j)v1+(jmkja2j)v2++(jmkjanj)vn=0 \left( \sum \limits _{j} ^{m} k_{j}a_{1j} \right)\mathbf{v}_{1} + \left( \sum \limits _{j} ^{m} k_{j}a_{2j} \right)\mathbf{v}_{2} + \cdots + \left( \sum \limits _{j} ^{m} k_{j}a_{nj} \right)\mathbf{v}_{n} = \mathbf{0}

Since SS is a basis of VV and is linearly independent, the only solution that satisfies the above equation is when all coefficients are 00. Hence, the following equation holds.

a11k1+a12k2++a1mkm=0a21k1+a22k2++a2mkm=0an1k1+an2k2++anmkm=0 \begin{align*} a_{11}k_{1} + a_{12}k_{2} + \cdots + a_{1m}k_{m} = 0 \\ a_{21}k_{1} + a_{22}k_{2} + \cdots + a_{2m}k_{m} = 0 \\ \vdots \\ a_{n1}k_{1} + a_{n2}k_{2} + \cdots + a_{nm}k_{m} = 0 \end{align*}

Looking at the system of equations, there are nn equations, and the number of unknowns kk is mm. Since there are more unknowns than equations, the system of equations has infinitely many nontrivial solutions. Therefore, not all solutions are 00, and a k1,,kmk_{1},\dots,k_{m} exists. Hence, WW is linearly dependent. Moreover, this proof applies to any set that has more elements than the basis.

(b)

The proof is by contradiction.

Assume W={w1, w2, , wm}VW=\left\{ \mathbf{w}_{1},\ \mathbf{w}_{2},\ \cdots ,\ \mathbf{w}_{m} \right\} \subset V. Then, m<nm < n. Suppose that WW spans VV. Then, all vectors of VV can be expressed as linear combinations of WW.

v1=a11w1+a21w2++am1wmv2=a12w1+a22w2++am2wmvn=a1nw1+a2nw2++amnwm \begin{equation} \begin{aligned} \mathbf{v}_{1} &= a_{11}\mathbf{w}_{1}+a_{21}\mathbf{w}_{2} + \cdots + a_{m1}\mathbf{w}_{m} \\ \mathbf{v}_{2} &= a_{12}\mathbf{w}_{1}+a_{22}\mathbf{w}_{2} + \cdots + a_{m2}\mathbf{w}_{m} \\ & \vdots \\ \mathbf{v}_{n} &= a_{1n}\mathbf{w}_{1}+a_{2n}\mathbf{w}_{2} + \cdots + a_{mn}\mathbf{w}_{m} \end{aligned} \label{vlincom1} \end{equation}

This leads to a contradiction that the {v1,v2,vn}\left\{ \mathbf{v}_{1}, \mathbf{v}_{2}, \dots \mathbf{v}_{n} \right\} are linearly dependent. Consider the following homogeneous equation.

k1v1+k2v2++knvn=0 k_{1}\mathbf{v}_{1} + k_2\mathbf{v}_{2} + \cdots + k_{n}\mathbf{v}_{n}= \mathbf{0}

Substituting (1)(1) into it, we get the following.

k1(a11w1+a21w2++am1wm)+k2(a12w1+a22w2++am2wm)++kn(a1nw1+a2nw2++amnwm)=0 \begin{align*} &k_{1}(a_{11}\mathbf{w}_{1} + a_{21}\mathbf{w}_{2} + \cdots + a_{m1}\mathbf{w}_{m}) \\ + &k_2(a_{12}\mathbf{w}_{1} + a_{22}\mathbf{w}_{2} + \cdots + a_{m2}\mathbf{w}_{m}) \\ + &\cdots \\ + &k_{n}(a_{1n}\mathbf{w}_{1} + a_{2n}\mathbf{w}_{2} + \cdots + a_{mn}\mathbf{w}_{m}) = \mathbf{0} \end{align*}

Arranging this for wi\mathbf{w}_{i} gives the following.

(jnkja1j)w1+(jnkja2j)w2++(jnkjamj)wm=0 \left( \sum \limits _{j} ^{n} k_{j}a_{1j} \right)\mathbf{w}_{1} + \left( \sum \limits _{j} ^{n} k_{j}a_{2j} \right)\mathbf{w}_{2} + \cdots + \left( \sum \limits _{j} ^{n} k_{j}a_{mj} \right)\mathbf{w}_{m} = \mathbf{0}

Then we obtain the following homogeneous linear system for the unknowns kk.

a11k1+a12k2++a1nkn=0a21k1+a22k2++a2nkn=0am1k1+am2k2++amnkn=0 \begin{align*} a_{11}k_{1} + a_{12}k_{2} + \cdots + a_{1n}k_{n} = 0 \\ a_{21}k_{1} + a_{22}k_{2} + \cdots + a_{2n}k_{n} = 0 \\ \vdots \\ a_{m1}k_{1} + a_{m2}k_{2} + \cdots + a_{mn}k_{n} = 0 \end{align*}

Since the number of unknowns is nn and the number of equations is mm, and since m<nm < n, the linear system has infinitely many nontrivial solutions. Hence, we conclude that S={v1,v2,vn}S = \left\{ \mathbf{v}_{1}, \mathbf{v}_{2}, \dots \mathbf{v}_{n} \right\} is linearly dependent, which contradicts the fact that SS is linearly independent, thereby disproving the assumption. Thus, WW cannot span VV.


  1. Howard Anton, Elementary Linear Algebra: Applications Version (12th Edition, 2019), p248 ↩︎

  2. Howard Anton, Elementary Linear Algebra: Applications Version (12th Edition, 2019), p252-253 ↩︎