Lecture 3: Homogeneous Systems, Independence, and Linear Maps
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
Among all right-hand sides, one is special: . 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 understands every : the two solution sets differ only by a shift.
A linear system of the form is called homogeneous. It is always consistent, since is a solution โ the trivial solution. The interesting question is whether a nonzero solution exists.
Let Row reduction (, , then ) brings the augmented matrix of to reduced echelon form: Pivots in columns and ; the variables and are free. The parametric vector form of the solutions of is โ a plane through the origin inside , 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.
Suppose is consistent and let be one particular solution. Then the solution set of is exactly In words: the solution set of is the solution set of the homogeneous system translated by .
Both directions come from linearity. If , then , so is a solution. Conversely, if , set ; then , so with a homogeneous solution.
□Continue with the matrix of the homogeneous example, and take . By the column view, is a particular solution of , and by the structure theorem the complete solution set is โ the same plane of homogeneous solutions, shifted by . 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.
In the homogeneous example, consider the solution with and . What is the value of ?
Read the first entry of the -direction vector.
3.2 Linear independence
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 ; redundancy is exactly a nonzero solution of . The homogeneous machinery of the last section thus becomes a redundancy detector.
Vectors are linearly independent if the only weights with are . They are linearly dependent if such a combination exists with at least one weight nonzero.
Let be the matrix with the given vectors as columns. Then are linearly dependent if and only if has a nonzero solution.
By the column view, . So a nonzero solution of is a dependence relation with some weight nonzero, and conversely.
□Return to the homogeneous example. Each direction vector of the solution set is, by the proposition, a dependence relation among the columns of . Taking : , i.e. . Taking : , i.e. . This is the general pattern: the parametric vector form of shows exactly how each column of 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.
Let be an matrix. If (more columns than rows), then has a nonzero solution.
Bring the augmented matrix to echelon form. Each pivot occupies its own row, so there are at most pivots. By part (3) of the existenceโuniqueness theorem, the number of free variables is minus the number of pivots, which is at least : a free variable exists. The system is consistent (it is homogeneous), so setting that free variable equal to and solving produces a solution with a nonzero entry.
□Any vectors in with are linearly dependent. In particular, any vectors in are dependent whenever .
Pack the vectors as the columns of an matrix . Since , the theorem gives a nonzero solution of , which by the proposition is a dependence relation.
□In the dependence example, . What is ?
Read the direction vector for : its entries say .
3.3 Linear maps and their matrices
A matrix does not just store a system โ it acts: feed it a vector , receive a vector . 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.
A function is a linear map (or linear transformation) if for all and all scalars : Equivalently: turns linear combinations of inputs into the same linear combinations of outputs.
For any matrix , the function is a linear map from to : 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.
Fix an angle and let rotate every vector counterclockwise by about the origin. This is a linear map, for geometric reasons: rotating a parallelogram rotates its diagonal, so ; and rotating a stretched arrow is the same as stretching the rotated arrow, so . (An algebraic proof will be immediate once we know its matrix.)
Let flip space around the -axis โ that is, rotate by about the line of all . A point's -coordinate is untouched while its -part is sent to the opposite side: 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.
The standard basis vectors of are the columns of zeros with a single : the -th entry of is and all other entries are . Every vector decomposes as โ read the entries as weights.
Let be a linear map. Then there is exactly one matrix with namely the matrix whose -th column is : is called the matrix of (or the standard matrix).
Existence. Let be the matrix displayed above and take any . Decompose as in the definition. Applying and using linearity repeatedly (first on the sum, then on each scalar multiple), and by the column view this linear combination of the columns of with weights is exactly .
Uniqueness. Suppose for all . Taking picks out the -th columns: says the -th columns of and agree, for every . Hence : no other matrix represents .
□Every matrix defines a linear map (via ), and every linear map is defined by exactly one matrix (the theorem). So there is a one-to-one correspondence 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.
Apply the recipe to rotation by . Rotating (which points along the positive -axis) by lands on ; rotating lands on . By the theorem, the matrix of the rotation is and rotation by is simply โ trigonometry packed into four entries. (This also delivers the promised algebraic proof that rotation is linear: it is a matrix map.)
For the flip around the -axis: , , and . So its matrix is and indeed .
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.
For rotation by , what is the entry in row , column of the rotation matrix ?
has in position , and . Check: the rotated is .
Which of the following maps is not linear?
A linear map must send to (take in the definition). Where does the translation send ?
Apply the flip around the -axis to the vector . What is the second entry of the result?
The flip negates the first two entries and keeps the third.
Index of statements
- Definition 3.1 (Homogeneous system)
- Example 3.2 (Solving a homogeneous system)
- Theorem 3.3 (Solution sets of and )
- Example 3.4 (Translation in action)
- Definition 3.5 (Linear independence)
- Proposition 3.6 (Independence as a homogeneous system)
- Example 3.7 (Reading dependence off the null space)
- Theorem 3.8 (Wide matrices have nonzero null solutions)
- Corollary 3.9 (Too many vectors are dependent)
- Definition 3.10 (Linear map)
- Example 3.11 (Every matrix gives a linear map)
- Example 3.12 (Rotation of the plane)
- Example 3.13 (Flipping around a line in )
- Definition 3.14 (Standard basis vectors)
- Theorem 3.15 (The matrix of a linear map)
- Corollary 3.16 (Matrices linear maps)
- Example 3.17 (The rotation matrix)
- Example 3.18 (The flip matrix)
- Remark 3.19 (Looking ahead)