📚 Linear Algebra, Interactive Edition
⇩ Download ▾

1.4 Free Variables and Parametric Form

The previous section made elimination safe: every row operation trades one plane for another plane through the same intersection, so reducing a system never disturbs its solutions. Safety is only half the job. Once a system is fully reduced you still have to read the answer off it, and when the answer is larger than a single point, reading it off requires a form we have not yet written down.

Start with a system so small that it is already reduced — a single equation in three unknowns:

x y + 2 z = 2

Its augmented matrix is the one row (1,1,22), and there is nothing to eliminate: no second row exists to clear anything against. The leading 1 sits in the x column, which makes x a pivot variable. No leading entry appears in the y column or the z column, so y and z are free variables — free in the strict sense that you may assign them any values you like, whereupon the equation dictates what x must be. Three unknowns against one real constraint should leave two degrees of freedom, and it does: the solution set is a plane. The figure draws that plane along with a machine for naming its points.

A single semi-transparent tilted plane, the solution set of the equation x - y + 2z = 2, drawn as the graph z = 1 - 0.5x + 0.5y. A black dot on the sheet marks the particular solution (2, 0, 0). Two thin straight lines run through that dot inside the sheet: a red one in the direction (1, 1, 0) and a blue one in the direction (-2, 0, 1). Two thicker amber lines lie in the sheet as well, one parallel to the red direction and one parallel to the blue; they cross at a single point. Two sliders, s running from -2 to 2 and a running from -0.5 to 2.5, slide the amber lines across the sheet, and their crossing point is the solution (2 + s - 2a, s, a). At s = 0 and a = 0 the crossing sits exactly on the black dot; every other setting of the two sliders moves the crossing to a different point of the same tilted plane, and no setting ever lifts it off that plane.Explore in 3D (opens in a new tab)
The plane of solutions of xy+2z=2, drawn as the graph z=10.5x+0.5y. The black dot is the particular solution (2,0,0); the thin red and blue lines through it run in the directions (1,1,0) and (2,0,1). The two amber lines are the coordinate lines of the parameterization, and they cross at the solution (2+s2a,s,a) named by the current sliders.

Explore the figure

  1. Start at s=0, a=0. The two amber lines cross exactly on the black dot at (2,0,0); check it in the equation: 20+2(0)=2. That is the solution you get by setting both free variables to zero.
  2. Drag s to 1. The crossing slides to (3,1,0), travelling along the red line — the direction the solution moves when only y is changed. Confirm: 31+0=2.
  3. Now drag a to 1 as well. The crossing lands on (1,1,1): raising z by one has forced x down by two, which is exactly what the blue direction (2,0,1) records. Confirm: 11+2=2.
  4. Set a=1 and sweep s across its whole range. The crossing runs from (2,2,1) to (2,2,1), staying on the drawn sheet the whole way — an entire line of solutions at one fixed height. Two sliders, two independent directions of travel: the solution set is a plane, not a line.

Reading the answer off the pivot

A reduced row asks you to do exactly one thing: solve it for its pivot variable. Here that gives

x = 2 + y 2 z

Now hand the free variables names of their own. Write y=s and z=a — the two sliders — and every solution of the equation is

( x , y , z ) = ( 2 + s 2 a , s , a )

Splitting that into the part carrying no parameter and the parts carrying s and a turns it into the parametric form:

( x , y , z ) = ( 2 , 0 , 0 ) + s ( 1 , 1 , 0 ) + a ( 2 , 0 , 1 )

Every piece of this has a job. The vector (2,0,0) is a particular solution: one point that works, obtained by switching both free variables off. The other two are directions, and what qualifies them is that each solves the homogeneous version of the equation, xy+2z=0. For (1,1,0): 11+0=0. For (2,0,1): 20+2=0. A vector that changes the left-hand side by zero can be added to any solution without breaking it, which is why sliding s or a never lifts the crossing point off the sheet.

Notice also that the naming is exact rather than merely generous. The second and third coordinates of the parametric form are the parameters, so distinct pairs (s,a) give distinct points and every point of the plane is produced once. The free variables have become coordinates on the solution set. Solving the same equation for z instead would give z=10.5x+0.5y, the graph form the figure renders as a surface; it describes the identical set, but only parametric form survives when there is no single variable you can conveniently isolate.

[1122]
Already as reduced as it gets ✓ Computed · mojocas 0.1.0 ✓ Agrees with the text Already as reduced as it gets, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.

The augmented matrix of xy+2z=2 handed to a computer algebra system for reduction — and returned unchanged, because there is nothing left to do. One row, one pivot, and it sits in the x column. Of the three variable columns, two carry no pivot, and those two are the free variables: 3 unknowns minus 1 pivot leaves the 2 parameters the figure puts on sliders.

An equation that says nothing

Nothing in that argument depended on the system having only one equation, and it is worth seeing why. Add a second equation, 2x2y+4z=4, and reduce the pair. Subtracting twice the first row from the second turns (2,2,44) into (0,0,00). A row of zeros is the equation 0=0: true, and true at every point of space, so it excludes nothing. The reduced system still has one pivot and two free variables, and its solution set is still the plane you have been sweeping. The second equation was a multiple of the first — geometrically, the same plane written twice.

[11220000]
A redundant row reduces to zeros ✓ Computed · mojocas 0.1.0 ✓ Agrees with the text A redundant row reduces to zeros, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.

Two equations in, one equation out. The reduced matrix's second row is entirely zero, so the second equation imposed no condition the first had not already imposed. The lesson is a counting one: the number of equations is not the number of constraints — the number of pivots is. Here that count is 1 either way, and 31=2 free variables survive.

An original work of XYZ Homework, built around interactive XYZ 3D figures. Its chapter sequence is aligned to Interactive Linear Algebra (Margalit & Rabinoff, Georgia Tech, GNU FDL); this work is original, copies nothing from it, and is not affiliated with or endorsed by its authors. License: CC-BY-NC-SA-4.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.