The Timpson Lyceum · Linear Algebra (2026)
Solution & Applications of Linear Systems and Linear Independence – Lecture 3 (Linear Algebra)
Overview
This lecture covers three sections (1.5, 1.7 and 1.6). The first describes the solution sets of linear systems. A homogeneous system always has the trivial solution, and it has others exactly when a free variable appears. Writing those solutions in parametric vector form shows them geometrically, as a line or plane through the origin. A consistent nonhomogeneous system has the same solution set shifted by one particular solution. The second section introduces linear independence: a set of vectors is independent when the only way to combine them into is the trivial one. It then develops fast tests for independence, including one or two vectors, more vectors than entries, and sets containing the zero vector. The last section applies homogeneous systems to two problems: balancing a chemical equation and finding equilibrium prices in a closed economy.
Key Concepts
Homogeneous systems
- A system is homogeneous if it can be written , so that every equation has on the right-hand side.
- always has the trivial solution , so it is always consistent.
- Any linear system has no solution, exactly one, or infinitely many. A homogeneous system already has one, so a nontrivial solution means infinitely many.
- has a nontrivial solution if and only if the equation has at least one free variable, meaning some column of is not a pivot column.
- From here on, context decides whether a symbol is a vector or a number: in , is a matrix and and are vectors.
Parametric vector form
- Solving a system and writing as a sum of vectors, one for each free variable, each weighted by that free variable, gives the parametric vector form:
- With one free variable the solution set is , a line through the origin. With two, it is , typically a plane through the origin. Every such solution set contains , because the trivial solution always works.
- One equation with two free variables gives a plane. For , solving for gives with free:
This is a plane through the origin in . In general a single linear equation in three variables describes a plane. The one exception is the degenerate equation , whose solution set is all of .
Solutions of nonhomogeneous systems
- Keep the same coefficient matrix and change only the right-hand side. Row reduction performs the same operations, so only the last column of the augmented matrix changes. The free variables stay free, and each basic variable picks up a constant.
- In parametric vector form the result is
where describes the homogeneous solutions and is a constant vector. Geometrically, the solution set is the homogeneous solution set translated by : a line or plane parallel to the one through the origin, now passing through .
- Loosely, this resembles . The homogeneous part carries the shape, and fixes where it sits.
Theorem 6 (solutions of nonhomogeneous systems). Suppose is consistent, and let be any one solution, called a particular solution. Then the solution set of is the set of all vectors , where is any solution of . Equivalently, solves if and only if solves .
Proof. Both directions use the linearity of matrix–vector multiplication.
The theorem requires to be consistent. An inconsistent system has no particular solution to shift by.
Linear independence
- An indexed set in is linearly independent if the vector equation
has only the trivial solution. It is linearly dependent if there are weights , not all zero, with . Such an equation is a linear dependence relation.
- counts the vectors, and counts the entries in each vector.
- Intuition: a set is independent when no vector in it can be built from the others. For example, and are independent. Adding makes the set dependent, since .
- A dependent set contains a vector lying in the span of the others. An independent set does not.
- Matrix form. The columns of are linearly independent if and only if has
only the trivial solution, which means every column of is a pivot column.
- For , row reduction yields a pivot in every column. The only solution is , so the columns are independent.
Sets of one or two vectors
- A set containing one vector is linearly independent if and only if . The zero vector alone is dependent, since for every .
- A set of two vectors is linearly dependent if and only if at least one of them is a scalar multiple
of the other. Geometrically, dependent means the two vectors lie on the same line through the origin.
- and are dependent, because .
- and are independent, because neither is a multiple of the other.
- Why (for two nonzero vectors): suppose with not both zero. If , then forces , since . So , and dividing by gives , a scalar multiple of .
- Adding a vector from the span. and are independent, and their span is a plane through the origin. A vector in that plane, such as , makes dependent. With independent, is dependent if and only if .
Theorem 7 (characterization of linearly dependent sets). An indexed set of two or more vectors is linearly dependent if and only if at least one vector in is a linear combination of the others.
Proof. Suppose first that some is a combination of the others. Moving it across gives a relation whose weight on is , so the relation is nontrivial:
Conversely, suppose is dependent, so with some . Solve for by moving its term across and dividing by :
This expresses as a linear combination of the others. The theorem does not say that every vector in a dependent set is a combination of the others.
Theorem 8 (more vectors than entries). If a set contains more vectors than there are entries in each vector (), then the set is linearly dependent. Any set in with is dependent.
Proof. Let , an matrix. The equation is equations in unknowns. There are at most pivots, one per row, so some column has no pivot. That free variable gives a nontrivial solution.
- For example, , and must be dependent: three vectors in . Put another way, if two of them are independent, they already span , so the third lies in their span.
Theorem 9 (the zero vector). If a set in contains the zero vector, then is linearly dependent.
Proof. If , then is a nontrivial relation. Any nonzero weight on works just as well.
Deciding by inspection
- : dependent, since four vectors in fall under Theorem 8.
- : dependent, since the set contains the zero vector (Theorem 9).
- : independent. Multiplying the first vector by matches the first three entries of the second but gives , not , in the last. Neither vector is a multiple of the other.
Applications of linear systems
- Balancing chemical equations. Represent each molecule by a vector counting its atoms. The unknown coefficients then satisfy a homogeneous system. Its free variable reflects the fact that any whole-number multiple of a balanced equation is also balanced. Choose the free variable to clear fractions, giving the smallest whole-number coefficients.
- Equilibrium prices. In a closed economy, each sector's output is consumed entirely by the sectors. The equilibrium price of each sector's output equals its total expenditures on inputs. Each sector gives one linear equation, and moving everything to one side produces a homogeneous system. A free variable remains, because only the ratios of the prices are determined.
- The hard part of an applied problem is usually translating it into a linear system. Once it is a matrix, solving it is routine, and it is exactly the kind of computation computers do extremely fast.
Worked Example
A nontrivial solution in parametric vector form. Determine whether the homogeneous system
has a nontrivial solution, and describe its solution set. Row reduce the augmented matrix:
Column 3 has no pivot, so is free and a nontrivial solution exists. The system reads , , so
The solution set is , a line through the origin. Taking gives the nontrivial solution .
The same matrix with a nonzero right-hand side. For with , the same row operations give
so , , and is free:
This is the homogeneous line shifted to pass through the particular solution , as Theorem 6 predicts.
Testing a set for independence. Are , , linearly independent?
Once the echelon form shows that column 3 has no pivot, the set is known to be dependent. The reduced form gives , . Taking gives the dependence relation
Balancing the combustion of propane. Balance . Record each molecule as a vector of (carbon, hydrogen, oxygen) counts, then move everything to one side:
Row reducing the coefficient matrix gives
so , , , with free. Choosing clears the fractions:
Check: carbon , hydrogen , oxygen . Doubling every coefficient, giving 2, 10, 6 and 8, is also balanced.
Equilibrium prices. An economy has three sectors (coal, electric and steel), and each sector's output is split among the three as follows:
| Output of → | Coal | Electric | Steel |
|---|---|---|---|
| purchased by Coal | 0.0 | 0.4 | 0.6 |
| purchased by Electric | 0.6 | 0.1 | 0.2 |
| purchased by Steel | 0.4 | 0.5 | 0.2 |
At equilibrium each sector's income equals its expenses. Setting up those equations and moving everything to one side gives the homogeneous system:
Row reduction leaves free, with and :
Only the ratios are determined. For example, if steel's output is priced at $100 million, coal's is about $94 million and electric's about $85 million. Ordering the variables differently would leave a different price free, giving an equivalent answer.
Summary
- A homogeneous system always has the trivial solution. It has a nontrivial solution, and hence infinitely many, exactly when it has a free variable.
- Parametric vector form writes the solutions as combinations of one vector per free variable. The homogeneous solution set is a span through the origin: a line for one free variable, typically a plane for two.
- If is consistent with particular solution , its solutions are exactly , the homogeneous solution set translated by (Theorem 6).
- A set is linearly independent when has only the trivial solution. The columns of are independent exactly when every column of is a pivot column.
- A set is dependent exactly when some vector in it is a combination of the others (Theorem 7). Two vectors are dependent exactly when one is a multiple of the other. More vectors than entries (Theorem 8) and containing (Theorem 9) each force dependence.
- Balancing chemical equations and finding equilibrium prices both reduce to homogeneous systems. The free variable reflects scale: whole-number multiples of a reaction, or the overall level of prices.