Lecture 3: Homogeneous Systems, Independence, and Linear Maps
These notes are interactive: click a section title to open it, 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.
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. Applying the two rules repeatedly โ first to the sum, then to each scalar multiple โ gives, for any vectors and any scalars , so a linear map is pinned down by its values on vectors from which every input can be combined โ an observation that will shortly hand us the matrix of .
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 .
Here is the same map in coordinates (see the figure below). Let have length and make angle with the positive -axis, so and . Rotation keeps the length and adds to the angle, so has length and angle . Expanding with the angle-addition formulas and then substituting , : The last vector is a matrixโvector product. Define the rotation matrix Then So rotation by is the matrix map โ trigonometry packed into four entries โ and by the previous example it is linear, which confirms the geometric argument algebraically. (Check with : sends to , a quarter turn.)
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 exactly the matrix found by trigonometry in the rotation example โ as it must be, since the theorem says only one matrix represents . Notice how much less work the recipe took: two special inputs instead of a general one, and no angle-addition formulas.
For the flip around the -axis: , , and . So its matrix is and indeed .
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.
3.4 Injective, surjective, and bijective maps
Two questions can be asked of any function: does it ever send two different inputs to the same output, and does it reach every possible output? For a linear map these are not new questions at all โ they are uniqueness and existence for , the subject of Lecture 2, asked of every at once. So both answers are read off the pivots of : uniqueness lives in the columns, existence in the rows.
Let be a function.
- is injective (or one-to-one) if distinct inputs have distinct outputs: whenever , then .
- is surjective (or onto) if every target vector is hit: for each there is at least one with .
- is bijective if it is both โ equivalently, every equals for exactly one .
Let be an matrix, let be the linear map , and let be the number of pivots in an echelon form of . Then:
- is injective has only the trivial solution the columns of are linearly independent every column of is a pivot column, i.e. .
- is surjective is consistent for every every row of contains a pivot position, i.e. .
- is bijective and : is square and its echelon form has a pivot in every row and every column.
Throughout, note .
(1) Suppose is injective and . Then , so : only the trivial solution. Conversely, suppose is the only solution of and . By linearity, , hence and . The second equivalence is the proposition of the previous section. For the third, is always consistent, so by the uniqueness criterion its solution is unique exactly when every column of is a pivot column, which is to say .
(2) The first equivalence is the definition of surjectivity written out in matrix form: the outputs of are exactly the vectors for which has a solution. If every row of contains a pivot position, every such system is consistent by the existence criterion. Conversely, suppose some row has no pivot. Let be an echelon form of , reached from by a sequence of row operations; its pivotless rows are zero rows at the bottom, so the last row of is zero. The augmented matrix therefore has bottom row and is inconsistent. Now undo those row operations, applying the reverse sequence to the whole of : this restores on the left and produces some on the right. Row operations preserve the solution set, so is inconsistent too, and is not an output of . Finally, one pivot per row at most makes ``a pivot in every row'' the same as .
(3) By (1) and (2), is bijective exactly when and , which forces .
□Bijective. The flip matrix of the flip example is already in echelon form, with pivots in all three rows and columns. So and the flip is bijective โ as geometry predicts: flipping twice returns every vector to where it started.
Surjective but not injective. Let the map that drops the third coordinate. It is in echelon form with : every row has a pivot, so is onto โ any is the image of . But the third column has no pivot, and indeed every vector maps to . No map could have been injective: , so the corollary makes its columns dependent.
Injective but not surjective. Let which lays the plane inside space as the -plane. Both columns are pivot columns, so and is one-to-one; but the third row carries no pivot, and is not an output.
Let be a linear map. Which statement is impossible?
Its matrix is , so ; compare part (1) of the theorem.
Let be given by . How many pivots does an echelon form of have?
Subtract times row from row ; the second row becomes zero. With , is neither injective nor surjective.
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 โ possible for exactly the bijective maps characterized above โ will give us the inverse matrix.
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, by the recipe)
- Example 3.18 (The flip matrix)
- Definition 3.19 (Injective, surjective, bijective)
- Theorem 3.20 (Injectivity and surjectivity through the matrix)
- Example 3.21 (The three properties, read off three matrices)
- Remark 3.22 (Looking ahead)