Linear Algebra — Lecture 3

Lecture 3: Homogeneous Systems, Independence, and Linear Maps

Shuhong Gao  ·  Clemson University

These notes are interactive: click any dotted term to unfold its exact definition or statement in place, click ▸ Proof to expand a proof, and try the exercises — answers are checked instantly.

3.1  Homogeneous systems and the structure of solution sets

💡 Intuition

Among all right-hand sides, one is special: ๐›=๐ŸŽ\mathbf{b} = \mathbf{0}. A system with zero right-hand side can never be inconsistent โ€” the zero vector always solves it โ€” so the interesting question flips from whether solutions exist to how many. And, as we are about to prove, whoever understands A๐ฑ=๐ŸŽA\mathbf{x} = \mathbf{0} understands every A๐ฑ=๐›A\mathbf{x} = \mathbf{b}: the two solution sets differ only by a shift.

Definition 3.1 (Homogeneous system)

A linear system of the form A๐ฑ=๐ŸŽA\mathbf{x} = \mathbf{0} is called homogeneous. It is always consistent, since ๐ฑ=๐ŸŽ\mathbf{x} = \mathbf{0} is a solution โ€” the trivial solution. The interesting question is whether a nonzero solution exists.

Example 3.2 (Solving a homogeneous system)

Let A=(1203241836111)with columns ๐š1,๐š2,๐š3,๐š4.A = \begin{pmatrix} 1 & 2 & 0 & 3 \\ 2 & 4 & 1 & 8 \\ 3 & 6 & 1 & 11 \end{pmatrix} \qquad\text{with columns } \mathbf{a}_1, \mathbf{a}_2, \mathbf{a}_3, \mathbf{a}_4 . Row reduction (R2โˆ’2R1R_2 - 2R_1, R3โˆ’3R1R_3 - 3R_1, then R3โˆ’R2R_3 - R_2) brings the augmented matrix of A๐ฑ=๐ŸŽA\mathbf{x} = \mathbf{0} to reduced echelon form: (1203024180361110)โ†’R2โˆ’2R1R3โˆ’3R1R3โˆ’R2(120300012000000)\begin{pmatrix} 1 & 2 & 0 & 3 & 0 \\ 2 & 4 & 1 & 8 & 0 \\ 3 & 6 & 1 & 11 & 0 \end{pmatrix} \xrightarrow{\substack{R_2 - 2R_1 \\ R_3 - 3R_1 \\ R_3 - R_2}} \begin{pmatrix} 1 & 2 & 0 & 3 & 0 \\ 0 & 0 & 1 & 2 & 0 \\ 0 & 0 & 0 & 0 & 0 \end{pmatrix} Pivots in columns 11 and 33; the variables x2=sx_2 = s and x4=tx_4 = t are free. The parametric vector form of the solutions of A๐ฑ=๐ŸŽA\mathbf{x} = \mathbf{0} is ๐ฑ=s(โˆ’2100)+t(โˆ’30โˆ’21),s,tโˆˆโ„\mathbf{x} = s \begin{pmatrix} -2 \\ 1 \\ 0 \\ 0 \end{pmatrix} + t \begin{pmatrix} -3 \\ 0 \\ -2 \\ 1 \end{pmatrix}, \qquad s, t \in \mathbb{R} โ€” a plane through the origin inside โ„4\mathbb{R}^4, with one direction vector per free variable. Note there is no ``particular solution'' vector out front: for a homogeneous system the trivial solution plays that role. Keep this example; it works overtime in this lecture.

Theorem 3.3 (Solution sets of A๐ฑ=๐›A\mathbf{x} = \mathbf{b} and A๐ฑ=๐ŸŽA\mathbf{x} = \mathbf{0})

Suppose A๐ฑ=๐›A\mathbf{x} = \mathbf{b} is consistent and let ๐ฉ\mathbf{p} be one particular solution. Then the solution set of A๐ฑ=๐›A\mathbf{x} = \mathbf{b} is exactly {๐ฉ+๐ก:๐ก is a solution of A๐ฑ=๐ŸŽ}.\{\, \mathbf{p} + \mathbf{h} \;:\; \mathbf{h} \text{ is a solution of } A\mathbf{x} = \mathbf{0} \,\}. In words: the solution set of A๐ฑ=๐›A\mathbf{x} = \mathbf{b} is the solution set of the homogeneous system translated by ๐ฉ\mathbf{p}.

2026-07-22T21:26:03.730313 image/svg+xml Matplotlib v3.10.9, https://matplotlib.org/ 0 p s o l u t i o n s ย  o f ย  A x 0 = s o l u t i o n s ย  o f ย  A x b =
The solution set of A๐ฑ=๐›A\mathbf{x} = \mathbf{b} is the solution set of A๐ฑ=๐ŸŽA\mathbf{x} = \mathbf{0} translated by any particular solution ๐ฉ\mathbf{p}: same shape, shifted away from the origin.
Example 3.4 (Translation in action)

Continue with the matrix AA of the homogeneous example, and take ๐›=๐š1+๐š3=(134)T\mathbf{b} = \mathbf{a}_1 + \mathbf{a}_3 = \begin{pmatrix} 1 & 3 & 4 \end{pmatrix}^{T}. By the column view, ๐ฉ=(1010)T\mathbf{p} = \begin{pmatrix} 1 & 0 & 1 & 0 \end{pmatrix}^{T} is a particular solution of A๐ฑ=๐›A\mathbf{x} = \mathbf{b}, and by the structure theorem the complete solution set is ๐ฑ=(1010)+s(โˆ’2100)+t(โˆ’30โˆ’21),s,tโˆˆโ„\mathbf{x} = \begin{pmatrix} 1 \\ 0 \\ 1 \\ 0 \end{pmatrix} + s \begin{pmatrix} -2 \\ 1 \\ 0 \\ 0 \end{pmatrix} + t \begin{pmatrix} -3 \\ 0 \\ -2 \\ 1 \end{pmatrix}, \qquad s, t \in \mathbb{R} โ€” the same plane of homogeneous solutions, shifted by ๐ฉ\mathbf{p}. Compare with Lecture 2's parametric example: the โ€œparticular solution plus direction vectorsโ€ shape we computed there was not an accident; it is the structure theorem in action.

Exercise 3.1 auto-check

In the homogeneous example, consider the solution with s=1s = 1 and t=0t = 0. What is the value of x1x_1?

Answer:

3.2  Linear independence

💡 Intuition

When does a collection of vectors contain redundancy โ€” one vector expressible from the others? The column view turns this qualitative question into a computation: pack the vectors as the columns of a matrix AA; redundancy is exactly a nonzero solution of A๐ฑ=๐ŸŽA\mathbf{x} = \mathbf{0}. The homogeneous machinery of the last section thus becomes a redundancy detector.

Definition 3.5 (Linear independence)

Vectors ๐ฏ1,โ€ฆ,๐ฏpโˆˆโ„m\mathbf{v}_1, \dots, \mathbf{v}_p \in \mathbb{R}^m are linearly independent if the only weights with x1๐ฏ1+x2๐ฏ2+โ‹ฏ+xp๐ฏp=๐ŸŽx_1 \mathbf{v}_1 + x_2 \mathbf{v}_2 + \cdots + x_p \mathbf{v}_p = \mathbf{0} are x1=x2=โ‹ฏ=xp=0x_1 = x_2 = \cdots = x_p = 0. They are linearly dependent if such a combination exists with at least one weight nonzero.

Proposition 3.6 (Independence as a homogeneous system)

Let A=(๐ฏ1๐ฏ2โ‹ฏ๐ฏp)A = \begin{pmatrix} \mathbf{v}_1 & \mathbf{v}_2 & \cdots & \mathbf{v}_p \end{pmatrix} be the mร—pm \times p matrix with the given vectors as columns. Then ๐ฏ1,โ€ฆ,๐ฏp\mathbf{v}_1, \dots, \mathbf{v}_p are linearly dependent if and only if A๐ฑ=๐ŸŽA\mathbf{x} = \mathbf{0} has a nonzero solution.

Example 3.7 (Reading dependence off the null space)

Return to the homogeneous example. Each direction vector of the solution set is, by the proposition, a dependence relation among the columns of AA. Taking s=1,t=0s = 1, t = 0: โˆ’2๐š1+๐š2=๐ŸŽ-2\mathbf{a}_1 + \mathbf{a}_2 = \mathbf{0}, i.e. ๐š2=2๐š1\mathbf{a}_2 = 2\mathbf{a}_1. Taking s=0,t=1s = 0, t = 1: โˆ’3๐š1โˆ’2๐š3+๐š4=๐ŸŽ-3\mathbf{a}_1 - 2\mathbf{a}_3 + \mathbf{a}_4 = \mathbf{0}, i.e. ๐š4=3๐š1+2๐š3\mathbf{a}_4 = 3\mathbf{a}_1 + 2\mathbf{a}_3. This is the general pattern: the parametric vector form of A๐ฑ=๐ŸŽA\mathbf{x} = \mathbf{0} shows exactly how each column of AA without a pivot is a linear combination of the pivot columns โ€” one direction vector per non-pivot column, with the dependence weights visible in its entries.

Theorem 3.8 (Wide matrices have nonzero null solutions)

Let AA be an mร—nm \times n matrix. If n>mn > m (more columns than rows), then A๐ฑ=๐ŸŽA\mathbf{x} = \mathbf{0} has a nonzero solution.

Corollary 3.9 (Too many vectors are dependent)

Any pp vectors in โ„n\mathbb{R}^n with p>np > n are linearly dependent. In particular, any mm vectors in โ„n\mathbb{R}^n are dependent whenever m>nm > n.

Exercise 3.2 auto-check

In the dependence example, ๐š4=c1๐š1+c3๐š3\mathbf{a}_4 = c_1 \mathbf{a}_1 + c_3 \mathbf{a}_3. What is c1c_1?

Answer:
Exercise 3.3 auto-check

Five vectors are given in โ„3\mathbb{R}^3. What can you conclude?

3.3  Linear maps and their matrices

💡 Intuition

A matrix does not just store a system โ€” it acts: feed it a vector ๐ฑ\mathbf{x}, receive a vector A๐ฑA\mathbf{x}. Machines of this kind โ€” functions sending vectors to vectors while respecting vector arithmetic โ€” are everywhere in engineering: rotations, reflections, projections, coordinate changes, linear filters. This section defines them, and then proves something remarkable: they are exactly the matrices, no more and no less.

Definition 3.10 (Linear map)

A function T:โ„nโ†’โ„mT\colon \mathbb{R}^n \to \mathbb{R}^m is a linear map (or linear transformation) if for all ๐ฎ,๐ฏโˆˆโ„n\mathbf{u}, \mathbf{v} \in \mathbb{R}^n and all scalars cโˆˆโ„c \in \mathbb{R}: T(๐ฎ+๐ฏ)=T(๐ฎ)+T(๐ฏ)andT(c๐ฎ)=cT(๐ฎ).T(\mathbf{u} + \mathbf{v}) = T(\mathbf{u}) + T(\mathbf{v}) \qquad\text{and}\qquad T(c\,\mathbf{u}) = c\,T(\mathbf{u}). Equivalently: TT turns linear combinations of inputs into the same linear combinations of outputs.

Example 3.11 (Every matrix gives a linear map)

For any mร—nm \times n matrix AA, the function T(๐ฑ)=A๐ฑT(\mathbf{x}) = A\mathbf{x} is a linear map from โ„n\mathbb{R}^n to โ„m\mathbb{R}^m: the two requirements are precisely the linearity theorem of Lecture 1. So every matrix defines a linear map. The rest of this section shows the converse.

Example 3.12 (Rotation of the plane)

Fix an angle ฮธ\theta and let T:โ„2โ†’โ„2T\colon \mathbb{R}^2 \to \mathbb{R}^2 rotate every vector counterclockwise by ฮธ\theta about the origin. This is a linear map, for geometric reasons: rotating a parallelogram rotates its diagonal, so T(๐ฎ+๐ฏ)=T(๐ฎ)+T(๐ฏ)T(\mathbf{u} + \mathbf{v}) = T(\mathbf{u}) + T(\mathbf{v}); and rotating a stretched arrow is the same as stretching the rotated arrow, so T(c๐ฎ)=cT(๐ฎ)T(c\mathbf{u}) = c\,T(\mathbf{u}). (An algebraic proof will be immediate once we know its matrix.)

Example 3.13 (Flipping around a line in โ„3\mathbb{R}^3)

Let T:โ„3โ†’โ„3T\colon \mathbb{R}^3 \to \mathbb{R}^3 flip space around the zz-axis โ€” that is, rotate by 180โˆ˜180^\circ about the line of all (00z)T\begin{pmatrix} 0 & 0 & z \end{pmatrix}^{T}. A point's zz-coordinate is untouched while its (x,y)(x,y)-part is sent to the opposite side: T(xyz)=(โˆ’xโˆ’yz).T\begin{pmatrix} x \\ y \\ z \end{pmatrix} = \begin{pmatrix} -x \\ -y \\ z \end{pmatrix}. From this formula, linearity is an entrywise check: negating and copying entries both respect addition and scaling. Flips around other lines are also linear maps; this one has the friendliest formula because its line is a coordinate axis.

Definition 3.14 (Standard basis vectors)

The standard basis vectors of โ„n\mathbb{R}^n are the columns ๐ž1,โ€ฆ,๐žn\mathbf{e}_1, \dots, \mathbf{e}_n of zeros with a single 11: the jj-th entry of ๐žj\mathbf{e}_j is 11 and all other entries are 00. Every vector decomposes as ๐ฑ=x1๐ž1+x2๐ž2+โ‹ฏ+xn๐žn\mathbf{x} = x_1 \mathbf{e}_1 + x_2 \mathbf{e}_2 + \cdots + x_n \mathbf{e}_n โ€” read the entries as weights.

Theorem 3.15 (The matrix of a linear map)

Let T:โ„nโ†’โ„mT\colon \mathbb{R}^n \to \mathbb{R}^m be a linear map. Then there is exactly one mร—nm \times n matrix AA with T(๐ฑ)=A๐ฑfor all ๐ฑโˆˆโ„n,T(\mathbf{x}) = A\mathbf{x} \qquad\text{for all } \mathbf{x} \in \mathbb{R}^n, namely the matrix whose jj-th column is T(๐žj)T(\mathbf{e}_j): A=(T(๐ž1)T(๐ž2)โ‹ฏT(๐žn)).A = \begin{pmatrix} T(\mathbf{e}_1) & T(\mathbf{e}_2) & \cdots & T(\mathbf{e}_n) \end{pmatrix}. AA is called the matrix of TT (or the standard matrix).

Corollary 3.16 (Matrices โ†”\leftrightarrow linear maps)

Every mร—nm \times n matrix defines a linear map โ„nโ†’โ„m\mathbb{R}^n \to \mathbb{R}^m (via ๐ฑโ†ฆA๐ฑ\mathbf{x} \mapsto A\mathbf{x}), and every linear map โ„nโ†’โ„m\mathbb{R}^n \to \mathbb{R}^m is defined by exactly one mร—nm \times n matrix (the theorem). So there is a one-to-one correspondence {mร—n matrices}โ†”{linear maps โ„nโ†’โ„m}.\{\, m \times n \text{ matrices} \,\} \;\longleftrightarrow\; \{\, \text{linear maps } \mathbb{R}^n \to \mathbb{R}^m \,\}. Matrices and linear maps are two descriptions of the same objects: the matrix is the data, the map is the action. To find the matrix of any linear map, feed it the standard basis vectors and record the outputs as columns.

Example 3.17 (The rotation matrix)

Apply the recipe to rotation by ฮธ\theta. Rotating ๐ž1\mathbf{e}_1 (which points along the positive xx-axis) by ฮธ\theta lands on (cosฮธsinฮธ)T\begin{pmatrix} \cos\theta & \sin\theta \end{pmatrix}^{T}; rotating ๐ž2\mathbf{e}_2 lands on (โˆ’sinฮธcosฮธ)T\begin{pmatrix} -\sin\theta & \cos\theta \end{pmatrix}^{T}. By the theorem, the matrix of the rotation is Rฮธ=(cosฮธโˆ’sinฮธsinฮธcosฮธ),R_\theta = \begin{pmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{pmatrix}, and rotation by ฮธ\theta is simply ๐ฑโ†ฆRฮธ๐ฑ\mathbf{x} \mapsto R_\theta \mathbf{x} โ€” trigonometry packed into four entries. (This also delivers the promised algebraic proof that rotation is linear: it is a matrix map.)

2026-07-22T21:26:03.853915 image/svg+xml Matplotlib v3.10.9, https://matplotlib.org/ ฮธ ฮธ e 1 e 2 T ฮธ ฮธ ( ) = ( c o s , s i n ) e 1 T T ฮธ ฮธ ( ) = ( โˆ’ s i n , c o s ) e 2 T
Deriving the rotation matrix: the columns of RฮธR_\theta are the images of ๐ž1\mathbf{e}_1 and ๐ž2\mathbf{e}_2 under the rotation.
Example 3.18 (The flip matrix)

For the flip around the zz-axis: T(๐ž1)=โˆ’๐ž1T(\mathbf{e}_1) = -\mathbf{e}_1, T(๐ž2)=โˆ’๐ž2T(\mathbf{e}_2) = -\mathbf{e}_2, and T(๐ž3)=๐ž3T(\mathbf{e}_3) = \mathbf{e}_3. So its matrix is F=(โˆ’1000โˆ’10001),F = \begin{pmatrix} -1 & 0 & 0 \\ 0 & -1 & 0 \\ 0 & 0 & 1 \end{pmatrix}, and indeed F(xyz)T=(โˆ’xโˆ’yz)TF \begin{pmatrix} x & y & z \end{pmatrix}^{T} = \begin{pmatrix} -x & -y & z \end{pmatrix}^{T}.

Remark 3.19 (Looking ahead)

The correspondence between matrices and linear maps is the conceptual heart of the course. From now on, every question has two faces: an algebraic one about a matrix, and a geometric one about a map. Next week we exploit this dictionary: composing maps will give us matrix multiplication, and undoing a map will give us the inverse matrix.

Exercise 3.4 auto-check

For rotation by ฮธ=90โˆ˜\theta = 90^\circ, what is the entry in row 22, column 11 of the rotation matrix RฮธR_\theta?

Answer:
Exercise 3.5 auto-check

Which of the following maps โ„2โ†’โ„2\mathbb{R}^2 \to \mathbb{R}^2 is not linear?

Exercise 3.6 auto-check

Apply the flip around the zz-axis to the vector (235)T\begin{pmatrix} 2 & 3 & 5 \end{pmatrix}^{T}. What is the second entry of the result?

Answer:

Index of statements

  1. Definition 3.1 (Homogeneous system)
  2. Example 3.2 (Solving a homogeneous system)
  3. Theorem 3.3 (Solution sets of A๐ฑ=๐›A\mathbf{x} = \mathbf{b} and A๐ฑ=๐ŸŽA\mathbf{x} = \mathbf{0})
  4. Example 3.4 (Translation in action)
  5. Definition 3.5 (Linear independence)
  6. Proposition 3.6 (Independence as a homogeneous system)
  7. Example 3.7 (Reading dependence off the null space)
  8. Theorem 3.8 (Wide matrices have nonzero null solutions)
  9. Corollary 3.9 (Too many vectors are dependent)
  10. Definition 3.10 (Linear map)
  11. Example 3.11 (Every matrix gives a linear map)
  12. Example 3.12 (Rotation of the plane)
  13. Example 3.13 (Flipping around a line in โ„3\mathbb{R}^3)
  14. Definition 3.14 (Standard basis vectors)
  15. Theorem 3.15 (The matrix of a linear map)
  16. Corollary 3.16 (Matrices โ†”\leftrightarrow linear maps)
  17. Example 3.17 (The rotation matrix)
  18. Example 3.18 (The flip matrix)
  19. Remark 3.19 (Looking ahead)