Vector Spaces, Subspaces, Linear Independence, and Bases

Fundamental Notations and Geometric Vectors

  • Standard Algebraic Fields:

    • KK denotes an arbitrary field.

    • R\mathbf{R} denotes the field of real numbers.

    • C\mathbf{C} denotes the field of complex numbers.

    • Q\mathbf{Q} denotes the field of rational numbers.

  • Geometric Definition in Physics:

    • In physical contexts, a vector is defined as a physical quantity that possesses both magnitude and direction.

    • Modern linear algebra generalizes this geometric concept to abstract mathematical structures where the elements may not admit a direct physical or visual representation.

Vectors in the Plane (V2(R)V_2(\mathbf{R}))

  • Points and Directed Line Segments:

    • A point in the plane is defined as an ordered pair (a,b)(a, b) of real numbers relative to a rectangular coordinate system.

    • The origin OO is the coordinate point (0,0)(0, 0).

    • A directed line segment from initial point PP to endpoint QQ is denoted by PQ⃗\vec{PQ}.

  • Equivalence of Directed Line Segments:

    • Let P=(p1,p2)P = (p_1, p_2), Q=(q1,q2)Q = (q_1, q_2), R=(r1,r2)R = (r_1, r_2), and S=(s1,s2)S = (s_1, s_2) be four points in the plane.

    • The two directed line segments PQ⃗\vec{PQ} and RS⃗\vec{RS} are defined to be equivalent if:     (q1−p1,q2−p2)=(s1−r1,s2−r2)(q_1 - p_1, q_2 - p_2) = (s_1 - r_1, s_2 - r_2)

    • This relation is an equivalence relation on the set of all directed line segments in the plane:

    • Reflexivity: (q1−p1,q2−p2)=(q1−p1,q2−p2)(q_1 - p_1, q_2 - p_2) = (q_1 - p_1, q_2 - p_2), so PQ⃗∼PQ⃗\vec{PQ} \sim \vec{PQ}.

    • Symmetry: If (q1−p1,q2−p2)=(s1−r1,s2−r2)(q_1 - p_1, q_2 - p_2) = (s_1 - r_1, s_2 - r_2), then (s1−r1,s2−r2)=(q1−p1,q2−p2)(s_1 - r_1, s_2 - r_2) = (q_1 - p_1, q_2 - p_2), so RS⃗∼PQ⃗\vec{RS} \sim \vec{PQ}.

    • Transitivity: If PQ⃗∼RS⃗\vec{PQ} \sim \vec{RS} and RS⃗∼TU⃗\vec{RS} \sim \vec{TU}, where T=(t1,t2)T = (t_1, t_2) and U=(u1,u2)U = (u_1, u_2), then:       (q1−p1,q2−p2)=(s1−r1,s2−r2)=(u1−t1,u2−t2)(q_1 - p_1, q_2 - p_2) = (s_1 - r_1, s_2 - r_2) = (u_1 - t_1, u_2 - t_2)       implying PQ⃗∼TU⃗\vec{PQ} \sim \vec{TU}.

  • Canonical Representation of Equivalence Classes:

    • Every directed line segment is equivalent to a unique directed line segment having the origin OO as its initial point.

    • Specifically, if P=(p1,p2)P = (p_1, p_2) and Q=(q1,q2)Q = (q_1, q_2), then PQ⃗\vec{PQ} is equivalent to OR⃗\vec{OR}, where R=(q1−p1,q2−p2)R = (q_1 - p_1, q_2 - p_2).

    • Each equivalence class of directed line segments is uniquely represented by a directed line segment with its initial point at the origin OO.

    • A vector OP⃗\vec{OP} in the plane is defined as the directed line segment with initial point OO and endpoint PP.

    • Because a vector is completely determined by the coordinates of its endpoint, the vector OP⃗\vec{OP} is denoted by (p1,p2)(p_1, p_2).

  • Operations in the Plane V2(R)V_2(\mathbf{R}):

    • The set of all vectors in the plane is denoted by:     V2(R)={(p1,p2)∣p1,p2∈R}V_2(\mathbf{R}) = \{(p_1, p_2) \mid p_1, p_2 \in \mathbf{R}\}

    • Vector Addition (Parallelogram Rule): If OP⃗\vec{OP} and OQ⃗\vec{OQ} are vectors, their sum is the vector OR⃗\vec{OR} corresponding to the diagonal of the parallelogram formed by OP⃗\vec{OP} and OQ⃗\vec{OQ}:     OP⃗+OQ⃗=OR⃗\vec{OP} + \vec{OQ} = \vec{OR}     (p1,p2)+(q1,q2)=(p1+q1,p2+q2)(p_1, p_2) + (q_1, q_2) = (p_1 + q_1, p_2 + q_2)

    • Scalar Multiplication: Multiplication of a vector OP⃗\vec{OP} by a real scalar λ\lambda produces a vector λOP⃗=OS⃗\lambda \vec{OP} = \vec{OS} of length ∣λ∣⋅OP|\lambda| \cdot OP, pointing in the same direction as OP⃗\vec{OP} if λ>0\lambda > 0 and in the opposite direction if λ<0\lambda < 0:     λ(p1,p2)=(λp1,λp2)\lambda (p_1, p_2) = (\lambda p_1, \lambda p_2)

Vectors in Space (V3(R)V_3(\mathbf{R})) and nn-Space (Vn(K)V_n(K))

  • Vectors in 3-Space (V3(R)V_3(\mathbf{R})):

    • The set of all vectors in three-dimensional space is defined as:     V3(R)={(α,β,γ)∣α,β,γ∈R}V_3(\mathbf{R}) = \{(\alpha, \beta, \gamma) \mid \alpha, \beta, \gamma \in \mathbf{R}\}

    • Vector Addition:     (α,β,γ)+(α′,β′,γ′)=(α+α′,β+β′,γ+γ′)(\alpha, \beta, \gamma) + (\alpha', \beta', \gamma') = (\alpha + \alpha', \beta + \beta', \gamma + \gamma')

    • Scalar Multiplication:     λ(α,β,γ)=(λα,λβ,λγ)\lambda (\alpha, \beta, \gamma) = (\lambda \alpha, \lambda \beta, \lambda \gamma)

  • Analytic Extension to Vn(K)V_n(K) (n≥4n \ge 4):

    • For dimensions n≥4n \ge 4, geometric visualization is absent, necessitating a purely analytic definition over an arbitrary field KK.

    • Definition of Vn(K)V_n(K):     Vn(K)={(α1,α2,…,αn)∣αi∈K (i=1,2,…,n)}V_n(K) = \{(\alpha_1, \alpha_2, \dots, \alpha_n) \mid \alpha_i \in K \ (i = 1, 2, \dots, n)\}

    • Addition in Vn(K)V_n(K):     (α1,α2,…,αn)+(β1,β2,…,βn)=(α1+β1,α2+β2,…,αn+βn)(\alpha_1, \alpha_2, \dots, \alpha_n) + (\beta_1, \beta_2, \dots, \beta_n) = (\alpha_1 + \beta_1, \alpha_2 + \beta_2, \dots, \alpha_n + \beta_n)

    • Scalar Multiplication in Vn(K)V_n(K):     λ(α1,α2,…,αn)=(λα1,λα2,…,λαn)\lambda (\alpha_1, \alpha_2, \dots, \alpha_n) = (\lambda \alpha_1, \lambda \alpha_2, \dots, \lambda \alpha_n)     for all λ,αi,βi∈K\lambda, \alpha_i, \beta_i \in K.

  • Theorem (Algebraic Laws of Vn(K)V_n(K)):

    • Let u=(α1,α2,…,αn)\mathbf{u} = (\alpha_1, \alpha_2, \dots, \alpha_n), v=(β1,β2,…,βn)\mathbf{v} = (\beta_1, \beta_2, \dots, \beta_n), and w=(γ1,γ2,…,γn)\mathbf{w} = (\gamma_1, \gamma_2, \dots, \gamma_n) be arbitrary vectors in Vn(K)V_n(K), and let α,β∈K\alpha, \beta \in K. The operations satisfy the following ten laws of algebra:

    • 1. Closure under vector addition: u+v∈Vn(K)\mathbf{u} + \mathbf{v} \in V_n(K)

    • 2. Associativity of vector addition: u+(v+w)=(u+v)+w\mathbf{u} + (\mathbf{v} + \mathbf{w}) = (\mathbf{u} + \mathbf{v}) + \mathbf{w}

    • 3. Commutativity of vector addition: u+v=v+u\mathbf{u} + \mathbf{v} = \mathbf{v} + \mathbf{u}

    • 4. Existence of additive identity: There exists a zero element 0=(0,0,…,0)∈Vn(K)\mathbf{0} = (0, 0, \dots, 0) \in V_n(K) such that u+0=u\mathbf{u} + \mathbf{0} = \mathbf{u}.

    • 5. Existence of additive inverse: For each u∈Vn(K)\mathbf{u} \in V_n(K), there exists a vector −u=(−α1,−α2,…,−αn)∈Vn(K)-\mathbf{u} = (-\alpha_1, -\alpha_2, \dots, -\alpha_n) \in V_n(K) such that u+(−u)=0\mathbf{u} + (-\mathbf{u}) = \mathbf{0}.

    • 6. Closure under scalar multiplication: αu∈Vn(K)\alpha \mathbf{u} \in V_n(K)

    • 7. Distributivity over scalar addition: (α+β)u=αu+βu(\alpha + \beta)\mathbf{u} = \alpha \mathbf{u} + \beta \mathbf{u}

    • 8. Distributivity over vector addition: α(u+v)=αu+αv\alpha (\mathbf{u} + \mathbf{v}) = \alpha \mathbf{u} + \alpha \mathbf{v}

    • 9. Associativity of scalar multiplication: α(βu)=(αβ)u\alpha (\beta \mathbf{u}) = (\alpha \beta)\mathbf{u}


    1. Multiplication by identity scalar: 1u=u1\mathbf{u} = \mathbf{u}, where 11 is the multiplicative identity of KK.

Axiomatic Definition and Verification of Vector Spaces

  • Axiomatic Definition of a Vector Space:

    • A vector space consists of a non-empty set VV (whose elements are designated as vectors, denoted in lowercase bold) associated with two operations: vector addition (++) and scalar multiplication (⋅\cdot) over an arbitrary field KK, satisfying:

    • Part A: Closure Conditions:

    • 1. Closure under Vector Addition: For all u,v∈V\mathbf{u}, \mathbf{v} \in V, the sum u+v=w\mathbf{u} + \mathbf{v} = \mathbf{w} belongs to VV.

    • 2. Closure under Scalar Multiplication: For all u∈V\mathbf{u} \in V and r∈Kr \in K, the product r⋅u=vr \cdot \mathbf{u} = \mathbf{v} belongs to VV.

    • Part B: Operational Axioms:

    • 3. Commutativity of Addition: u+v=v+u\mathbf{u} + \mathbf{v} = \mathbf{v} + \mathbf{u}

    • 4. Associativity of Addition: (u+v)+w=u+(v+w)(\mathbf{u} + \mathbf{v}) + \mathbf{w} = \mathbf{u} + (\mathbf{v} + \mathbf{w})

    • 5. Associativity of Scalar Multiplication: r⋅(s⋅u)=(r⋅s)⋅ur \cdot (s \cdot \mathbf{u}) = (r \cdot s) \cdot \mathbf{u}

    • 6. Existence of Zero Vector: A zero vector 0∈V\mathbf{0} \in V exists such that u+0=u\mathbf{u} + \mathbf{0} = \mathbf{u} for all u∈V\mathbf{u} \in V.

    • 7. Existence of Additive Inverse: For each u∈V\mathbf{u} \in V, there exists −u∈V-\mathbf{u} \in V such that u+(−u)=0\mathbf{u} + (-\mathbf{u}) = \mathbf{0}.

    • 8. Distributivity of Scalar Multiplication over Vector Addition: r⋅(u+v)=r⋅u+r⋅vr \cdot (\mathbf{u} + \mathbf{v}) = r \cdot \mathbf{u} + r \cdot \mathbf{v}

    • 9. Distributivity of Scalar Addition over Scalar Multiplication: (r+s)⋅u=r⋅u+s⋅u(r + s) \cdot \mathbf{u} = r \cdot \mathbf{u} + s \cdot \mathbf{u}


    1. Unitary Scalar Property: 1⋅u=u1 \cdot \mathbf{u} = \mathbf{u} for all u∈V\mathbf{u} \in V.

  • Scope and Generality of Vector Spaces:

    • Vectors need not be limited to standard coordinate lists from physics. Elements of a vector space may be:

    • Matrices of dimension m×nm \times n

    • Continuous real-valued functions

    • Real or complex polynomials

    • Sets of solutions to differential equations

  • Canonical Examples of Vector Spaces:

    • The field of real numbers R\mathbf{R} associated with standard addition and multiplication.

    • The field of complex numbers C\mathbf{C} associated with complex addition and scalar multiplication.

    • The set of all real polynomials Rn[x]\mathbf{R}_n[x] under polynomial addition and scalar multiplication.

    • The set of all nn-dimensional coordinate vectors Rn\mathbf{R}^n under standard componentwise operations.

    • The set of all m×nm \times n matrices under matrix addition and scalar multiplication.

    • The solution set of all functions f(x)f(x) satisfying the differential equation f(x)=f′(x)f(x) = f'(x).

  • Complete Proof: Space of 2×22 \times 2 Real Matrices:

    • Let VV be the set of all 2×22 \times 2 matrices with real entries:

    • 1. Closure under Addition:       (abcd)+(efgh)=(a+eb+fc+gd+h)∈V\begin{pmatrix} a & b \\ c & d \end{pmatrix} + \begin{pmatrix} e & f \\ g & h \end{pmatrix} = \begin{pmatrix} a + e & b + f \\ c + g & d + h \end{pmatrix} \in V

    • 2. Closure under Scalar Multiplication:       r⋅(abcd)=(rarbrcrd)∈Vr \cdot \begin{pmatrix} a & b \\ c & d \end{pmatrix} = \begin{pmatrix} ra & rb \\ rc & rd \end{pmatrix} \in V

    • 3. Commutativity:       (abcd)+(efgh)=(a+eb+fc+gd+h)=(e+af+bg+ch+d)=(efgh)+(abcd)\begin{pmatrix} a & b \\ c & d \end{pmatrix} + \begin{pmatrix} e & f \\ g & h \end{pmatrix} = \begin{pmatrix} a + e & b + f \\ c + g & d + h \end{pmatrix} = \begin{pmatrix} e + a & f + b \\ g + c & h + d \end{pmatrix} = \begin{pmatrix} e & f \\ g & h \end{pmatrix} + \begin{pmatrix} a & b \\ c & d \end{pmatrix}

    • 4. Associativity of Addition:       ((abcd)+(efgh))+(ijkl)=((a+e)+i(b+f)+j(c+g)+k(d+h)+l)\left( \begin{pmatrix} a & b \\ c & d \end{pmatrix} + \begin{pmatrix} e & f \\ g & h \end{pmatrix} \right) + \begin{pmatrix} i & j \\ k & l \end{pmatrix} = \begin{pmatrix} (a + e) + i & (b + f) + j \\ (c + g) + k & (d + h) + l \end{pmatrix}       =(a+(e+i)b+(f+j)c+(g+k)d+(h+l))=(abcd)+((efgh)+(ijkl))= \begin{pmatrix} a + (e + i) & b + (f + j) \\ c + (g + k) & d + (h + l) \end{pmatrix} = \begin{pmatrix} a & b \\ c & d \end{pmatrix} + \left( \begin{pmatrix} e & f \\ g & h \end{pmatrix} + \begin{pmatrix} i & j \\ k & l \end{pmatrix} \right)

    • 5. Associativity of Multiplication:       r(s(abcd))=r(sasbscsd)=(r(sa)r(sb)r(sc)r(sd))=((rs)a(rs)b(rs)c(rs)d)=(rs)(abcd)r \left( s \begin{pmatrix} a & b \\ c & d \end{pmatrix} \right) = r \begin{pmatrix} sa & sb \\ sc & sd \end{pmatrix} = \begin{pmatrix} r(sa) & r(sb) \\ r(sc) & r(sd) \end{pmatrix} = \begin{pmatrix} (rs)a & (rs)b \\ (rs)c & (rs)d \end{pmatrix} = (rs) \begin{pmatrix} a & b \\ c & d \end{pmatrix}

    • 6. Zero Vector:       (abcd)+(0000)=(a+0b+0c+0d+0)=(abcd)\begin{pmatrix} a & b \\ c & d \end{pmatrix} + \begin{pmatrix} 0 & 0 \\ 0 & 0 \end{pmatrix} = \begin{pmatrix} a + 0 & b + 0 \\ c + 0 & d + 0 \end{pmatrix} = \begin{pmatrix} a & b \\ c & d \end{pmatrix}

    • 7. Negative Vector:       (abcd)+(−a−b−c−d)=(a+(−a)b+(−b)c+(−c)d+(−d))=(0000)\begin{pmatrix} a & b \\ c & d \end{pmatrix} + \begin{pmatrix} -a & -b \\ -c & -d \end{pmatrix} = \begin{pmatrix} a + (-a) & b + (-b) \\ c + (-c) & d + (-d) \end{pmatrix} = \begin{pmatrix} 0 & 0 \\ 0 & 0 \end{pmatrix}

    • 8. Distributivity of Matrix Sums:       r((abcd)+(efgh))=(r(a+e)r(b+f)r(c+g)r(d+h))=(ra+rerb+rfrc+rgrd+rh)r \left( \begin{pmatrix} a & b \\ c & d \end{pmatrix} + \begin{pmatrix} e & f \\ g & h \end{pmatrix} \right) = \begin{pmatrix} r(a + e) & r(b + f) \\ r(c + g) & r(d + h) \end{pmatrix} = \begin{pmatrix} ra + re & rb + rf \\ rc + rg & rd + rh \end{pmatrix}       =(rarbrcrd)+(rerfrgrh)=r(abcd)+r(efgh)= \begin{pmatrix} ra & rb \\ rc & rd \end{pmatrix} + \begin{pmatrix} re & rf \\ rg & rh \end{pmatrix} = r \begin{pmatrix} a & b \\ c & d \end{pmatrix} + r \begin{pmatrix} e & f \\ g & h \end{pmatrix}

    • 9. Distributivity of Scalar Sums:       (r+s)(abcd)=((r+s)a(r+s)b(r+s)c(r+s)d)=(ra+sarb+sbrc+scrd+sd)(r + s) \begin{pmatrix} a & b \\ c & d \end{pmatrix} = \begin{pmatrix} (r + s)a & (r + s)b \\ (r + s)c & (r + s)d \end{pmatrix} = \begin{pmatrix} ra + sa & rb + sb \\ rc + sc & rd + sd \end{pmatrix}       =(rarbrcrd)+(sasbscsd)=r(abcd)+s(abcd)= \begin{pmatrix} ra & rb \\ rc & rd \end{pmatrix} + \begin{pmatrix} sa & sb \\ sc & sd \end{pmatrix} = r \begin{pmatrix} a & b \\ c & d \end{pmatrix} + s \begin{pmatrix} a & b \\ c & d \end{pmatrix}


    1. Multiplication by Unit Scalar:       1⋅(abcd)=(1a1b1c1d)=(abcd)1 \cdot \begin{pmatrix} a & b \\ c & d \end{pmatrix} = \begin{pmatrix} 1a & 1b \\ 1c & 1d \end{pmatrix} = \begin{pmatrix} a & b \\ c & d \end{pmatrix}

  • Continuity and Polynomial Space Proofs:

    • Continuous Real Functions on (−∞,∞)(-\infty, \infty):

    • If f(x)f(x) and g(x)g(x) are real continuous functions on R\mathbf{R} and r∈Rr \in \mathbf{R}, then (f+g)(x)=f(x)+g(x)(f + g)(x) = f(x) + g(x) is continuous on R\mathbf{R}, and (rf)(x)=rf(x)(rf)(x) = r f(x) is continuous on R\mathbf{R}.

    • Closure under addition and scalar multiplication is satisfied, and the remaining 8 axioms are inherited directly from the field properties of real numbers.

    • Real Polynomials with Degree n≤3n \le 3:

    • The sum of two polynomials of degree ≤3\le 3 has degree ≤3\le 3.

    • The product of a polynomial of degree ≤3\le 3 by a real scalar has degree ≤3\le 3.

    • Closure under both operations holds, and algebraic field properties ensure the remaining axioms are satisfied.

  • Counterexamples (Sets that are NOT Vector Spaces):

    • Polynomials of Exact Degree n=4n = 4:

    • Not closed under vector addition.

    • Counterexample: Consider P(x)=−2x4+3x2+4x+10P(x) = -2x^4 + 3x^2 + 4x + 10 and Q(x)=2x4+x2−4x+1Q(x) = 2x^4 + x^2 - 4x + 1, both of degree 4.

    • Adding them yields:       P(x)+Q(x)=(−2x4+3x2+4x+10)+(2x4+x2−4x+1)=4x2+11P(x) + Q(x) = (-2x^4 + 3x^2 + 4x + 10) + (2x^4 + x^2 - 4x + 1) = 4x^2 + 11

    • The sum is of degree 2, not degree 4. Hence, the set fails closure under addition and is not a vector space.

    • Set of Integers (Z\mathbf{Z}) with Real Scalars (R\mathbf{R}):

    • Not closed under scalar multiplication.

    • Counterexample: Let x=−3∈Zx = -3 \in \mathbf{Z} and choose real scalar r=3∈Rr = \sqrt{3} \in \mathbf{R}.

    • The product is r⋅x=−33∉Zr \cdot x = -3\sqrt{3} \notin \mathbf{Z}. Hence, the set is not a vector space.

Vector Subspaces

  • Definition of a Subspace:

    • If WW is a subset of a vector space VV, and WW is itself a vector space under the inherited operations of addition and scalar multiplication defined on VV, then WW is called a subspace of VV.

  • Subspace Verification Criteria:

    • To demonstrate that a subset WW is a subspace of VV, it is necessary and sufficient to establish:

    • 1. WW is a non-empty subset of VV (W⊆VW \subseteq V).

    • 2. The zero vector 0\mathbf{0} of VV belongs to WW.

    • 3. Closure under addition: For any u,v∈W\mathbf{u}, \mathbf{v} \in W, u+v∈W\mathbf{u} + \mathbf{v} \in W.

    • 4. Closure under scalar multiplication: For any u∈W\mathbf{u} \in W and scalar rr, r⋅u∈Wr \cdot \mathbf{u} \in W.

  • Subspace Verification Examples:

    • Example 1: Vectors of the Form (x,0)(x, 0) in R2\mathbf{R}^2:

    • 1. W={(x,0)∣x∈R}⊆R2W = \{(x, 0) \mid x \in \mathbf{R}\} \subseteq \mathbf{R}^2.

    • 2. The zero vector (0,0)∈W(0, 0) \in W since the second component is 0.

    • 3. Closure under addition: (x1,0)+(x2,0)=(x1+x2,0)∈W(x_1, 0) + (x_2, 0) = (x_1 + x_2, 0) \in W.

    • 4. Closure under scalar multiplication: r⋅(x,0)=(rx,0)∈Wr \cdot (x, 0) = (rx, 0) \in W.

    • Therefore, WW is a subspace of R2\mathbf{R}^2.

    • Example 2: First Quadrant Vectors in R2\mathbf{R}^2:

    • Let W={(x,y)∈R2∣x≥0,y≥0}W = \{(x, y) \in \mathbf{R}^2 \mid x \ge 0, y \ge 0\}.

    • While closed under addition, it is not closed under scalar multiplication.

    • Counterexample: Vector u=(3,3)∈W\mathbf{u} = (3, 3) \in W, but for scalar r=−1r = -1, ru=−1(3,3)=(−3,−3)∉Wr\mathbf{u} = -1(3, 3) = (-3, -3) \notin W.

    • Therefore, WW is not a subspace of R2\mathbf{R}^2.

  • Example 3: Plane Passing Through the Origin in R3\mathbf{R}^3:

    • Let W={(x,y,z)∈R3∣x+y+z=0}W = \{(x, y, z) \in \mathbf{R}^3 \mid x + y + z = 0\}.

    • 1. W⊆R3W \subseteq \mathbf{R}^3.

    • 2. (0,0,0)∈W(0, 0, 0) \in W because 0+0+0=00 + 0 + 0 = 0.

    • 3. Closure under addition: Let u=(x1,y1,z1)\mathbf{u} = (x_1, y_1, z_1) and v=(x2,y2,z2)\mathbf{v} = (x_2, y_2, z_2) be in WW, so x1+y1+z1=0x_1 + y_1 + z_1 = 0 and x2+y2+z2=0x_2 + y_2 + z_2 = 0.     u+v=(x1+x2,y1+y2,z1+z2)\mathbf{u} + \mathbf{v} = (x_1 + x_2, y_1 + y_2, z_1 + z_2)     (x1+x2)+(y1+y2)+(z1+z2)=(x1+y1+z1)+(x2+y2+z2)=0+0=0(x_1 + x_2) + (y_1 + y_2) + (z_1 + z_2) = (x_1 + y_1 + z_1) + (x_2 + y_2 + z_2) = 0 + 0 = 0     Thus, u+v∈W\mathbf{u} + \mathbf{v} \in W.

    • 4. Closure under scalar multiplication: Let r∈Rr \in \mathbf{R}. Then ru=(rx1,ry1,rz1)r\mathbf{u} = (rx_1, ry_1, rz_1).     rx1+ry1+rz1=r(x1+y1+z1)=r⋅0=0rx_1 + ry_1 + rz_1 = r(x_1 + y_1 + z_1) = r \cdot 0 = 0     Thus, ru∈Wr\mathbf{u} \in W.

    • Therefore, WW is a subspace of R3\mathbf{R}^3.

Linear Combinations of Vectors

  • Definition of Linear Combination:

    • A vector v\mathbf{v} is called a linear combination of vectors u1,u2,…,un\mathbf{u}_1, \mathbf{u}_2, \dots, \mathbf{u}_n if it can be expressed in the form:     v=r1u1+r2u2+⋯+rnun\mathbf{v} = r_1 \mathbf{u}_1 + r_2 \mathbf{u}_2 + \dots + r_n \mathbf{u}_n     where r1,r2,…,rnr_1, r_2, \dots, r_n are scalars.

  • Example 1: Expressing a Vector as a Linear Combination:

    • Express vector v=(2612)\mathbf{v} = \begin{pmatrix} 2 \\ 6 \\ 12 \end{pmatrix} in terms of u1=(130)\mathbf{u}_1 = \begin{pmatrix} 1 \\ 3 \\ 0 \end{pmatrix} and u2=(004)\mathbf{u}_2 = \begin{pmatrix} 0 \\ 0 \\ 4 \end{pmatrix}.

    • Set up equation:     (2612)=r1(130)+r2(004)=(r13r14r2)\begin{pmatrix} 2 \\ 6 \\ 12 \end{pmatrix} = r_1 \begin{pmatrix} 1 \\ 3 \\ 0 \end{pmatrix} + r_2 \begin{pmatrix} 0 \\ 0 \\ 4 \end{pmatrix} = \begin{pmatrix} r_1 \\ 3r_1 \\ 4r_2 \end{pmatrix}

    • Equating components gives:     r1=2r_1 = 2     3r1=6  ⟹  3(2)=63r_1 = 6 \implies 3(2) = 6     4r2=12  ⟹  r2=34r_2 = 12 \implies r_2 = 3

    • Hence:     (2612)=2(130)+3(004)\begin{pmatrix} 2 \\ 6 \\ 12 \end{pmatrix} = 2 \begin{pmatrix} 1 \\ 3 \\ 0 \end{pmatrix} + 3 \begin{pmatrix} 0 \\ 0 \\ 4 \end{pmatrix}

  • Example 2: Determining Non-Representability:

    • Test whether v=(13)\mathbf{v} = \begin{pmatrix} 1 \\ 3 \end{pmatrix} can be represented by u1=(12)\mathbf{u}_1 = \begin{pmatrix} 1 \\ 2 \end{pmatrix} and u2=(24)\mathbf{u}_2 = \begin{pmatrix} 2 \\ 4 \end{pmatrix}.

    • Set up system:     (13)=r1(12)+r2(24)=(r1+2r22r1+4r2)\begin{pmatrix} 1 \\ 3 \end{pmatrix} = r_1 \begin{pmatrix} 1 \\ 2 \end{pmatrix} + r_2 \begin{pmatrix} 2 \\ 4 \end{pmatrix} = \begin{pmatrix} r_1 + 2r_2 \\ 2r_1 + 4r_2 \end{pmatrix}

    • Yielding the equations:     r1+2r2=1r_1 + 2r_2 = 1     2r1+4r2=32r_1 + 4r_2 = 3

    • Multiply the first equation by −2-2:     −2r1−4r2=−2-2r_1 - 4r_2 = -2     2r1+4r2=32r_1 + 4r_2 = 3

    • Adding both equations produces the contradiction 0=10 = 1.

    • The system possesses no solution; hence, v\mathbf{v} cannot be expressed as a linear combination of u1\mathbf{u}_1 and u2\mathbf{u}_2.

  • Example 3: Parameter Values via Matrix Determinants:

    • Determine values of kk such that v=(−15)\mathbf{v} = \begin{pmatrix} -1 \\ 5 \end{pmatrix} is a linear combination of u1=(−32)\mathbf{u}_1 = \begin{pmatrix} -3 \\ 2 \end{pmatrix} and u2=(k8)\mathbf{u}_2 = \begin{pmatrix} k \\ 8 \end{pmatrix}.

    • Set up system:     (−15)=r1(−32)+r2(k8)=(−3r1+kr22r1+8r2)\begin{pmatrix} -1 \\ 5 \end{pmatrix} = r_1 \begin{pmatrix} -3 \\ 2 \end{pmatrix} + r_2 \begin{pmatrix} k \\ 8 \end{pmatrix} = \begin{pmatrix} -3r_1 + kr_2 \\ 2r_1 + 8r_2 \end{pmatrix}

    • Yielding the scalar equations:     −3r1+kr2=−1-3r_1 + kr_2 = -1     2r1+8r2=52r_1 + 8r_2 = 5

    • For this system to have a unique solution for r1r_1 and r2r_2, the determinant of the coefficient matrix must be nonzero:     ∣−3k28∣=(−3)(8)−(2)(k)=−24−2k≠0\begin{vmatrix} -3 & k \\ 2 & 8 \end{vmatrix} = (-3)(8) - (2)(k) = -24 - 2k \ne 0

  • Solving the inequality:   −2k≠24  ⟹  k≠−12-2k \ne 24 \implies k \ne -12

  • Thus, v\mathbf{v} can be expressed as a linear combination for any value of k≠−12k \ne -12.

Vector Span and Spanning Sets

  • Definition of Span:

    • If u1,u2,…,un\mathbf{u}_1, \mathbf{u}_2, \dots, \mathbf{u}_n are vectors in a vector space VV, the set WW of all linear combinations of these vectors is a subspace of VV called the span of the vectors:     W=Span{u1,u2,…,un}W = \text{Span}\{\mathbf{u}_1, \mathbf{u}_2, \dots, \mathbf{u}_n\}

    • The vectors u1,u2,…,un\mathbf{u}_1, \mathbf{u}_2, \dots, \mathbf{u}_n are said to span WW.

  • Example 1: Vectors Spanning R2\mathbf{R}^2:

    • Show that u1=(15)\mathbf{u}_1 = \begin{pmatrix} 1 \\ 5 \end{pmatrix} and u2=(−12)\mathbf{u}_2 = \begin{pmatrix} -1 \\ 2 \end{pmatrix} span R2\mathbf{R}^2.

    • An arbitrary vector in R2\mathbf{R}^2 is denoted by (ab)\begin{pmatrix} a \\ b \end{pmatrix}. Set up:     (ab)=r1(15)+r2(−12)=(r1−r25r1+2r2)\begin{pmatrix} a \\ b \end{pmatrix} = r_1 \begin{pmatrix} 1 \\ 5 \end{pmatrix} + r_2 \begin{pmatrix} -1 \\ 2 \end{pmatrix} = \begin{pmatrix} r_1 - r_2 \\ 5r_1 + 2r_2 \end{pmatrix}

    • Multiply the first equation by 2:     2r1−2r2=2a2r_1 - 2r_2 = 2a     5r1+2r2=b5r_1 + 2r_2 = b

    • Add both equations to eliminate r2r_2:     7r1=2a+b  ⟹  r1=2a+b77r_1 = 2a + b \implies r_1 = \frac{2a + b}{7}

    • Substitute r1r_1 back into the first equation to solve for r2r_2:     r2=r1−a=2a+b7−a=b−5a7r_2 = r_1 - a = \frac{2a + b}{7} - a = \frac{b - 5a}{7}

    • Because real scalars r1r_1 and r2r_2 exist for all a,b∈Ra, b \in \mathbf{R}, the vectors span R2\mathbf{R}^2.

  • Example 2: Vectors Failing to Span R2\mathbf{R}^2:

    • Test whether u1=(1−2)\mathbf{u}_1 = \begin{pmatrix} 1 \\ -2 \end{pmatrix} and u2=(2−4)\mathbf{u}_2 = \begin{pmatrix} 2 \\ -4 \end{pmatrix} span R2\mathbf{R}^2.

    • Set up equation:     (ab)=r1(1−2)+r2(2−4)=(r1+2r2−2r1−4r2)\begin{pmatrix} a \\ b \end{pmatrix} = r_1 \begin{pmatrix} 1 \\ -2 \end{pmatrix} + r_2 \begin{pmatrix} 2 \\ -4 \end{pmatrix} = \begin{pmatrix} r_1 + 2r_2 \\ -2r_1 - 4r_2 \end{pmatrix}

    • Multiply the top equation by 2:     2r1+4r2=2a2r_1 + 4r_2 = 2a     −2r1−4r2=b-2r_1 - 4r_2 = b

    • Adding equations gives:     0=2a+b0 = 2a + b

    • Whenever 2a+b≠02a + b \ne 0, no solution exists. Thus, the vectors do not span R2\mathbf{R}^2.

  • Example 3: Standard Unit Vectors Spanning R3\mathbf{R}^3:

    • Let u1=(100)\mathbf{u}_1 = \begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}, u2=(010)\mathbf{u}_2 = \begin{pmatrix} 0 \\ 1 \\ 0 \end{pmatrix}, and u3=(001)\mathbf{u}_3 = \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix}.

    • For any arbitrary vector (abc)∈R3\begin{pmatrix} a \\ b \\ c \end{pmatrix} \in \mathbf{R}^3:     (abc)=r1(100)+r2(010)+r3(001)=(r1r2r3)\begin{pmatrix} a \\ b \\ c \end{pmatrix} = r_1 \begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix} + r_2 \begin{pmatrix} 0 \\ 1 \\ 0 \end{pmatrix} + r_3 \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix} = \begin{pmatrix} r_1 \\ r_2 \\ r_3 \end{pmatrix}

    • Solutions exist directly as r1=ar_1 = a, r2=br_2 = b, and r3=cr_3 = c, proving that the vectors span R3\mathbf{R}^3.

  • Example 4: General Vectors Spanning R3\mathbf{R}^3:

    • Show that u1=(120)\mathbf{u}_1 = \begin{pmatrix} 1 \\ 2 \\ 0 \end{pmatrix}, u2=(01−1)\mathbf{u}_2 = \begin{pmatrix} 0 \\ 1 \\ -1 \end{pmatrix}, and u3=(021)\mathbf{u}_3 = \begin{pmatrix} 0 \\ 2 \\ 1 \end{pmatrix} span R3\mathbf{R}^3.

    • Set up equation:     (abc)=r1(120)+r2(01−1)+r3(021)=(r12r1+r2+2r3−r2+r3)\begin{pmatrix} a \\ b \\ c \end{pmatrix} = r_1 \begin{pmatrix} 1 \\ 2 \\ 0 \end{pmatrix} + r_2 \begin{pmatrix} 0 \\ 1 \\ -1 \end{pmatrix} + r_3 \begin{pmatrix} 0 \\ 2 \\ 1 \end{pmatrix} = \begin{pmatrix} r_1 \\ 2r_1 + r_2 + 2r_3 \\ -r_2 + r_3 \end{pmatrix}

    • Solve the system:     r1=ar_1 = a     r2+2r3=b−2ar_2 + 2r_3 = b - 2a     −r2+r3=c-r_2 + r_3 = c

    • Adding the second and third equations gives 3r3=b+c−2a3r_3 = b + c - 2a, so:     r3=b+c−2a3r_3 = \frac{b + c - 2a}{3}

    • Substitute r3r_3 into −r2+r3=c-r_2 + r_3 = c to solve for r2r_2:     r2=r3−c=b+c−2a3−c=b−2c−2a3r_2 = r_3 - c = \frac{b + c - 2a}{3} - c = \frac{b - 2c - 2a}{3}

    • Complete solution set:     r1=a,r2=b−2c−2a3,r3=b+c−2a3r_1 = a, \quad r_2 = \frac{b - 2c - 2a}{3}, \quad r_3 = \frac{b + c - 2a}{3}

    • Because unique solutions exist for any real components a,b,ca, b, c, the vectors span R3\mathbf{R}^3.

  • Example 5: Vectors Failing to Span R3\mathbf{R}^3 via Row Echelon Form:

    • Test whether u1=(−120)\mathbf{u}_1 = \begin{pmatrix} -1 \\ 2 \\ 0 \end{pmatrix}, u2=(02−1)\mathbf{u}_2 = \begin{pmatrix} 0 \\ 2 \\ -1 \end{pmatrix}, and u3=(1−41)\mathbf{u}_3 = \begin{pmatrix} 1 \\ -4 \\ 1 \end{pmatrix} span R3\mathbf{R}^3.

    • Set up matrix system:     (−10122−40−11)(r1r2r3)=(abc)\begin{pmatrix} -1 & 0 & 1 \\ 2 & 2 & -4 \\ 0 & -1 & 1 \end{pmatrix} \begin{pmatrix} r_1 \\ r_2 \\ r_3 \end{pmatrix} = \begin{pmatrix} a \\ b \\ c \end{pmatrix}

    • Augmented matrix:     (−101∣a22−4∣b0−11∣c)\begin{pmatrix} -1 & 0 & 1 & \mid & a \\ 2 & 2 & -4 & \mid & b \\ 0 & -1 & 1 & \mid & c \end{pmatrix}

    • Interchange row 1 and row 2:     (22−4∣b−101∣a0−11∣c)\begin{pmatrix} 2 & 2 & -4 & \mid & b \\ -1 & 0 & 1 & \mid & a \\ 0 & -1 & 1 & \mid & c \end{pmatrix}

    • Add row 1 to twice row 2 (2R2+R1→R22R_2 + R_1 \to R_2):     (22−4∣b02−2∣2a+b0−11∣c)\begin{pmatrix} 2 & 2 & -4 & \mid & b \\ 0 & 2 & -2 & \mid & 2a + b \\ 0 & -1 & 1 & \mid & c \end{pmatrix}

    • Add row 2 to twice row 3 (2R3+R2→R32R_3 + R_2 \to R_3):     (22−4∣b02−2∣2a+b000∣2a+b+2c)\begin{pmatrix} 2 & 2 & -4 & \mid & b \\ 0 & 2 & -2 & \mid & 2a + b \\ 0 & 0 & 0 & \mid & 2a + b + 2c \end{pmatrix}

    • The third row produces the equation 0=2a+b+2c0 = 2a + b + 2c.

    • The system has no solution whenever 2a+b+2c≠02a + b + 2c \ne 0. Therefore, these vectors do not span R3\mathbf{R}^3.

Linear Independence and Linear Dependence

  • Formal Definitions:

    • A vector u1\mathbf{u}_1 is linearly dependent on vectors u2\mathbf{u}_2 and u3\mathbf{u}_3 if it can be written as u1=r2u2+r3u3\mathbf{u}_1 = r_2 \mathbf{u}_2 + r_3 \mathbf{u}_3, which reorganizes to:     u1−r2u2−r3u3=0\mathbf{u}_1 - r_2 \mathbf{u}_2 - r_3 \mathbf{u}_3 = \mathbf{0}

    • Given a set of vectors W={u1,u2,…,un}W = \{\mathbf{u}_1, \mathbf{u}_2, \dots, \mathbf{u}_n\}, consider the vector equation:     r1u1+r2u2+⋯+rnun=0r_1 \mathbf{u}_1 + r_2 \mathbf{u}_2 + \dots + r_n \mathbf{u}_n = \mathbf{0}

    • Linearly Independent: The set WW is linearly independent if and only if the equation has only the trivial solution:     r1=r2=⋯=rn=0r_1 = r_2 = \dots = r_n = 0

    • Linearly Dependent: The set WW is linearly dependent if there exists at least one non-trivial solution (where not all ri=0r_i = 0).

  • Example 1: Linear Dependence in R2\mathbf{R}^2:

    • Test vectors u1=(13)\mathbf{u}_1 = \begin{pmatrix} 1 \\ 3 \end{pmatrix} and u2=(−5−15)\mathbf{u}_2 = \begin{pmatrix} -5 \\ -15 \end{pmatrix}.

    • Method 1: By scalar observation, u2=−5u1\mathbf{u}_2 = -5\mathbf{u}_1, confirming immediate linear dependence.

    • Method 2: Using the formal definition:     r1(13)+r2(−5−15)=(00)  ⟹  (r1−5r23r1−15r2)=(00)r_1 \begin{pmatrix} 1 \\ 3 \end{pmatrix} + r_2 \begin{pmatrix} -5 \\ -15 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix} \implies \begin{pmatrix} r_1 - 5r_2 \\ 3r_1 - 15r_2 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}

    • Multiply the top equation by −3-3 and add to the bottom equation:     (−3r1+15r20+0)=(00)\begin{pmatrix} -3r_1 + 15r_2 \\ 0 + 0 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}

    • Parameterize with free variable r2=tr_2 = t for any t∈Rt \in \mathbf{R}. Then r1=5tr_1 = 5t.

    • Because infinitely many non-trivial solutions exist, the vectors are linearly dependent.

  • Example 2: Linear Independence in R3\mathbf{R}^3 via Determinants:

    • Show that u1=(101)\mathbf{u}_1 = \begin{pmatrix} 1 \\ 0 \\ 1 \end{pmatrix}, u2=(012)\mathbf{u}_2 = \begin{pmatrix} 0 \\ 1 \\ 2 \end{pmatrix}, and u3=(−230)\mathbf{u}_3 = \begin{pmatrix} -2 \\ 3 \\ 0 \end{pmatrix} are linearly independent.

    • Form the homogeneous matrix system:     (10−2013120)(r1r2r3)=(000)\begin{pmatrix} 1 & 0 & -2 \\ 0 & 1 & 3 \\ 1 & 2 & 0 \end{pmatrix} \begin{pmatrix} r_1 \\ r_2 \\ r_3 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \\ 0 \end{pmatrix}

    • Calculate the determinant of the coefficient matrix:     ∣10−2013120∣=1(0−6)−0+(−2)(0−1)=−6+2=−4\begin{vmatrix} 1 & 0 & -2 \\ 0 & 1 & 3 \\ 1 & 2 & 0 \end{vmatrix} = 1(0 - 6) - 0 + (-2)(0 - 1) = -6 + 2 = -4

    • Because the determinant is nonzero (−4≠0-4 \ne 0), the square matrix is invertible and the homogeneous system admits only the trivial solution r1=0,r2=0,r3=0r_1 = 0, r_2 = 0, r_3 = 0.

    • Therefore, the vectors are linearly independent.

  • Example 3: Parameter Values for Linear Dependence:

    • Find all values of mm for which u1=(m40)\mathbf{u}_1 = \begin{pmatrix} m \\ 4 \\ 0 \end{pmatrix}, u2=(1−18)\mathbf{u}_2 = \begin{pmatrix} 1 \\ -1 \\ 8 \end{pmatrix}, and u3=(0−1m)\mathbf{u}_3 = \begin{pmatrix} 0 \\ -1 \\ m \end{pmatrix} are linearly dependent.

    • Form the homogeneous matrix system:     (m104−1−108m)(r1r2r3)=(000)\begin{pmatrix} m & 1 & 0 \\ 4 & -1 & -1 \\ 0 & 8 & m \end{pmatrix} \begin{pmatrix} r_1 \\ r_2 \\ r_3 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \\ 0 \end{pmatrix}

    • Compute determinant along the first row:     ∣m104−1−108m∣=m(−m−(−8))−1(4m−0)+0=m(−m+8)−4m=−m2+8m−4m=−m2+4m\begin{vmatrix} m & 1 & 0 \\ 4 & -1 & -1 \\ 0 & 8 & m \end{vmatrix} = m(-m - (-8)) - 1(4m - 0) + 0 = m(-m + 8) - 4m = -m^2 + 8m - 4m = -m^2 + 4m

    • For linear dependence, non-trivial solutions must exist, which requires the determinant to equal zero:     −m2+4m=0  ⟹  m(−m+4)=0-m^2 + 4m = 0 \implies m(-m + 4) = 0

    • Solving yields m=0m = 0 or m=4m = 4.

  • Example 4: Testing Independence in R4\mathbf{R}^4 via Row Reduction:

    • Test whether u1=(110−1)\mathbf{u}_1 = \begin{pmatrix} 1 \\ 1 \\ 0 \\ -1 \end{pmatrix}, u2=(5500)\mathbf{u}_2 = \begin{pmatrix} 5 \\ 5 \\ 0 \\ 0 \end{pmatrix}, and u3=(00−1−1)\mathbf{u}_3 = \begin{pmatrix} 0 \\ 0 \\ -1 \\ -1 \end{pmatrix} are linearly dependent or independent.

    • Set up matrix equation:     (15015000−1−10−1)(r1r2r3)=(0000)\begin{pmatrix} 1 & 5 & 0 \\ 1 & 5 & 0 \\ 0 & 0 & -1 \\ -1 & 0 & -1 \end{pmatrix} \begin{pmatrix} r_1 \\ r_2 \\ r_3 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \end{pmatrix}

    • Apply row reduction to echelon form:     (100010001000)(r1r2r3)=(0000)\begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{pmatrix} \begin{pmatrix} r_1 \\ r_2 \\ r_3 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \end{pmatrix}

    • This yields the system:     r1=0r_1 = 0     r2=0r_2 = 0     r3=0r_3 = 0     0=00 = 0

    • Since the only solution is the trivial solution r1=0,r2=0,r3=0r_1 = 0, r_2 = 0, r_3 = 0, the vectors are linearly independent.

Basis, Coordinates, and Dimension of Vector Spaces

  • Geometric Intuition in 2-Dimensions:

    • In two-dimensional physics and analytical geometry, any vector OP⃗\vec{OP} can be decomposed using orthogonal unit vectors i\mathbf{i} and j\mathbf{j} as OP⃗=xi+yj\vec{OP} = x\mathbf{i} + y\mathbf{j}, where xx and yy are coordinates relative to basis i,j\mathbf{i}, \mathbf{j}.

    • Non-orthogonal extension: Two non-zero vectors v1\mathbf{v}_1 and v2\mathbf{v}_2 need not be unit vectors or orthogonal. Provided they are not parallel (linearly independent), any vector OP⃗\vec{OP} can be uniquely represented via the parallelogram rule as:     OP⃗=av1+bv2\vec{OP} = a\mathbf{v}_1 + b\mathbf{v}_2     where aa and bb represent the coordinates of OP⃗\vec{OP} relative to the basis v1,v2\mathbf{v}_1, \mathbf{v}_2.

  • Formal Definition of a Basis:

    • Let S={v1,v2,…,vn}S = \{\mathbf{v}_1, \mathbf{v}_2, \dots, \mathbf{v}_n\} be a set of vectors in a vector space VV. The set SS is a basis for a subspace WW of VV if:

    • 1. The vectors in SS are linearly independent.

    • 2. The vectors in SS span the subspace WW.

  • Definition of Dimension:

    • If S={v1,v2,…,vn}S = \{\mathbf{v}_1, \mathbf{v}_2, \dots, \mathbf{v}_n\} is a basis for a vector space VV, the dimension of VV, denoted dim⁡(V)\dim(V), is defined as nn, the exact number of vectors contained in the basis.

  • Definition of Coordinates and Coordinate Vectors:

    • Let S={v1,v2,…,vn}S = \{\mathbf{v}_1, \mathbf{v}_2, \dots, \mathbf{v}_n\} be a basis for vector space VV. If vector u∈V\mathbf{u} \in V is expressed as a linear combination of basis vectors:     u=r1v1+r2v2+⋯+rnvn\mathbf{u} = r_1 \mathbf{v}_1 + r_2 \mathbf{v}_2 + \dots + r_n \mathbf{v}_n

    • The coordinate vector of u\mathbf{u} relative to basis SS is the column vector:     [u]S=(r1r2⋮rn)[\mathbf{u}]_S = \begin{pmatrix} r_1 \\ r_2 \\ \vdots \\ r_n \end{pmatrix}

  • Example 1: Determining if a Given Set Forms a Basis for R3\mathbf{R}^3:

    • Determine whether S={(−110),(13−1),(−1−10)}S = \left\{ \begin{pmatrix} -1 \\ 1 \\ 0 \end{pmatrix}, \begin{pmatrix} 1 \\ 3 \\ -1 \end{pmatrix}, \begin{pmatrix} -1 \\ -1 \\ 0 \end{pmatrix} \right\} forms a basis for R3\mathbf{R}^3.

    • Form the homogeneous matrix equation for linear independence:     (−11013−1−1−10)(r1r2r3)=(000)\begin{pmatrix} -1 & 1 & 0 \\ 1 & 3 & -1 \\ -1 & -1 & 0 \end{pmatrix} \begin{pmatrix} r_1 \\ r_2 \\ r_3 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \\ 0 \end{pmatrix}

    • Augmented matrix:     (−110∣013−1∣0−1−10∣0)\begin{pmatrix} -1 & 1 & 0 & \mid & 0 \\ 1 & 3 & -1 & \mid & 0 \\ -1 & -1 & 0 & \mid & 0 \end{pmatrix}

    • Add row 1 to row 2, and add row 1 to row 3:     (−11−1∣0040∣0010∣0)\begin{pmatrix} -1 & 1 & -1 & \mid & 0 \\ 0 & 4 & 0 & \mid & 0 \\ 0 & 1 & 0 & \mid & 0 \end{pmatrix}

    • Add 44 times row 3 to row 2:     (−11−1∣0040∣0000∣0)\begin{pmatrix} -1 & 1 & -1 & \mid & 0 \\ 0 & 4 & 0 & \mid & 0 \\ 0 & 0 & 0 & \mid & 0 \end{pmatrix}

    • Multiply row 1 by −1-1 and row 2 by 14\frac{1}{4} to obtain row echelon form:     (1−11∣0010∣0000∣0)\begin{pmatrix} 1 & -1 & 1 & \mid & 0 \\ 0 & 1 & 0 & \mid & 0 \\ 0 & 0 & 0 & \mid & 0 \end{pmatrix}

    • Columns 1 and 2 contain pivots; r3r_3 is a free variable (0⋅r3=00 \cdot r_3 = 0).

    • Solving in terms of r3r_3:     r2=0r_2 = 0     r1−r2+r3=0  ⟹  r1=−r3r_1 - r_2 + r_3 = 0 \implies r_1 = -r_3

    • General solution:     (r1r2r3)=(−r30r3)\begin{pmatrix} r_1 \\ r_2 \\ r_3 \end{pmatrix} = \begin{pmatrix} -r_3 \\ 0 \\ r_3 \end{pmatrix}

    • Because r3r_3 may assume any real value, an infinite number of non-trivial solutions exist.

    • The vectors in SS are linearly dependent and therefore do NOT form a basis for R3\mathbf{R}^3.

  • Example 2: Dimension and Coordinate Vector Computation:

    • Let subspace WW have basis:     S={(1010),(0210),(11−11)}S = \left\{ \begin{pmatrix} 1 \\ 0 \\ 1 \\ 0 \end{pmatrix}, \begin{pmatrix} 0 \\ 2 \\ 1 \\ 0 \end{pmatrix}, \begin{pmatrix} 1 \\ 1 \\ -1 \\ 1 \end{pmatrix} \right\}     and let u=(4−301)\mathbf{u} = \begin{pmatrix} 4 \\ -3 \\ 0 \\ 1 \end{pmatrix}.

    • (a) Dimension of Subspace WW:

    • The basis SS contains exactly 3 vectors; thus, dim⁡(W)=3\dim(W) = 3.

    • (b) Coordinates of u\mathbf{u} Relative to Basis SS:

    • Find constants r1,r2,r3r_1, r_2, r_3 such that:       r1(1010)+r2(0210)+r3(11−11)=(4−301)r_1 \begin{pmatrix} 1 \\ 0 \\ 1 \\ 0 \end{pmatrix} + r_2 \begin{pmatrix} 0 \\ 2 \\ 1 \\ 0 \end{pmatrix} + r_3 \begin{pmatrix} 1 \\ 1 \\ -1 \\ 1 \end{pmatrix} = \begin{pmatrix} 4 \\ -3 \\ 0 \\ 1 \end{pmatrix}

    • Set up augmented matrix:       (101∣4021∣−311−1∣0001∣1)\begin{pmatrix} 1 & 0 & 1 & \mid & 4 \\ 0 & 2 & 1 & \mid & -3 \\ 1 & 1 & -1 & \mid & 0 \\ 0 & 0 & 1 & \mid & 1 \end{pmatrix}

    • Row reduce to reduced row echelon form:       (100∣3010∣−2001∣1000∣0)\begin{pmatrix} 1 & 0 & 0 & \mid & 3 \\ 0 & 1 & 0 & \mid & -2 \\ 0 & 0 & 1 & \mid & 1 \\ 0 & 0 & 0 & \mid & 0 \end{pmatrix}

    • The solution yields r1=3r_1 = 3, r2=−2r_2 = -2, and r3=1r_3 = 1.

    • The coordinate vector is:       [u]S=(3−21)[\mathbf{u}]_S = \begin{pmatrix} 3 \\ -2 \\ 1 \end{pmatrix}

  • Example 3: Extracting a Basis from a Spanning Set:

    • Find a basis for the subspace of R3\mathbf{R}^3 spanned by:     (112),(−1−2−7),(10−3),(206)\begin{pmatrix} 1 \\ 1 \\ 2 \end{pmatrix}, \quad \begin{pmatrix} -1 \\ -2 \\ -7 \end{pmatrix}, \quad \begin{pmatrix} 1 \\ 0 \\ -3 \end{pmatrix}, \quad \begin{pmatrix} 2 \\ 0 \\ 6 \end{pmatrix}

    • Construct a matrix using the spanning vectors as columns:     (1−1121−2002−7−36)\begin{pmatrix} 1 & -1 & 1 & 2 \\ 1 & -2 & 0 & 0 \\ 2 & -7 & -3 & 6 \end{pmatrix}

    • Reduce to row echelon form:     (102001100001)\begin{pmatrix} 1 & 0 & 2 & 0 \\ 0 & 1 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{pmatrix}

    • Pivots reside in columns 1, 2, and 4.

    • The corresponding original column vectors form a basis for the subspace:     {(112),(−1−2−7),(206)}\left\{ \begin{pmatrix} 1 \\ 1 \\ 2 \end{pmatrix}, \begin{pmatrix} -1 \\ -2 \\ -7 \end{pmatrix}, \begin{pmatrix} 2 \\ 0 \\ 6 \end{pmatrix} \right\}