When a system has infinitely many solutions, "list them all" is impossible, but "describe them all" is not. This lesson shows that every solution set of a consistent linear system has a clean geometric shape: a span of a few vectors, possibly shifted away from the origin. Writing solutions in parametric vector form makes that shape visible.
Homogeneous systems
Definition
Homogeneous system
A linear system is homogeneous if it can be written as Ax=0, where A is m×n and 0 is the zero vector in Rm.
A homogeneous system always has at least one solution, namely x=0, called the trivial solution. So a homogeneous system is never inconsistent, and the interesting question is whether it has a nontrivial solution, some x=0 with Ax=0. By the existence and uniqueness theorem, a consistent system has more than one solution exactly when it has a free variable.
Nontrivial solutions
The homogeneous equation Ax=0 has a nontrivial solution if and only if the equation has at least one free variable.
In particular, if A has more columns than rows (more unknowns than equations), Ax=0 always has a nontrivial solution.
The second sentence holds because an m×n matrix has at most m pivots, one per row; if n is larger than m, some column is left without a pivot.
Parametric vector form
Worked example: Solving a homogeneous system
Describe all solutions of Ax=0 for A=[1225−11].
Row reduce [A∣0]. R2−2R1 gives [013∣0], then R1−2R2 gives the RREF
[1001−7300].
So x1=7x3, x2=−3x3, and x3 is free. Write the general solution as a vector and factor out the free variable:
x=x1x2x3=7x3−3x3x3=x37−31.
The solution set is Span{v} with v=(7,−3,1): a line through the origin in R3. Geometrically, it is the line where the two planes x1+2x2−x3=0 and 2x1+5x2+x3=0 intersect.
The final expression is the parametric vector form of the solution: the solution vector written as a combination of fixed vectors, with free variables as the weights. When there are k free variables, the solution set of Ax=0 is the span of k vectors, one per free variable.
Worked example: Two free variables
Solve the single equation x1−3x2+2x3=0 in R3.
The coefficient matrix [1−32] is already in RREF with one pivot, so x2 and x3 are free and x1=3x2−2x3:
x=3x2−2x3x2x3=x2310+x3−201.
The solution set is Span{u,v} with u=(3,1,0) and v=(−2,0,1). Neither is a multiple of the other, so it is a plane through the origin, which is exactly the plane described by the original equation.
Nonhomogeneous systems
Now let b=0. Solve Ax=b for the same A as in the first example, with b=[13]. The same row operations give
[1225−1113]→[1001−73−11],
so x1=−1+7x3, x2=1−3x3, x3 free, and
x=−110+x37−31=p+tv.
The vector v is the same one that spans the homogeneous solutions, and p=(−1,1,0) is one particular solution of Ax=b (the one with x3=0). The solution set is the line through pparallel to the homogeneous solution line.
This is no accident. If Ap=b and Avh=0, linearity gives A(p+vh)=b+0=b. Conversely, if w is any solution of Ax=b, then A(w−p)=b−b=0, so w−p is a homogeneous solution.
Structure of solution sets
Suppose Ax=b is consistent and p is one solution. Then the solution set of Ax=b is the set of all vectors
w=p+vh,
where vh is any solution of the homogeneous equation Ax=0. Geometrically, it is the homogeneous solution set translated by p.
In two variables the picture is easy to draw. The solutions of x1−2x2=0 form a line through the origin spanned by (2,1); the solutions of x1−2x2=4 are that same line shifted by the particular solution p=(4,0).
Ax = 0 is the line through the origin (direction v = (2, 1)); Ax = b is the parallel line through p = (4, 0).Open in grapher →
Common mistake
A particular solution p is not unique; any single solution of Ax=b works, and different choices describe the same set. Also, the translated set p+Span{v} generally does not contain 0, so it is not a span. Only homogeneous solution sets pass through the origin.
A recipe for parametric vector form
Row reduce the augmented matrix to RREF.
Write each basic variable in terms of the free variables.
Write a typical solution x as a vector whose entries depend on the free variables.
Split x into a constant vector p plus one vector for each free variable, with that free variable as its weight.
Tip
Check a parametric answer in two parts: Ap should equal b, and Av should equal 0 for each direction vector v. If both hold, every vector p+tv is a solution.
Practice
Practice 1
A homogeneous system has 3 equations and 5 unknowns. Which statement must be true?
Practice 2
How many free variables does the homogeneous equation x1−3x2+2x3=0 (in R3) have?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 3
For A=[1225−11], every solution of Ax=0 has the form x3v. If x3=2, what is x1?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 4
For the same A and b=[13], the solutions of Ax=b are x=p+x3v. Find the solution with x3=1, as (x1,x2,x3).
Enter a point like (2, -3)
Practice 5
Suppose Ap=b and Av=0. Which vector is also a solution of Ax=b?
Practice 6
The solution set of the system x1+x2+x3=3, x1−x2=1 in R3 is
Practice 7
Let A=121−1−10253143. Write the solutions of Ax=0 in parametric vector form. For the solution with x3=1 and x4=−1, what is (x1,x2)?