Steply

Basis for the null space of [1, 3, 0; 0, 0, 1]

Step by step, with the reason for every step · Null space · Linear Algebra

Step by step

The question

Question: find the null space of A.

A = [1, 3, 0; 0, 0, 1]

The null space of A is every vector v that A sends to 0: A times v is the zero vector.

null space of A: every v with A v = 0

1 Write A v = 0

A has 3 columns, so v has 3 entries: x, y and z.

We want every v that gives 0s.

[1, 3, 0; 0, 0, 1] × [x; y; z] = [0; 0]

2 Row reduce

As an augmented matrix the part after the bar is all 0s, and every move keeps it 0.

So we leave it out and row reduce A itself.

= [1, 3, 0; 0, 0, 1]

We call the rows R 1 and R 2.

We use the three row moves: swap two rows, times a row by a number that is not 0, add a multiple of one row to another.

They never change the answers.

Our goal: a leading 1 in each row, with 0s above and below it.

swap two rows
× a row by a number (not 0)
add a multiple of one row to another

The matrix already has its leading 1s, with 0s above and below.

No moves are needed.

3 Find the free letters

The first number that is not 0 in each row is a 1.

We call it a leading 1, and ring it.

The letters x and z have a leading 1.

The letter y is free: any number.

leading 1: x, z
free: y

4 Write the leading letters with the free ones

Row 1 as an equation: x + 3y = 0.

x + 3y = 0

We want x alone.

To remove + 3y, we take away 3y on both sides.

x + 3y − 3y = −3y

They cancel on the left.

So x = −3y.

x = −3y

Row 2 as an equation: z = 0.

So z = 0.

z = 0

5 Write it as vectors

We stack the letters in a column.

The letter y is free, so it stays y.

[x; y; z] = [−3y; y; 0]

We split it up: what goes with y makes one vector, (−3, 1, 0).

[x; y; z] = y[−3; 1; 0], y any number

Careful!

In the vector of y, the y entry itself is 1.

Do not leave it out.

Careful: the free letter's own entry is 1

6 Write the basis

Every vector of the null space is made from this one vector.

So it is a basis: (−3, 1, 0).

= basis: [−3; 1; 0]

The dimension of the null space is how many basis vectors: 1, one for each free letter.

dimension = 1 (one for each free letter)

7 Check

Let's check: A times each basis vector must be 0.

= [1, 3, 0; 0, 0, 1] × [−3; 1; 0]
= [1 × (−3) + 3 × 1 + 0 × 0; 0 × (−3) + 0 × 1 + 1 × 0]

We work out every times.

= [−3 + 3 + 0; 0 + 0 + 0]

We get 0s: (−3, 1, 0) is in the null space.

= [0; 0]

A sends every basis vector to 0.

So the answer is right!

Let's look back.

First: write A v = 0.

Then: row reduce.

Then: find the free letters.

Then: write the leading letters with the free ones.

Then: write it as vectors.

Then: write the basis.

Last: check.

Answer
dimension = 1 (one for each free letter)

Your turn

Try this one yourself, then check:

Find the null space of A = [1, 1, 0; 0, 0, 1]
Show the answer
[−1; 1; 0]

More from Null space

The whole lesson: Null space →