The Nullspace: Finding a Basis |
Every matrix A defines 3 vector spaces -- the row space, the column space, and the nullspace. This lesson covers how to find a basis for the nullspace of a matrix or system of equations.
Theorem: The vectors that define the solution set of Ax = 0 form a basis for the nullspace of A.
The dimension (number of vectors) of the nullspace is called the nullity of A.
In order to find a basis for the nullspace, we solve the homogenous system and write the solution set in vector form.
Example 1: Find a basis for the nullspace of this homogenous system of equations:
Solution
The augmented matrix for this system is
It is obvious that x 4 = 0 and since we have 3 equations in 5 unknowns, we need 2 parmeters. If we set x 5 = t, then x 3 = t. Similarly, we set x 2 = s, which makes x 1 = s t.
The general solution for this system is: where s, t R.
This can be expressed as the sum of these 2 vectors:
These 2 vectors, therefore, form a basis for the nullspace of A.
It is a 2-dimensional subspace of R5 since there are 2 vectors with 5 components.
This tells us that the rank of A is 3. There are 3 vectors in a basis for the row and column spaces of this matrix.
If the system has only the trivial solution, the zero vector forms a basis for the nullspace and the nullity is = 0.
.
Practice
1) Find a basis for and state the dimension of the nullspace of these homogeneous systems.
a) | b) |
c) | d) |
Solutions:
1) a) To set up the augmented matrix:
first, switch row2 with row1, and switch row3 with row2 to get:
** Since A is a 3 × 3 square matrix, if , we know the system has only the trivial solution. Matrix A is row equivalent to I 3 × 3
b) The augmented matrix .
This can be expressed as the sum of these 2 vectors:
It is a 2-dimensional subspace of R4 since there are 2 vectors with 4 components.
c) To create the augmented matrix, switch the 1st and 2nd equations,
then use ½ (eq. 1) for row2 to get:
step 2: (row3 2row1) and (row4 + 2row1)
step 3: (row3 3row2) and (row4 row2)
Now we've got , so we add 10 × row3 to row 4 to get zeros in the last row.
When we set y = s, we get
w = s | x = s | y = s | z = 0 | s R |
This can be expressed as the vector: so nullity = 1.
d) To set up the augmented matrix:
first, switch row3 with row1 to get:
(all content © MathRoom Learning Service; 2004 - ).