2 Session 1 — Vector Spaces and Linear Maps
The central idea of this session is that a linear map acts on vectors, while a matrix describes that action in chosen coordinates. Bases connect these two viewpoints. Kernel, image, rank, and nullity describe what the map loses and what it can produce.
Allow approximately 35–40 minutes for the notes and worked examples, followed by 20–25 minutes for the exercises. The aim is to reconstruct the reasoning, not simply read the formulas.
Throughout, vector spaces are finite-dimensional over \(\mathbb F=\mathbb R\) or \(\mathbb C\), and coordinate vectors are columns.
2.1 Subspaces and span
A vector space is a set whose elements can be added and multiplied by scalars, obeying the usual distributive and associative laws, with a zero vector and additive inverses. Examples include \(\mathbb R^n\), \(\mathbb C^n\), and the space \[ \mathcal P_2=\{a+bt+ct^2:a,b,c\in\mathbb F\} \] of polynomials of degree at most two.
The important point is that a “vector” need not be an arrow: it can be a polynomial, a function, or a matrix.
Subspaces
A subset \(U\subseteq V\) is a subspace if it is itself a vector space under the operations inherited from \(V\).
To check this, it suffices to verify \[ 0\in U, \qquad \alpha u+\beta v\in U \quad\text{for all }u,v\in U,\ \alpha,\beta\in\mathbb F. \]
Thus a subspace is closed under linear combinations. Over \(\mathbb R\), lines and planes through the origin are familiar examples.
Span
The span of vectors \(v_1,\ldots,v_k\) is \[ \operatorname{span}\{v_1,\ldots,v_k\} = \left\{\sum_{j=1}^k c_jv_j:c_j\in\mathbb F\right\}. \]
It consists of all vectors obtainable by combining the given vectors. It is the smallest subspace containing them: any subspace containing the generators must also contain all their linear combinations.
Worked example: generators and constraints
Let \[ u=\begin{pmatrix}1\\0\\1\end{pmatrix}, \qquad v=\begin{pmatrix}0\\1\\1\end{pmatrix}, \qquad w=\begin{pmatrix}1\\1\\2\end{pmatrix}. \] Because \(w=u+v\), \[ \operatorname{span}\{u,v,w\}=\operatorname{span}\{u,v\}. \]
Moreover, \[ \alpha u+\beta v = \begin{pmatrix}\alpha\\\beta\\\alpha+\beta\end{pmatrix}, \] so this span is exactly \[ U=\left\{x\in\mathbb R^3:x_3=x_1+x_2\right\}. \]
We have described the same plane in two ways:
- By generators: \(U=\operatorname{span}\{u,v\}\).
- By a homogeneous constraint: \(x_3-x_1-x_2=0\).
Replacing the constraint by \(x_3-x_1-x_2=1\) gives a translated plane. It is not a subspace because it does not contain zero.
2.2 Independence, bases, and dimension
Span answers: Which vectors can we represent?
Linear independence answers: Is the representation unique?
Linear independence
A family \(v_1,\ldots,v_k\) is linearly independent if \[ \sum_{j=1}^k c_jv_j=0 \quad\Longrightarrow\quad c_1=\cdots=c_k=0. \]
Otherwise it is linearly dependent.
A nontrivial dependence relation allows at least one vector to be expressed using the others. Indeed, if \(c_\ell\ne0\), then \[ v_\ell=-\sum_{j\ne\ell}\frac{c_j}{c_\ell}v_j. \]
Thus dependence means redundancy. It does not require two of the vectors to be parallel.
Bases and coordinates
An ordered family \[ \mathcal B=(b_1,\ldots,b_n) \] is a basis of \(V\) if it is independent and spans \(V\).
Every \(x\in V\) then has a unique representation \[ x=\xi_1b_1+\cdots+\xi_nb_n. \] Its coordinate vector relative to \(\mathcal B\) is \[ [x]_{\mathcal B} = \begin{pmatrix}\xi_1\\\vdots\\\xi_n\end{pmatrix}. \]
Why unique? If two coefficient lists represent \(x\), subtracting the representations gives a zero linear combination of the basis vectors. Independence forces the corresponding coefficients to agree.
Consequently:
Spanning guarantees existence of coordinates; independence guarantees uniqueness.
In the preceding example, \(u,v\) are independent because \[ \alpha u+\beta v=0 \] forces \(\alpha=\beta=0\) from the first two components. Hence \((u,v)\) is a basis of \(U\), and \[ \left[ \begin{pmatrix}a\\b\\a+b\end{pmatrix} \right]_{(u,v)} = \begin{pmatrix}a\\b\end{pmatrix}. \]
The vector has three ambient components but only two coordinates within the plane.
Dimension
Theorem. Every basis of a finite-dimensional vector space has the same number of elements. This number is its dimension.
Two related facts are particularly useful:
- Every independent family can be extended to a basis.
- Every finite spanning family contains a basis.
For the first, repeatedly append a vector outside the current span. For the second, repeatedly remove a redundant vector. The underlying counting principle is that an independent family cannot contain more vectors than a spanning family; applying this to two bases in both directions proves that their lengths agree.
Therefore, in a space of dimension \(n\):
- Any \(n\) independent vectors form a basis.
- Any \(n\) spanning vectors form a basis.
- More than \(n\) vectors are dependent.
- Fewer than \(n\) vectors cannot span.
The zero space \(\{0\}\) has dimension zero and the empty basis. The family consisting of the zero vector is not independent.
A basis stored as a matrix
For vectors \(b_j\in\mathbb F^m\), write \[ B=\begin{pmatrix}b_1&\cdots&b_k\end{pmatrix} \in\mathbb F^{m\times k}. \] Then \[ Bc=\sum_{j=1}^k c_jb_j. \]
Thus matrix–vector multiplication constructs a vector from its coefficients.
If the columns are independent, they form a basis of their column span, and \[ x=B[x]_{\mathcal B} \qquad(x\in\operatorname{span}\{b_1,\ldots,b_k\}). \]
A basis matrix for a subspace can be rectangular. It need not possess a two-sided inverse.
2.3 Linear maps and their matrix representations
A map \(T:V\to W\) is linear if \[ T(\alpha x+\beta y)=\alpha T(x)+\beta T(y). \] In particular, \(T(0)=0\).
Linearity implies that a map is completely determined by its values on a basis: \[ T\left(\sum_j\xi_jb_j\right) = \sum_j\xi_jT(b_j). \]
Constructing the representing matrix
Choose bases \[ \mathcal B=(b_1,\ldots,b_n)\quad\text{of }V, \qquad \mathcal C=(c_1,\ldots,c_m)\quad\text{of }W. \]
The matrix \[ A=[T]_{\mathcal C\leftarrow\mathcal B} \] is defined by taking the coordinates of \(T(b_j)\) as its \(j\)-th column: \[ A= \begin{pmatrix} [T(b_1)]_{\mathcal C}&\cdots&[T(b_n)]_{\mathcal C} \end{pmatrix}. \]
Then \[ \boxed{[T(x)]_{\mathcal C}=A[x]_{\mathcal B}.} \]
This is the fundamental relationship:
The map takes vectors to vectors; its matrix takes input coordinates to output coordinates.
In standard bases, \(Ae_j\) is simply the \(j\)-th column of \(A\).
Worked example: differentiation
Consider \[ D:\mathcal P_2\longrightarrow\mathcal P_1, \qquad D(p)=p'. \] Choose \[ \mathcal B=(1,t,t^2), \qquad \mathcal C=(1,t). \] Since \[ D(1)=0,\qquad D(t)=1,\qquad D(t^2)=2t, \] we obtain \[ [D]_{\mathcal C\leftarrow\mathcal B} = \begin{pmatrix} 0&1&0\\ 0&0&2 \end{pmatrix}. \]
Indeed, \[ \begin{pmatrix} 0&1&0\\ 0&0&2 \end{pmatrix} \begin{pmatrix}a\\b\\c\end{pmatrix} = \begin{pmatrix}b\\2c\end{pmatrix}, \] which represents the derivative of \(a+bt+ct^2\).
The matrix has three columns because the domain has dimension three, and two rows because the codomain has dimension two.
2.4 Kernel, image, and solvability
For a linear map \(T:V\to W\), define \[ \ker T=\{x\in V:T(x)=0\}, \] and \[ \operatorname{im}T = \operatorname{ran}T = \{T(x):x\in V\}. \]
The kernel consists of input directions erased by the map. The image, also called the range, consists of attainable outputs.
Both are subspaces. For example, if \(u,v\in\ker T\), then \[ T(\alpha u+\beta v)=\alpha T(u)+\beta T(v)=0. \] For the image, \[ \alpha T(u)+\beta T(v)=T(\alpha u+\beta v) \] is again an attainable output.
Define \[ \operatorname{nullity}T=\dim\ker T, \qquad \operatorname{rank}T=\dim\operatorname{im}T. \]
For \(A\in\mathbb F^{m\times n}\), regarded as the map \(x\mapsto Ax\), \[ \ker A\subseteq\mathbb F^n, \qquad \operatorname{im}A\subseteq\mathbb F^m. \] Since \(Ax=\sum_jx_ja_j\), \[ \operatorname{im}A=\operatorname{span}\{a_1,\ldots,a_n\}. \]
Solvability and all solutions
The equation \(T(x)=b\) is solvable exactly when \[ b\in\operatorname{im}T. \]
If \(x_p\) is one solution, then \[ \boxed{\{x:T(x)=b\}=x_p+\ker T.} \]
Proof. \[ T(x)=b=T(x_p) \iff T(x-x_p)=0 \iff x-x_p\in\ker T. \]
The kernel therefore describes the ambiguity in reconstructing an input from an output. A nonempty solution set is a translate of the kernel; for \(b\ne0\), it is not a subspace.
Injectivity and surjectivity
A map is injective if equal outputs imply equal inputs. Because \[ T(x)=T(y)\iff x-y\in\ker T, \] we have \[ \boxed{T\text{ injective}\iff\ker T=\{0\}.} \]
A map is surjective if every vector in its codomain is attained: \[ \boxed{T\text{ surjective}\iff\operatorname{im}T=W.} \]
For differentiation, \[ \ker D=\operatorname{span}\{1\}, \qquad \operatorname{im}D=\mathcal P_1. \] Thus \(D:\mathcal P_2\to\mathcal P_1\) is surjective but not injective: differentiation loses the constant term.
For instance, \[ p'=2+6t \quad\Longleftrightarrow\quad p(t)=2t+3t^2+c. \]
Worked example: a complete rectangular system
Consider \[ A= \begin{pmatrix} 1&2&0&1\\ 0&0&1&1\\ 1&2&1&2 \end{pmatrix}, \qquad A:\mathbb R^4\to\mathbb R^3. \]
Subtracting rows 1 and 2 from row 3 gives \[ R= \begin{pmatrix} 1&2&0&1\\ 0&0&1&1\\ 0&0&0&0 \end{pmatrix}. \]
The pivots lie in columns 1 and 3. Variables \(x_2,x_4\) are free.
Kernel. Set \(x_2=s\), \(x_4=t\). The homogeneous equations give \[ x_1=-2s-t,\qquad x_3=-t. \] Hence \[ x= s\begin{pmatrix}-2\\1\\0\\0\end{pmatrix} + t\begin{pmatrix}-1\\0\\-1\\1\end{pmatrix}. \] These vectors span the kernel and are independent: their second and fourth components recover \(s,t\). Therefore \[ \ker A= \operatorname{span}\left\{ \begin{pmatrix}-2\\1\\0\\0\end{pmatrix}, \begin{pmatrix}-1\\0\\-1\\1\end{pmatrix} \right\}, \qquad \operatorname{nullity}A=2. \]
Image. Take the pivot columns of the original matrix: \[ a_1=\begin{pmatrix}1\\0\\1\end{pmatrix}, \qquad a_3=\begin{pmatrix}0\\1\\1\end{pmatrix}. \] They are independent, and \[ a_2=2a_1,\qquad a_4=a_1+a_3. \] Thus \[ \operatorname{im}A=\operatorname{span}\{a_1,a_3\} = \left\{b\in\mathbb R^3:b_3=b_1+b_2\right\}, \qquad \operatorname{rank}A=2. \]
Solvability. Applying the row operation to the augmented matrix gives \[ \left( \begin{array}{cccc|c} 1&2&0&1&b_1\\ 0&0&1&1&b_2\\ 0&0&0&0&b_3-b_1-b_2 \end{array} \right). \] Therefore, \[ Ax=b\text{ is solvable}\iff b_3=b_1+b_2. \]
For \(b=(3,2,5)^T\), one solution is \(x_p=(3,0,2,0)^T\), and every solution is \[ x= \begin{pmatrix}3\\0\\2\\0\end{pmatrix} +s\begin{pmatrix}-2\\1\\0\\0\end{pmatrix} +t\begin{pmatrix}-1\\0\\-1\\1\end{pmatrix}. \] For \(b=(3,2,6)^T\), no solution exists.
Why use the original pivot columns?
Row operations produce \(R=EA\), where \(E\) is invertible. Consequently, \[ Rx=0\iff Ax=0, \] so the kernel is unchanged.
They also preserve relations among columns: \[ \sum_jc_jEa_j=0 \iff \sum_jc_ja_j=0. \] Thus pivot-column indices identify independent spanning columns in the original matrix.
However, \[ \operatorname{im}R=E(\operatorname{im}A), \] which is generally a different subspace. Here \(\operatorname{im}R\) is the plane \(b_3=0\), while \(\operatorname{im}A\) is the plane \(b_3=b_1+b_2\).
2.5 The rank–nullity theorem
Theorem. For a linear map \(T:V\to W\), \[ \boxed{\dim\ker T+\dim\operatorname{im}T=\dim V.} \]
Proof by extending a kernel basis
Let \(k_1,\ldots,k_q\) be a basis of \(\ker T\). Extend it to a basis of \(V\): \[ (k_1,\ldots,k_q,v_1,\ldots,v_{n-q}), \qquad n=\dim V. \]
We show that \[ T(v_1),\ldots,T(v_{n-q}) \] form a basis of the image.
They span the image. Every input can be expanded in the extended basis. Applying \(T\) annihilates all kernel terms, leaving a combination of the \(T(v_j)\).
They are independent. Suppose \[ \sum_j\alpha_jT(v_j)=0. \] Then \[ \sum_j\alpha_jv_j\in\ker T, \] so it equals some \(\sum_i\beta_i k_i\). Therefore \[ \sum_j\alpha_jv_j-\sum_i\beta_i k_i=0. \] Independence of the extended basis forces every coefficient to vanish.
Hence \[ \dim\operatorname{im}T=n-q, \] which proves the theorem.
Interpretation and consequences
There are \(q\) independent input directions that the map erases. The remaining \(n-q\) basis directions produce independent outputs.
This is a dimension statement. It does not say that kernel and image belong to the same ambient space or are orthogonal.
For the preceding \(3\times4\) example, \[ \operatorname{rank}A+\operatorname{nullity}A=2+2=4, \] the number of columns, which is the domain dimension.
For \(A\in\mathbb F^{m\times n}\), with rank \(r\):
| Property | Equivalent condition | Meaning for \(Ax=b\) |
|---|---|---|
| Injective | \(r=n\), full column rank | At most one solution for each \(b\) |
| Surjective onto \(\mathbb F^m\) | \(r=m\), full row rank | At least one solution for every \(b\) |
| Bijective | \(m=n=r\) | Exactly one solution for every \(b\) |
Since \(r\le\min(m,n)\), a wide matrix cannot be injective, and a tall matrix cannot be surjective onto its full codomain.
For a square matrix, \[ \text{injective}\iff\text{surjective}\iff\text{invertible}. \]
A consistent system has \(n-r\) free parameters.
2.6 Change of basis
The vector stays the same when we change its basis; its coordinate vector changes.
Let \(\mathcal B\) and \(\widetilde{\mathcal B}\) be bases of the same space. Define \[ S= \begin{pmatrix} [\widetilde b_1]_{\mathcal B}&\cdots& [\widetilde b_n]_{\mathcal B} \end{pmatrix}. \] Expanding a vector in the new basis and then expressing those basis vectors in the old basis gives \[ \boxed{[x]_{\mathcal B}=S[x]_{\widetilde{\mathcal B}}.} \]
Thus:
- \(S\) converts new coordinates to old coordinates.
- \(S^{-1}\) converts old coordinates to new coordinates.
Its columns are new basis vectors expressed in old coordinates.
Changing a map’s matrix
Suppose \[ A=[T]_{\mathcal C\leftarrow\mathcal B}, \] and the new input and output bases satisfy \[ [x]_{\mathcal B}=S[x]_{\widetilde{\mathcal B}}, \qquad [y]_{\mathcal C}=P[y]_{\widetilde{\mathcal C}}. \] Then \[ [T(x)]_{\widetilde{\mathcal C}} = P^{-1}[T(x)]_{\mathcal C} = P^{-1}AS[x]_{\widetilde{\mathcal B}}. \] Therefore, \[ \boxed{\widetilde A=P^{-1}AS.} \]
Read the product from right to left:
- Convert input coordinates to the old basis.
- Apply the old representing matrix.
- Convert output coordinates to the new basis.
For an endomorphism \(T:V\to V\), if we use the same basis change for input and output, \(P=S\), giving \[ \boxed{\widetilde A=S^{-1}AS.} \] This is a similarity transformation.
Worked example: coordinates reveal a simpler action
In standard coordinates, let \[ T(x)=Ax, \qquad A=\begin{pmatrix}2&1\\0&1\end{pmatrix}. \] Choose \[ b_1=\begin{pmatrix}1\\0\end{pmatrix}, \qquad b_2=\begin{pmatrix}-1\\1\end{pmatrix}. \] The basis matrix and its inverse are \[ S=\begin{pmatrix}1&-1\\0&1\end{pmatrix}, \qquad S^{-1}=\begin{pmatrix}1&1\\0&1\end{pmatrix}. \] Hence \[ S^{-1}AS=\begin{pmatrix}2&0\\0&1\end{pmatrix}. \]
We can see this directly: \[ T(b_1)=2b_1,\qquad T(b_2)=b_2. \] These images have new coordinates \((2,0)^T\) and \((0,1)^T\), respectively.
For \(x=(3,1)^T\), \[ [x]_{\mathcal B}=S^{-1}x=\begin{pmatrix}4\\1\end{pmatrix}. \] Applying the new matrix gives \[ [T(x)]_{\mathcal B} = \begin{pmatrix}2&0\\0&1\end{pmatrix} \begin{pmatrix}4\\1\end{pmatrix} = \begin{pmatrix}8\\1\end{pmatrix}. \] Converting back, \[ T(x)=S\begin{pmatrix}8\\1\end{pmatrix} =\begin{pmatrix}7\\1\end{pmatrix} =Ax. \]
The map has not changed; its action is simpler to describe in the new basis.
Invertible coordinate changes preserve rank and nullity. The coordinate descriptions of kernel and image transform according to \[ \ker(P^{-1}AS)=S^{-1}(\ker A), \qquad \operatorname{im}(P^{-1}AS)=P^{-1}(\operatorname{im}A). \]
2.7 Connections to numerical linear algebra
Let \(V\in\mathbb F^{n\times k}\) have independent columns spanning a subspace \(U\). If \(M\in\mathbb F^{k\times k}\) is invertible, then \[ \operatorname{im}(VM)=\operatorname{im}V, \] because \(Mc\) ranges over all of \(\mathbb F^k\).
This distinction between a subspace and a basis representing it is fundamental.
Orthogonalization and QR. A thin QR factorization \[ V=QR \] replaces independent columns of \(V\) by orthonormal columns of \(Q\). Since \(R\) is invertible, the span is preserved. Moreover, \[ x=Vc=Q(Rc), \] so \(R\) converts \(V\)-basis coordinates into \(Q\)-basis coordinates. Sessions 2 and 4 develop the geometry and algorithms.
Krylov subspaces. \[ \mathcal K_k(A,v)=\operatorname{span}\{v,Av,\ldots,A^{k-1}v\}. \] There are \(k\) generators, but their span may have smaller dimension if they are dependent. Counting generated vectors is not the same as counting independent directions.
Subspace iteration and filtering. Applying \(A\), or a polynomial \[ p(A)=\sum_{j=0}^d\alpha_jA^j, \] to a basis matrix produces the image of its subspace under that map. This may change the subspace and lower its dimension. Subsequent orthogonalization preserves the resulting span; it cannot recover directions erased by the map.
Invariant subspaces and projection methods. A subspace \(U\) is invariant under \(A\) if \[ AU\subseteq U. \] If \(V\) is a basis matrix of \(U\), this is equivalent to \[ AV=VH \] for a unique \(k\times k\) matrix \(H\). Its columns contain the coordinates of the vectors \(Av_j\) within \(U\). Thus \(H\) represents the restriction of \(A\) to \(U\). If \(U\) is not invariant, projection methods instead represent a projected action, studied later.
Finally, our calculations used exact rank. In floating-point arithmetic, nearly dependent columns can be difficult to distinguish from dependent ones. For example, \[ \begin{pmatrix}1&0\\0&\varepsilon\end{pmatrix} \] has exact rank two whenever \(\varepsilon\ne0\), however small. Numerical rank requires a tolerance and attention to scale.
2.8 Independent exercises
Attempt these before opening the solutions below.
Exercise 1 — Subspaces and coordinates
Let \[ U=\{(a,b,a+b)^T:a,b\in\mathbb R\}, \qquad F=\{(a,b,a+b+1)^T:a,b\in\mathbb R\}. \]
Justify that \(U\) is a subspace and \(F\) is not. Show that \[ \mathcal B=((1,1,2)^T,(1,-1,0)^T) \] is a basis of \(U\), and find \([(3,1,4)^T]_{\mathcal B}\).
Exercise 2 — A rectangular system
For \[ B=\begin{pmatrix} 1&1&0&2\\ 0&1&1&1\\ 1&2&1&3 \end{pmatrix}, \] find bases of its kernel and image, compute rank and nullity, and verify rank–nullity.
Characterize all \(b\in\mathbb R^3\) for which \(Bx=b\) is solvable, and find every solution for \(b=(2,1,3)^T\).
Is this map injective or surjective? Explain why columns of its row-reduced form cannot automatically serve as an image basis of \(B\).
Exercise 3 — Changing coordinates
Let \[ T(x_1,x_2)^T=(x_1+2x_2,3x_2)^T. \] Use the basis \[ \mathcal B=((1,0)^T,(1,1)^T) \] for both domain and codomain.
Compute the representing matrix both directly from basis images and by similarity. Verify your answer on \(x=(0,1)^T\).
Exercise 4 — Losing information in two stages
Let \(T:V\to W\) and \(L:W\to Z\) be linear. Prove \[ \ker T\subseteq\ker(LT), \qquad \operatorname{rank}(LT) \le\min(\operatorname{rank}T,\operatorname{rank}L). \]
Explain how composition can lose directions, and give an example where \(T,L\ne0\) but \(LT=0\).
Exercise 5 — A map on polynomials
Define \[ E:\mathcal P_2\to\mathbb R^2, \qquad E(p)=(p(0),p(1))^T. \]
Find its matrix in the input basis \((1,t,t^2)\) and the standard output basis. Determine its kernel, image, rank, and nullity, and describe every polynomial satisfying \(p(0)=a\), \(p(1)=b\).
Finally, use the input basis \[ (1-t,\ t,\ t(t-1)). \] Find the new matrix directly and explain why this basis is adapted to the interpolation problem.
2.9 Solutions — consult after attempting the exercises
Solution 1
The zero vector belongs to \(U\), and linear combinations preserve the condition \(x_3=x_1+x_2\). Thus \(U\) is a subspace. The zero vector does not belong to \(F\), so \(F\) is not.
For \(b_1=(1,1,2)^T\), \(b_2=(1,-1,0)^T\), \[ c_1b_1+c_2b_2=(c_1+c_2,c_1-c_2,2c_1)^T. \] Every \((a,b,a+b)^T\in U\) has the unique coefficients \[ c_1=\frac{a+b}{2},\qquad c_2=\frac{a-b}{2}. \] Therefore \((b_1,b_2)\) is a basis, and \[ [(3,1,4)^T]_{\mathcal B}=(2,1)^T. \]
Solution 2
Row reduction gives \[ B\longrightarrow R=\begin{pmatrix} 1&0&-1&1\\ 0&1&1&1\\ 0&0&0&0 \end{pmatrix}. \] The homogeneous equations are \[ x_1=x_3-x_4,\qquad x_2=-x_3-x_4. \] Thus a kernel basis is \[ \left\{ \begin{pmatrix}1\\-1\\1\\0\end{pmatrix}, \begin{pmatrix}-1\\-1\\0\\1\end{pmatrix} \right\}. \] The third and fourth components establish independence.
The original pivot columns \[ c_1=\begin{pmatrix}1\\0\\1\end{pmatrix}, \qquad c_2=\begin{pmatrix}1\\1\\2\end{pmatrix} \] form an image basis: they are independent, and the other columns satisfy \[ c_3=c_2-c_1,\qquad c_4=c_1+c_2. \] Hence rank and nullity are both two, and their sum is four.
The image is \[ \{b:b_3=b_1+b_2\}. \] Indeed, \[ (b_1,b_2,b_1+b_2)^T=(b_1-b_2)c_1+b_2c_2. \]
For \(b=(2,1,3)^T\), all solutions are \[ x= \begin{pmatrix}1\\1\\0\\0\end{pmatrix} +s\begin{pmatrix}1\\-1\\1\\0\end{pmatrix} +t\begin{pmatrix}-1\\-1\\0\\1\end{pmatrix}. \]
The map is neither injective nor surjective onto \(\mathbb R^3\). Its kernel is nontrivial, and its image has dimension two.
The reduced matrix has image \(\{y:y_3=0\}\), different from the original image. Row operations preserve column dependence relations, but generally move the column space.
Solution 3
Directly, \[ T(1,0)^T=(1,0)^T=b_1, \qquad T(1,1)^T=(3,3)^T=3b_2. \] Therefore \[ [T]_{\mathcal B\leftarrow\mathcal B} =\begin{pmatrix}1&0\\0&3\end{pmatrix}. \]
Alternatively, \[ A=\begin{pmatrix}1&2\\0&3\end{pmatrix}, \quad S=\begin{pmatrix}1&1\\0&1\end{pmatrix}, \quad S^{-1}=\begin{pmatrix}1&-1\\0&1\end{pmatrix}, \] and multiplication gives \[ S^{-1}AS=\begin{pmatrix}1&0\\0&3\end{pmatrix}. \]
For \(x=(0,1)^T\), \[ [x]_{\mathcal B}=(-1,1)^T, \qquad [T(x)]_{\mathcal B}=(-1,3)^T. \] Converting back yields \[ S(-1,3)^T=(2,3)^T=Ax. \]
Solution 4
If \(x\in\ker T\), then \(L(Tx)=L(0)=0\). Thus \[ \ker T\subseteq\ker(LT). \]
Also, \[ \operatorname{im}(LT)=L(\operatorname{im}T) \subseteq\operatorname{im}L, \] so \(\operatorname{rank}(LT)\le\operatorname{rank}L\).
If \(w_1,\ldots,w_r\) is an image basis of \(T\), then \[ L(w_1),\ldots,L(w_r) \] span the image of \(LT\). Its dimension is therefore at most \(r=\operatorname{rank}T\).
For example, \[ T=\begin{pmatrix}1&0\\0&0\end{pmatrix}, \qquad L=\begin{pmatrix}0&0\\0&1\end{pmatrix} \] are both nonzero, but \(LT=0\). The first map’s entire image lies in the second map’s kernel.
Solution 5
The basis images are \[ E(1)=(1,1)^T,\qquad E(t)=(0,1)^T,\qquad E(t^2)=(0,1)^T, \] so \[ [E]=\begin{pmatrix}1&0&0\\1&1&1\end{pmatrix}. \]
For \(p=c_0+c_1t+c_2t^2\), the kernel conditions give \[ c_0=0,\qquad c_1+c_2=0. \] Hence \[ \ker E=\operatorname{span}\{t^2-t\}. \] The first two matrix columns are independent, so \[ \operatorname{im}E=\mathbb R^2,\qquad \operatorname{rank}E=2,\qquad \operatorname{nullity}E=1. \]
One polynomial with the prescribed values is \(a(1-t)+bt\). Every solution is therefore \[ \boxed{p(t)=a(1-t)+bt+c\,t(t-1),\qquad c\in\mathbb R.} \]
The new input basis has images \[ E(1-t)=(1,0)^T,\quad E(t)=(0,1)^T,\quad E(t(t-1))=0, \] giving \[ [E]_{\mathrm{standard}\leftarrow\widetilde{\mathcal B}} = \begin{pmatrix}1&0&0\\0&1&0\end{pmatrix}. \]
To check that it is a basis, evaluate a vanishing linear combination at \(0\) and \(1\), forcing its first two coefficients to vanish; the third then vanishes because \(t(t-1)\) is a nonzero polynomial.
This basis separates the two prescribed values from the one undetermined direction. Only the input basis changed, so this is not a similarity transformation.
2.10 End-of-session mastery checklist
Without consulting the notes, you should be able to:
- State the subspace test and distinguish a subspace from a translated solution set.
- Explain how spanning and independence provide existence and uniqueness of coordinates.
- Distinguish a vector, its coordinate vector, and a basis matrix.
- Construct a map’s matrix from the images of basis vectors.
- Find a kernel basis using free variables and an image basis using original pivot columns.
- Characterize solvability by \(b\in\operatorname{im}A\) and all solutions by \(x_p+\ker A\).
- Prove rank–nullity by extending a kernel basis.
- Connect rank and nullity to injectivity, surjectivity, and invertibility.
- Derive \(\widetilde A=P^{-1}AS\) and explain when it becomes similarity.
- Explain why changing a basis preserves a subspace, while applying a linear map may change its dimension.
Ready for Session 2: you can complete Exercises 2 and 3 independently, reconstruct the rank–nullity proof, and explain why a basis need not be orthogonal. Session 2 will add lengths, angles, and orthogonality to this algebraic foundation.