When a matrix transforms space, some input vectors can get flattened all the way down to the origin, and we want a way to find every vector that gets crushed to zero.
1
What the Null Space Is
The Null Space of a matrix A is the collection of all input vectors x that the matrix crushes to the zero vector:
Ax=0
Both columns on one line
The plane flattened onto that line
To find the Null Space of a 2×2 matrix, we look for the inputs [xy] that give
[2412][xy]=[00]
What the Null Space Is
Text solution
Write the matrix equation as a mixture of columnsThe entries x and y tell us how much of Column 1 and Column 2 we are adding together to reach zero:
x[24]+y[12]=[00]
Cancel the columnsBecause Column 1 is twice Column 2, taking 1 of Column 1 and −2 of Column 2 makes them cancel out completely:
⟹1[24]−2[12]=[00][xy]=[1−2]
Include all multiplesMultiplying a recipe that gives zero by any number c still gives zero, so every multiple of [1−2] also cancels the columns:
Null Space=c[1−2]
So every vector along the line c[1−2] through the origin gets crushed to [00] by the matrix.
Whenever the input [xy] lies on the line c[1−2], the scaled columns x[24] and y[12] point in opposite directions with equal length and cancel to [00].
Every input on this line scales the two columns to equal lengths in opposite directions, so they cancel to zero.
2
Row Reduction Reveals Column Relationships
In a 2×2 matrix, we can spot right away when one column is a multiple of the other. In a 3×3 matrix, a column can be a mixture of the other two, so we cannot tell just by looking how the columns cancel in
1212535127xyz=000
No redundant columns
1 redundant column
2 redundant columns
Row Reduction Reveals Column Relationships
x[121]+y[253]+z[5127]=[000]
x,y,z=?
Text solution
Clear below the first pivotSubtract multiples of Row 1 from Row 2 and Row 3 so the top-left pivot 1 is the only nonzero entry in Column 1:
Read the column recipe and flip the signs to cancelBecause row operations never change how the columns relate, the reduced free column 120 tells us that Column 3=1(Column 1)+2(Column 2) in the original matrix too; taking z=1 of Column 3 requires x=−1 and y=−2 to cancel it:
Null Space=c−1−21
So the matrix flattens 3D space onto the plane of its first two columns and crushes the entire line c−1−21 into 000.
Practical note: Once your matrix is in reduced echelon form, you do not need to write out x+z=0 and y+2z=0. Setting the free variable to 1 and flipping the signs of the numbers in that reduced free column gives the pivot entries right away.
3
When Every Column Has a Pivot
In the matrix above, the bottom row turned into all zeros and left Column 3 without a pivot. Now see what happens to the Null Space when we change the bottom-right entry from 7 to 8:
1212535128xyz=000
When Every Column Has a Pivot
12125351278
Null Space=?
Text solution
Clear below the first and second pivotsSubtracting multiples of Row 1 and then subtracting Row 2 from Row 3 leaves a nonzero pivot 1 at the bottom of Column 3:
Write the Null SpaceBecause every column has a pivot and there are no free columns, none of the columns can be built from the others, so only taking 0 of each column gives zero:
Null Space=⎩⎨⎧000⎭⎬⎫
So when all three columns are independent, 3D space is not flattened at all, and only 000 itself lands at the origin. (Notice the braces {} rather than a multiplier c: the Null Space here is that single point, not a line.)
As long as Column 3 points outside the plane of Column 1 and Column 2, every column gets a pivot and only 000 collapses to zero; the moment Column 3 drops into their plane, the third pivot disappears and an entire line of inputs collapses to zero.
All three columns keep their pivots and only the origin goes to zero, unless Column 3 drops into the plane of Columns 1 and 2, where the third pivot disappears and a whole line of inputs collapses to zero.
4
More Than One Free Column
Now suppose a reduced matrix has four columns and only the first two have pivots, leaving two free columns at the end:
100010340−210x1x2x3x4=000
More Than One Free Column
Text solution
Cancel the first free column (Column 3)Set x3=1 and x4=0 to take 1 of Column 3 and 0 of Column 4; since Column 3=3(Column 1)+4(Column 2), flip those signs in the pivot slots:
x1x2x3x4=−3−410
Cancel the second free column (Column 4)Set x3=0 and x4=1 to take 1 of Column 4 and 0 of Column 3; since Column 4=−2(Column 1)+1(Column 2), flip those signs in the pivot slots:
x1x2x3x4=2−101
Combine both cancellation recipesBecause each recipe crushes to zero on its own, any combination of the two also crushes to zero:
Null Space=c1−3−410+c22−101
So two redundant columns give two independent cancellation recipes, forming a 2D plane of inputs in 4D space that all collapse to 000.
5
Free Columns Between Pivot Columns
In the previous examples, the pivot columns came first and the free columns were grouped at the right end. Now look at a reduced matrix where a free column sits right between two pivot columns:
1003000102−40x1x2x3x4=000
Free Columns Between Pivot Columns
100
300
010
2−40
x1x2x3x4
=000
pivot
free
pivot
free
x1x2x3x4
x1x2x3x4
Text solution
Match each column to its slot in the input vectorColumns 1 and 3 contain the pivots while Columns 2 and 4 are the free columns, so slots x2 and x4 are the free slots:
So the new input −1−22, and any vector of the form 001+c−1−21, hits the exact same target 5127.
For every input along the line 001+c−1−21, the matrix crushes the added c−1−21 piece to 000 and keeps the output at 5127, while inputs off that line land away from the target.
Adding any vector in the null-space direction keeps the output at the exact same spot, because the matrix sends that added piece to zero.
Key concepts
Finding the Null Space of A means finding every input recipe x that makes the columns of A cancel to zero (Ax=0).
When you can see how the columns relate right away, skip row reduction
In [2412], Column 1 is already 2(Column 2), so 1 of Column 1 and −2 of Column 2 cancel immediately, giving Null Space=c[1−2]. Similarly, if a matrix is already in reduced echelon form, read the column recipes directly off the columns.
When column mixtures are hidden, row reduce to reduced echelon form
Row operations turn the independent pivot columns into unit vectors without changing how the columns relate.
Every column has a pivot: No column is redundant, so nothing cancels except taking 0 of each column: Null Space=⎩⎨⎧000⎭⎬⎫.
One or more free columns: Each reduced free column shows how it is built from the pivot columns. Isolate one free column at a time by placing 1 in its slot and 0 in the other free slots, then flip the signs of its entries into the matching pivot slots. In 1003000102−40, Columns 2 and 4 are free, giving Null Space=c1−3100+c2−2041.
Adding Null Space vectors to solutions of Ax=b
The Null Space is the blind spot of A. Once you have one input x that hits b, adding any vector from the Null Space keeps the output at b because A crushes the added piece to zero.
7
Practice
1
By looking at how the columns of A=[31−6−2] cancel each other out, find the Null Space of A.
Watch out: writing the multiplier −2 directly in slot 1 gives c[−21], which adds up to [−12−4] instead of canceling.
How many of Column 1 does it take to make Column 2?
Column 2 is −2 times Column 1:
[−6−2]=−2[31]
To make the two columns cancel to [00], take 2 of Column 1 and 1 of Column 2 (watch out: writing the multiplier −2 directly in slot 1 gives c[−21], which adds up to [−12−4] instead of canceling, and swapping the slots gives c[12], which adds up to [−9−3]):
2[31]+1[−6−2]=[00]
Null Space=c[21]
2
Row reduce A=121253154 to reduced echelon form, state how Column 3 is built out of Column 1 and Column 2, and write the Null Space of A.
Watch out: if you stop at 100210130 without clearing the 2 above the second pivot, Column 2 is not a unit vector yet, so Column 3 is not yet showing the right recipe and gives c−1−31.
After clearing below the first pivot in Column 1, use the middle pivot in Row 2 to clear both the 1 below it and the 2 above it.
Clear below the first pivot, then clear below and above the second pivot (watch out: if you stop at 100210130 without clearing the 2 above the second pivot, Column 2 is not a unit vector yet, so Column 3 is not yet showing the right recipe and gives c−1−31):
From the reduced free column, Column 3=−5(Column 1)+3(Column 2). Flip the signs of −5 and 3 to cancel 1 of Column 3 (forgetting to flip the signs leaves c−531):
Null Space=c5−31
3
Find the Null Space of A=121132254 and explain what your result says about the three columns.
Row reduce A and check whether the bottom row turns into all zeros or keeps a pivot in Column 3.
Clear below the first pivot and then subtract Row 2 from Row 3 (watch out: in R3←R3−R1, the bottom-right entry is 4−2=2, not 1, so Row 3 does not match Row 2 and does not become [000]):
Because every column gets a pivot, the three columns are independent (none can be built from the others), and
Null Space=⎩⎨⎧000⎭⎬⎫
4
Find the Null Space of the reduced matrix 100010−2305−40.
Watch out: copying the free column entries without flipping their signs gives the wrong answer c1−2310+c25−401.
Columns 3 and 4 have no pivots; isolate them one at a time with (x3,x4)=(1,0) and (0,1).
Set (x3,x4)=(1,0) for Column 3 and (0,1) for Column 4, and flip the signs of their entries in the first two pivot slots (watch out: copying the free column entries without flipping their signs gives the wrong answer c1−2310+c25−401):
Null Space=c12−310+c2−5401
5
Find the Null Space of the reduced matrix 100−400010320.
Check which columns have pivots first. Which two slots belong to the free columns?
Columns 1 and 3 are the pivot columns, while Columns 2 and 4 are the free columns. Put (1,0) and (0,1) into the free slots x2 and x4 (watch out: automatically putting (1,0) and (0,1) in the bottom two slots x3 and x4 puts the numbers in the wrong column slots and gives c14010+c2−3−201), then flip the signs of Column 2 and Column 4 into the pivot slots x1 and x3:
Null Space=c14100+c2−30−21
6
Suppose A210=495 and the Null Space of A is c−321. Find another input vector xyz with z=4 that also gives Axyz=495.
Watch out: stopping at −1284 without adding 210 gives an output of 000 instead of 495.
What multiple c of the Null Space vector −321 can you add to 210 so that the third slot becomes z=4?
Choose c=4 in the Null Space vector 4−321=−1284 and add it to the working input 210 (watch out: stopping at −1284 without adding 210 gives an output of 000 instead of 495):