Study Notes on Vector Spaces and Linear Transformations

Definition of Vector Spaces

  • A nonempty set VV is said to be a vector space over a field KK if it satisfies the following axioms:

    • (V,+)(V, +) is an abelian group.

    • Scalar Multiplication Closure: k⋅u∈Vk \cdot u \in V for all u∈Vu \in V and k∈Fk \in F.

    • Distributive Law 1: k⋅(u+v)=k⋅u+k⋅vk \cdot (u + v) = k \cdot u + k \cdot v.

    • Distributive Law 2: (k1+k2)⋅u=k1⋅u+k2⋅u(k_1 + k_2) \cdot u = k_1 \cdot u + k_2 \cdot u.

    • Associativity of Scalars: (k1k2)⋅u=k1⋅(k2⋅u)(k_1 k_2) \cdot u = k_1 \cdot (k_2 \cdot u).

    • Scalar Identity: 1⋅u=u1 \cdot u = u.

Subspaces

  • Definition: A non-empty subset of a vector space that satisfies all the properties of the vector space over the same field under the same vector addition and scalar multiplication is called a subspace.

  • Property-1: A nonempty set WW is a subspace of a vector space VV over a field KK if:

    • The zero vector is in WW.

    • Closure under addition and scalar multiplication: u+v∈Wu + v \in W and ku∈Wku \in W for all u,v∈Wu, v \in W and k∈Kk \in K.

    • Equivalent condition: au+bv∈Wau + bv \in W for u,v∈Wu, v \in W and a,b∈Ka, b \in K.

  • Problems on Subspaces:

    • Determine if the following subsets of R2\mathbb{R}^2 are subspaces:

      • W1W_1: Vectors of the form (x,y)(x, y), where x≥0x \ge 0.

      • W2W_2: Vectors of the form (x,y)(x, y), where x≥0x \ge 0 and y≥0y \ge 0.

      • W3W_3: Vectors of the form (x,y)(x, y), where x=0x = 0.

      • W4W_4: Vectors of the form (x,y)(x, y), where xy=0xy = 0.

      • W5W_5: Vectors of the form (3s,2+5s)(3s, 2 + 5s) for s∈Rs \in \mathbb{R}.

    • Determine if WW is a subspace of R3\mathbb{R}^3 consisting of vectors (a,b,c)(a, b, c) such that:

      • a=3ba = 3b

      • a≤b≤ca \le b \le c

      • ab=0ab = 0

      • a+b+c=0a + b + c = 0

      • b=a2b = a^2

      • a=2b=3ca = 2b = 3c

      • a+b+c=3a + b + c = 3

      • a≥0a \ge 0

      • a2+b2+c2≤1a^2 + b^2 + c^2 \le 1

    • Determine if W={(α,4α,5α):α is any scalar}W = \{(\alpha, 4\alpha, 5\alpha) : \alpha \text{ is any scalar}\} is a subspace of R3\mathbb{R}^3.

    • Determine if the subset of matrices of the form [aabb]\begin{bmatrix} a & a \\ b & b \end{bmatrix} is a subspace.

    • Determine if W={p(x)=a+bx2∣a,b∈R}W = \{p(x) = a + bx^2 \mid a, b \in \mathbb{R}\} is a subspace of P2P_2.

Linear Combination and Linear Span

  • Linear Combination: A vector vv is said to be the linear combination of a set of vectors S={u1,u2,…,un}S = \{u_1, u_2, \dots, u_n\} if v=c1u1+c2u2+⋯+cnunv = c_1 u_1 + c_2 u_2 + \dots + c_n u_n for all cic_i in FF.

  • Spanning Sets or Linear Span: Consider a subset S={u1,u2,…,un}S = \{u_1, u_2, \dots, u_n\} of a vector space VV over a field FF. The collection of all possible linear combinations of vectors in SS is called the linear span of SS, denoted by span(S)=span(ui)span(S) = span(u_i). span(S)span(S) is a subspace of VV.

  • Problems on Spanning Sets:

    • Verify if vv in R3\mathbb{R}^3 is a linear combination of vectors u1,u2,u_1, u_2, and u3u_3 (or in Span(S)Span(S)):

      • a. v=(1,−2,5),u1=(1,1,1),u2=(1,2,3),u3=(2,−1,1)v = (1, -2, 5), u_1 = (1, 1, 1), u_2 = (1, 2, 3), u_3 = (2, -1, 1).

      • b. v=(2,−5,3),u1=(1,−3,2),u2=(2,−4,−1),u3=(1,−5,7)v = (2, -5, 3), u_1 = (1, -3, 2), u_2 = (2, -4, -1), u_3 = (1, -5, 7).

      • c. v=(4,−9,2),u1=(1,2,−1),u2=(1,4,2),u3=(1,−3,2)v = (4, -9, 2), u_1 = (1, 2, -1), u_2 = (1, 4, 2), u_3 = (1, -3, 2).

      • d. v=(1,3,2),u1=(1,2,1),u2=(2,6,5),u3=(1,7,8)v = (1, 3, 2), u_1 = (1, 2, 1), u_2 = (2, 6, 5), u_3 = (1, 7, 8).

      • e. v=(1,4,6),u1=(1,1,2),u2=(2,3,5),u3=(3,5,8)v = (1, 4, 6), u_1 = (1, 1, 2), u_2 = (2, 3, 5), u_3 = (3, 5, 8).

    • Find kk such that v=(1,−2,k)v = (1, -2, k) is a linear combination of (3,0,−2)(3, 0, -2) and (2,−1,−5)(2, -1, -5).

    • Express polynomial v=t2+4t−3v = t^2 + 4t - 3 in P(t)P(t) as a linear combination of p1=t2−2t+5p_1 = t^2 - 2t + 5, p2=2t2−3tp_2 = 2t^2 - 3t, and p3=t+1p_3 = t + 1.

    • Express matrix M=[4779]M = \begin{bmatrix} 4 & 7 \\ 7 & 9 \end{bmatrix} as a linear combination of A=[1111]A = \begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix}, B=[1234]B = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}, and C=[1145]C = \begin{bmatrix} 1 & 1 \\ 4 & 5 \end{bmatrix}.

    • Check if the following polynomials are in span(p1,p2,p3)span(p_1, p_2, p_3) where p1=t2+t2p_1 = t^2 + t^2, p2=t2+tp_2 = t^2 + t, and p3=t+tp_3 = t + t:

      • i) p(t)=t2+t2+tp(t) = t^2 + t^2 + t

      • ii) p(t)=2t2−tp(t) = 2t^2 - t

      • iii) p(t)=2t2+1p(t) = 2t^2 + 1

Linear Dependence and Independence

  • Definition: Consider S={u1,u2,…,un}S = \{u_1, u_2, \dots, u_n\} as a subset of a vector space VV.

    • Linearly Dependent: The set SS is linearly dependent if there exists at least one non-zero scalar cic_i such that c1u1+c2u2+⋯+cnun=0c_1 u_1 + c_2 u_2 + \dots + c_n u_n = 0.

    • Linearly Independent: If such non-zero scalars do not exist (all ci=0c_i = 0), the set is linearly independent.

  • Key Properties:

    • Property-1: Any set of vectors containing the zero vector is a linearly dependent set.

    • Property-2: Any set with more than one vector is linearly dependent if and only if one of them is a linear combination of the other vectors.

  • Problems on Linear Dependence:

    • Determine linear dependence in R3\mathbb{R}^3:

      • a) u1=(1,2,3),u2=(0,0,0),u3=(1,5,6)u_1 = (1, 2, 3), u_2 = (0, 0, 0), u_3 = (1, 5, 6).

      • b) u=(1,1,2),v=(2,3,1),w=(4,5,5)u = (1, 1, 2), v = (2, 3, 1), w = (4, 5, 5).

      • c) u1=(1,2,5),u2=(1,3,1),u3=(2,5,7),u4=(3,1,4)u_1 = (1, 2, 5), u_2 = (1, 3, 1), u_3 = (2, 5, 7), u_4 = (3, 1, 4).

      • d) u1=(1,2,5),u2=(2,5,1),u3=(1,5,2)u_1 = (1, 2, 5), u_2 = (2, 5, 1), u_3 = (1, 5, 2).

    • Determine linear dependence in R4\mathbb{R}^4:

      • a. (1,2,−3,1),(3,7,1,−2),(1,3,7,−4)(1, 2, -3, 1), (3, 7, 1, -2), (1, 3, 7, -4).

      • b. (1,3,1,−2),(2,5,−1,3),(1,3,7,−2)(1, 3, 1, -2), (2, 5, -1, 3), (1, 3, 7, -2).

    • Determine linear dependence for polynomials in P(t)P(t):

      • a. u=t3−4t2+3t+3,v=t3+2t2+4t−1,w=2t3−t2−3t+5u = t^3 - 4t^2 + 3t + 3, v = t^3 + 2t^2 + 4t - 1, w = 2t^3 - t^2 - 3t + 5.

      • b. u=t3−5t2−2t+3,v=t3−4t2−3t+4,w=2t3−17t2−7t+9u = t^3 - 5t^2 - 2t + 3, v = t^3 - 4t^2 - 3t + 4, w = 2t^3 - 17t^2 - 7t + 9.

      • c. u=t2+t,v=2t2+2t,w=t2+tu = t^2 + t, v = 2t^2 + 2t, w = t^2 + t.

      • d. u=1,v=t,w=1+tu = 1, v = t, w = 1 + t.

Basis and Dimension

  • Basis Definition: A nonempty subset B={u1,u2,…,un}B = \{u_1, u_2, \dots, u_n\} of a vector space VV over a field KK is a basis of VV if:

    • BB is a linearly independent set.

    • span(B)=Vspan(B) = V.

  • Dimension Definition: The number of vectors in the basis is called the dimension of VV, denoted by dim(V)=ndim(V) = n.

  • Key Properties:

    • Property-1: Any basis of a vector space will have the same number of vectors.

    • Property-2: In an nn-dimensional vector space, any set containing more than nn vectors is linearly dependent.

    • Property-3: Any linearly independent set with less than nn vectors cannot span the vector space VV, but can be extended to a basis.

  • Problems on Basis/Dimension:

    • Check if these form a basis of R3\mathbb{R}^3:

      • a. (1,1,1),(1,0,1)(1, 1, 1), (1, 0, 1).

      • b. (1,1,1),(1,2,3),(2,−1,1)(1, 1, 1), (1, 2, 3), (2, -1, 1).

    • Check if (1,1,1,1),(1,2,3,2),(2,5,6,4),(2,6,8,5)(1, 1, 1, 1), (1, 2, 3, 2), (2, 5, 6, 4), (2, 6, 8, 5) form a basis of R4\mathbb{R}^4. If not, find the dimension of their span.

    • Find basis and dimension for row space, column space, and null space of matrices:

      • Hint: rowsp(A)=span(Ri)rowsp(A) = span(R_i), colsp(A)=span(Ci)colsp(A) = span(C_i), nullsp(A)=solution space of AX=0nullsp(A) = \text{solution space of } AX = 0.

      • i. [12−1−2024−11036−14000150]\begin{bmatrix} 1 & 2 & -1 & -2 & 0 \\ 2 & 4 & -1 & 1 & 0 \\ 3 & 6 & -1 & 4 & 0 \\ 0 & 0 & 1 & 5 & 0 \end{bmatrix}

      • ii. [1−34−2542−69−1822−69197−13−42−5−4]\begin{bmatrix} 1 & -3 & 4 & -2 & 5 & 4 \\ 2 & -6 & 9 & -1 & 8 & 2 \\ 2 & -6 & 9 & 1 & 9 & 7 \\ -1 & 3 & -4 & 2 & -5 & -4 \end{bmatrix}

      • iii. [1−11322−115101−1−1−3]\begin{bmatrix} 1 & -1 & 1 & 3 & 2 \\ 2 & -1 & 1 & 5 & 1 \\ 0 & 1 & -1 & -1 & -3 \end{bmatrix}

      • iv. [003141312139452412887]\begin{bmatrix} 0 & 0 & 3 & 1 & 4 \\ 1 & 3 & 1 & 2 & 1 \\ 3 & 9 & 4 & 5 & 2 \\ 4 & 12 & 8 & 8 & 7 \end{bmatrix}

    • Extension: Extend {u1=(1,1,1,1),u2=(2,2,3,4)}\{u_1 = (1, 1, 1, 1), u_2 = (2, 2, 3, 4)\} to a basis of R4\mathbb{R}^4.

    • Find a subset of SS that forms a basis for W=span(ui)W = span(u_i):

      • a. u1=(1,1,1,2,3),u2=(1,2,−1,−2,1),u3=(3,5,−1,−2,5),u4=(1,2,1,−1,4)u_1 = (1, 1, 1, 2, 3), u_2 = (1, 2, -1, -2, 1), u_3 = (3, 5, -1, -2, 5), u_4 = (1, 2, 1, -1, 4).

      • b. u1=(1,−2,1,3,−1),u2=(−2,4,−2,−6,2),u3=(1,−3,1,2,1),u4=(3,−7,3,8,−1)u_1 = (1, -2, 1, 3, -1), u_2 = (-2, 4, -2, -6, 2), u_3 = (1, -3, 1, 2, 1), u_4 = (3, -7, 3, 8, -1).

    • Find basis and dimension of subspace WW spanned by:

      • a. u=t3+2t2−2t+1,v=t3+3t2−3t+4,w=2t3+t2−7t−7u = t^3 + 2t^2 - 2t + 1, v = t^3 + 3t^2 - 3t + 4, w = 2t^3 + t^2 - 7t - 7 in P3(t)P_3(t).

      • b. u=t3+t2−3t+2,v=2t3+t2+t−4,w=4t3+3t2−5t+2u = t^3 + t^2 - 3t + 2, v = 2t^3 + t^2 + t - 4, w = 4t^3 + 3t^2 - 5t + 2 in P3(t)P_3(t).

      • c. A=[1−5−42],B=[11−15],C=[2−4−57],D=[1−7−51]A = \begin{bmatrix} 1 & -5 \\ -4 & 2 \end{bmatrix}, B = \begin{bmatrix} 1 & 1 \\ -1 & 5 \end{bmatrix}, C = \begin{bmatrix} 2 & -4 \\ -5 & 7 \end{bmatrix}, D = \begin{bmatrix} 1 & -7 \\ -5 & 1 \end{bmatrix} in V=M2,2V = M_{2,2}.

Coordinate Vectors

  • Definition: Let VV be an nn-dimensional vector space over KK with basis S={u1,u2,…,un}S = \{u_1, u_2, \dots, u_n\}. Any vector v∈Vv \in V can be expressed as v=c1u1+c2u2+⋯+cnunv = c_1 u_1 + c_2 u_2 + \dots + c_n u_n. The scalars c1,c2,…,cnc_1, c_2, \dots, c_n are coordinates of vv relative to basis SS. The coordinate vector is denoted [v]S=[c1,c2,…,cn][v]_S = [c_1, c_2, \dots, c_n].

  • Problems on Coordinate Vectors:

    • Given basis S={u1=(1,2),u2=(4,7)}S = \{u_1 = (1, 2), u_2 = (4, 7)\} of R2\mathbb{R}^2, find [v]S[v]_S for v=(5,3)v = (5, 3).

    • Find coordinate vector of v=(5,3,4)v = (5, 3, 4) in R3\mathbb{R}^3 relative to:

      • i) S={u1=(1,1,0),u2=(1,1,0),u3=(0,1,1)}S = \{u_1 = (1, 1, 0), u_2 = (1, 1, 0), u_3 = (0, 1, 1)\}.

      • ii) S={u1=(1,1,1),u2=(1,1,0),u3=(1,0,0)}S = \{u_1 = (1, 1, 1), u_2 = (1, 1, 0), u_3 = (1, 0, 0)\}.

    • Find [v]S[v]_S if v=(1,2,5)v = (1, 2, 5) and S={u1=(1,1,1),u2=(1,2,3),u3=(2,−1,1)}S = \{u_1 = (1, 1, 1), u_2 = (1, 2, 3), u_3 = (2, -1, 1)\}.

    • Find [v]S[v]_S if v=(2,7,4)v = (2, 7, 4) and S={u1=(1,2,0),u2=(1,3,2),u3=(0,1,3)}S = \{u_1 = (1, 2, 0), u_2 = (1, 3, 2), u_3 = (0, 1, 3)\}.

    • Coordinates of arbitrary v=(10,4,2,0)v = (10, 4, 2, 0) in R4\mathbb{R}^4 relative to S={(1,1,1,1),(1,1,−1,−1),(1,−1,1,−1),(1,−1,−1,1)}S = \{(1, 1, 1, 1), (1, 1, -1, -1), (1, -1, 1, -1), (1, -1, -1, 1)\}.

    • Coordinates of arbitrary v=(4,7,7,9)v = (4, 7, 7, 9) in R4\mathbb{R}^4 relative to S={(1,1,1,1),(1,2,3,4),(1,1,4,5),(0,0,0,1)}S = \{(1, 1, 1, 1), (1, 2, 3, 4), (1, 1, 4, 5), (0, 0, 0, 1)\}.

    • For basis S={(t−1)3,(t−1)2,(t−1),1}S = \{(t - 1)^3, (t - 1)^2, (t - 1), 1\} of P3(t)P_3(t), find [v]S[v]_S for v=t3+3t2−4t+25v = t^3 + 3t^2 - 4t + 25.

    • For basis S={t2+1,t−1,(t−1)2}S = \{t^2 + 1, t - 1, (t - 1)^2\} of P2(t)P_2(t), find [v]S[v]_S for v=2t2+5t+9v = 2t^2 + 5t + 9.

    • For basis S={t3+t2,t2+t,t+1,1}S = \{t^3 + t^2, t^2 + t, t + 1, 1\} of P3(t)P_3(t), find [v]S[v]_S for v=t3+3t2−4t+25v = t^3 + 3t^2 - 4t + 25.

    • Find coordinate vector for A=[234−7]A = \begin{bmatrix} 2 & 3 \\ 4 & -7 \end{bmatrix} in M2,2M_{2,2} relative to:

      • i) Basis S={[1−111],[1−110],[1−100],[1000]}S = \left\{ \begin{bmatrix} 1 & -1 \\ 1 & 1 \end{bmatrix}, \begin{bmatrix} 1 & -1 \\ 1 & 0 \end{bmatrix}, \begin{bmatrix} 1 & -1 \\ 0 & 0 \end{bmatrix}, \begin{bmatrix} 1 & 0 \\ 0 & 0 \end{bmatrix} \right\}.

      • ii) Usual basis S={[1000],[0100],[0010],[0001]}S = \left\{ \begin{bmatrix} 1 & 0 \\ 0 & 0 \end{bmatrix}, \begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}, \begin{bmatrix} 0 & 0 \\ 1 & 0 \end{bmatrix}, \begin{bmatrix} 0 & 0 \\ 0 & 1 \end{bmatrix} \right\}.

    • For M=M2,2M = M_{2,2}, find [A]S[A]_S for A=[234−7]A = \begin{bmatrix} 2 & 3 \\ 4 & -7 \end{bmatrix} relative to S={[1−111],[1−110],[1−100],[1000]}S = \left\{ \begin{bmatrix} 1 & -1 \\ 1 & 1 \end{bmatrix}, \begin{bmatrix} 1 & -1 \\ 1 & 0 \end{bmatrix}, \begin{bmatrix} 1 & -1 \\ 0 & 0 \end{bmatrix}, \begin{bmatrix} 1 & 0 \\ 0 & 0 \end{bmatrix} \right\}.