Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Write the General Solution in Parametric Vector Form

When a consistent system has free variables, it has infinitely many solutions. Write them all at once as one particular solution plus a free multiple of a direction vector for each free variable.

Recognize the task

Row reduction ends with fewer pivots than unknowns and no contradictory row: "find the general solution", "describe the solution set", "write the solution in vector form". Typical forms: one equation in three unknowns, two equations in four unknowns, a 3×33 \times 3 system with a zero row. Test: is there a column of AA without a pivot? Each such column gives a parameter.
The form is built in the lesson section Parametric Vector Form.

Steps

StepOn [1−3024001−15]\left[\begin{array}{cccc|c} 1 & -3 & 0 & 2 & 4 \\ 0 & 0 & 1 & -1 & 5 \end{array}\right]
1Reduce to reduced form. Use Gauss-Jordan elimination; each pivot row then holds one pivot variable.already reduced; pivots in columns 1 and 3
2Name the free variables. Every column of AA without a pivot is free; give each its own parameter.x2=s, x4=tx_2 = s,\ x_4 = t
3Solve each pivot variable. Move the free terms to the right side; their signs flip.x1=4+3s−2t, x3=5+tx_1 = 4 + 3s - 2t,\ x_3 = 5 + t
4Split the solution into a constant vector and one vector per parameter. Each free variable has a 11 in its own slot of its vector and 00 in the other free slots.x=(4050)+s(3100)+t(−2011)\mathbf{x} = \begin{pmatrix} 4 \\ 0 \\ 5 \\ 0 \end{pmatrix} + s\begin{pmatrix} 3 \\ 1 \\ 0 \\ 0 \end{pmatrix} + t\begin{pmatrix} -2 \\ 0 \\ 1 \\ 1 \end{pmatrix}
5Check. The constant vector solves Ax=bA\mathbf{x} = \mathbf{b}; each direction vector solves Av=0A\mathbf{v} = \mathbf{0} (see homogeneous systems).row 1 on (3,1,0,0)(3, 1, 0, 0): 3−3=03 - 3 = 0 ✓

Worked examples

Example 1 · one equation

a plane
x+2y−z=4x + 2y - z = 4
pivot xx; yy, zz free
y=s, z=ty = s,\ z = t: x=4−2s+tx = 4 - 2s + t
x=(4,0,0)+s(−2,1,0)+t(1,0,1)\mathbf{x} = (4, 0, 0) + s(-2, 1, 0) + t(1, 0, 1)
a plane in 3D

Example 2 · two equations, three unknowns

a line
x+y+z=2, x+2y+3z=5x + y + z = 2,\ x + 2y + 3z = 5
∼[10−1−10123]\sim \left[\begin{array}{ccc|c} 1 & 0 & -1 & -1 \\ 0 & 1 & 2 & 3 \end{array}\right]
R2−R1R_2 - R_1, then R1−R2R_1 - R_2
z=tz = t: x=−1+t, y=3−2tx = -1 + t,\ y = 3 - 2t
x=(−1,3,0)+t(1,−2,1)\mathbf{x} = (-1, 3, 0) + t(1, -2, 1)
a line in 3D

Example 3 · from the original system

3 × 4
[121142434912−1−32]\left[\begin{array}{cccc|c} 1 & 2 & 1 & 1 & 4 \\ 2 & 4 & 3 & 4 & 9 \\ 1 & 2 & -1 & -3 & 2 \end{array}\right]
R2−2R1, R3−R1, R3+2R2, R1−R2R_2 - 2R_1,\ R_3 - R_1,\ R_3 + 2R_2,\ R_1 - R_2
Gauss-Jordan
[120−130012100000]\left[\begin{array}{cccc|c} 1 & 2 & 0 & -1 & 3 \\ 0 & 0 & 1 & 2 & 1 \\ 0 & 0 & 0 & 0 & 0 \end{array}\right]
free: x2=sx_2 = s, x4=tx_4 = t
x=(3,0,1,0)+s(−2,1,0,0)+t(1,0,−2,1)\mathbf{x} = (3, 0, 1, 0) + s(-2, 1, 0, 0) + t(1, 0, -2, 1)

See it happen

The constant vector is one point of the solution set. The direction vectors solve the homogeneous system, so adding any multiple of them never changes AxA\mathbf{x}. The whole solution set is that point shifted by every combination of the directions: a line, a plane, or a higher flat piece that does not pass through the origin unless b=0\mathbf{b} = \mathbf{0} (solution structure).

Common mistakes

Copying the free column without changing sign

✗ direction (−3,1,0,0)(-3, 1, 0, 0) from the entry −3-3 in row 1
✓ x1=4+3s−…x_1 = 4 + 3s - \dots, so the direction is (3,1,0,0)(3, 1, 0, 0)

Dropping the free variable's own 1

✗ x=(4,0,5,0)+s(3,0,0,0)+…\mathbf{x} = (4, 0, 5, 0) + s(3, 0, 0, 0) + \dots
✓ x2=sx_2 = s puts a 11 in slot 2: s(3,1,0,0)s(3, 1, 0, 0)

Calling a different-looking answer wrong

✗ rejecting (1,−1,2)+t(1,−2,1)(1, -1, 2) + t(1, -2, 1) for x=(−1,3,0)+t(1,−2,1)\mathbf{x} = (-1, 3, 0) + t(1, -2, 1)
✓ it is t=2t = 2 of the other form; any particular solution works