Mathematics II · Unit 5 · 5 hrs
Vector Spaces
Exam-focused notes for Vector Spaces (Mathematics II, MTH168): what the TU syllabus asks and how it has actually been tested, with 10 solved past questions from this unit.
Vector Spaces in short
This chapter lifts the whole theory, span, linear independence, subspaces, off $\mathbb{R}^n$ and onto any set with the right algebraic structure, a vector space, and introduces the null space and column space of a matrix as the two subspaces that decide when $A\mathbf{x}=\mathbf{b}$ can be solved.
What this unit covers
- Vector spaces and subspaces
- Null spaces, Column spaces, and Linear transformations
- Linearly independent sets: Bases
- Coordinate systems
Null spaces, Column spaces, and Linear transformations
2080 · 5 marks
Define null space of a matrix A. Let then show that v belongs to the null space matrix A. $A = \begin{bmatrix} 1 & -3 & 2 \ -5 & 9 & -1 \end{bmatrix}$, $v = \begin{bmatrix} 5 \ 3 \ 2 \end{bmatrix}$ [5]
2079 · 5 marks
Define null space of a matrix $A$. Show that $v$ is in the null space of $A$, where
$$A = \begin{bmatrix} 1 & -3 & -2 \ -5 & 9 & 1 \end{bmatrix}, \qquad v = \begin{bmatrix} 5 \ 3 \ -2 \end{bmatrix}$$
Show solved answerHide answer
Null Space of a Matrix
The null space of an $m \times n$ matrix $A$, written $N(A)$ or $\text{Null}(A)$, is the set of all vectors $\mathbf{x}$ in $\mathbb{R}^n$ that satisfy the homogeneous equation $A\mathbf{x} = \mathbf{0}$:
$$N(A) = {, \mathbf{x} \in \mathbb{R}^n \mid A\mathbf{x} = \mathbf{0} ,}$$
so the null space is exactly the solution set of $A\mathbf{x} = \mathbf{0}$. Its vectors carry as many components as $A$ has columns, while the zero vector on the right carries as many components as $A$ has rows.
The null space is always a subspace of $\mathbb{R}^n$. It contains the zero vector because $A\mathbf{0} = \mathbf{0}$, it is closed under addition because $A\mathbf{u} = \mathbf{0}$ and $A\mathbf{v} = \mathbf{0}$ give
$$A(\mathbf{u} + \mathbf{v}) = A\mathbf{u} + A\mathbf{v} = \mathbf{0}$$
and it is closed under scalar multiplication because $A\mathbf{u} = \mathbf{0}$ gives
$$A(c\mathbf{u}) = c(A\mathbf{u}) = \mathbf{0}$$
Its dimension is called the nullity of $A$, and by the rank-nullity theorem the rank and the nullity add up to $n$, the number of columns.
Showing that $v$ lies in $\text{Null}(A)$
We are given
$$A = \begin{bmatrix} 1 & -3 & -2 \ -5 & 9 & 1 \end{bmatrix}, \qquad v = \begin{bmatrix} 5 \ 3 \ -2 \end{bmatrix}$$
Here $A$ has three columns, so the vectors of its null space live in $\mathbb{R}^3$, and $v$ has three components, which makes the test meaningful. Membership needs no row reduction at all, because it is settled by the single defining condition $Av = \mathbf{0}$. Forming the product row by row,
$$Av = \begin{bmatrix} 1 & -3 & -2 \ -5 & 9 & 1 \end{bmatrix} \begin{bmatrix} 5 \ 3 \ -2 \end{bmatrix}$$
The first row gives
$$(1)(5) + (-3)(3) + (-2)(-2) = 5 - 9 + 4 = 0$$
and the second row gives
$$(-5)(5) + (9)(3) + (1)(-2) = -25 + 27 - 2 = 0$$
so that
$$Av = \begin{bmatrix} 0 \ 0 \end{bmatrix} = \mathbf{0}$$
Since $Av = \mathbf{0}$, the vector $v$ satisfies the defining condition of the null space. Therefore $v \in \text{Null}(A)$, which is what the question asked us to show.
2078
Define null space of a matrix $A$. Let
$$A = \begin{bmatrix} 1 & -3 & -2 \ -5 & 9 & 1 \end{bmatrix}, \qquad v = \begin{bmatrix} 5 \ 3 \ -2 \end{bmatrix}$$
Then show that $v$ is in the null space of $A$.
Show solved answerHide answer
Null Space of a Matrix
The null space of an $m \times n$ matrix $A$, written $N(A)$ or $\text{Null}(A)$, is the set of all vectors $\mathbf{x}$ in $\mathbb{R}^n$ that satisfy the homogeneous equation $A\mathbf{x} = \mathbf{0}$:
$$N(A) = {, \mathbf{x} \in \mathbb{R}^n \mid A\mathbf{x} = \mathbf{0} ,}$$
so the null space is exactly the solution set of $A\mathbf{x} = \mathbf{0}$. Its vectors carry as many components as $A$ has columns, while the zero vector on the right carries as many components as $A$ has rows.
The null space is always a subspace of $\mathbb{R}^n$. It contains the zero vector because $A\mathbf{0} = \mathbf{0}$, it is closed under addition because $A\mathbf{u} = \mathbf{0}$ and $A\mathbf{v} = \mathbf{0}$ give
$$A(\mathbf{u} + \mathbf{v}) = A\mathbf{u} + A\mathbf{v} = \mathbf{0}$$
and it is closed under scalar multiplication because $A\mathbf{u} = \mathbf{0}$ gives
$$A(c\mathbf{u}) = c(A\mathbf{u}) = \mathbf{0}$$
Its dimension is called the nullity of $A$, and by the rank-nullity theorem the rank and the nullity add up to $n$, the number of columns.
Showing that $v$ lies in $\text{Null}(A)$
We are given
$$A = \begin{bmatrix} 1 & -3 & -2 \ -5 & 9 & 1 \end{bmatrix}, \qquad v = \begin{bmatrix} 5 \ 3 \ -2 \end{bmatrix}$$
Here $A$ has three columns, so the vectors of its null space live in $\mathbb{R}^3$, and $v$ has three components, which makes the test meaningful. Membership needs no row reduction at all, because it is settled by the single defining condition $Av = \mathbf{0}$. Forming the product row by row,
$$Av = \begin{bmatrix} 1 & -3 & -2 \ -5 & 9 & 1 \end{bmatrix} \begin{bmatrix} 5 \ 3 \ -2 \end{bmatrix}$$
The first row gives
$$(1)(5) + (-3)(3) + (-2)(-2) = 5 - 9 + 4 = 0$$
and the second row gives
$$(-5)(5) + (9)(3) + (1)(-2) = -25 + 27 - 2 = 0$$
so that
$$Av = \begin{bmatrix} 0 \ 0 \end{bmatrix} = \mathbf{0}$$
Since $Av = \mathbf{0}$, the vector $v$ satisfies the defining condition of the null space. Therefore $v \in \text{Null}(A)$, which is what the question asked us to show.
2076 · 5 marks
Define null space. Find their basis for the null space of the matrix $A = \begin{bmatrix} 1 & 2 & 3 \ 2 & 3 & 4 \end{bmatrix}$ [5]
2075 · 5 marks
Find the dimension of the null space and column space of $A = \begin{bmatrix} -3 & 6 & -1 & 1 & -7 \ 1 & -2 & 2 & 3 & -1 \ 2 & -4 & 5 & 8 & -4 \end{bmatrix}$ [5]
Show solved answerHide answer
Dimensions of Null Space and Column Space of A
Given
$$A = \begin{bmatrix} -3 & 6 & -1 & 1 & -7 \ 1 & -2 & 2 & 3 & -1 \ 2 & -4 & 5 & 8 & -4 \end{bmatrix}, \quad 3 \times 5 \text{ matrix}$$
Number of columns $n = 5$.
Step 2 - Row reduce to echelon form
Swap $R_1 \leftrightarrow R_2$:
$$\begin{bmatrix} 1 & -2 & 2 & 3 & -1 \ -3 & 6 & -1 & 1 & -7 \ 2 & -4 & 5 & 8 & -4 \end{bmatrix}$$
$R_2 \to R_2 + 3R_1$: $(-3+3, 6-6, -1+6, 1+9, -7-3) = (0,0,5,10,-10)$
$R_3 \to R_3 - 2R_1$: $(2-2, -4+4, 5-4, 8-6, -4+2) = (0,0,1,2,-2)$
$$\begin{bmatrix} 1 & -2 & 2 & 3 & -1 \ 0 & 0 & 5 & 10 & -10 \ 0 & 0 & 1 & 2 & -2 \end{bmatrix}$$
$R_2 \to \tfrac{1}{5}R_2$: gives $(0,0,1,2,-2)$
$R_3 \to R_3 - R_2$: gives $(0,0,0,0,0)$
$$\begin{bmatrix} 1 & -2 & 2 & 3 & -1 \ 0 & 0 & 1 & 2 & -2 \ 0 & 0 & 0 & 0 & 0 \end{bmatrix}$$
Step 3 - Pivots and free variables
Pivots appear in columns 1 and 3.
- Rank $= 2$
- Free variables: $x_2, x_4, x_5$ (3 free variables)
Step 4 - Dimension of column space
$$\dim(\text{Col } A) = \text{rank}(A) = 2$$
mth168-rank-nullity-five-columns
Basis (pivot columns of original $A$):
$$\left{ \begin{bmatrix} -3 \ 1 \ 2 \end{bmatrix},\ \begin{bmatrix} -1 \ 2 \ 5 \end{bmatrix} \right}$$
Step 5 - Dimension of null space (Rank-Nullity)
$$\dim(\text{Nul } A) = n - \text{rank}(A) = 5 - 2 = 3$$
Final Answer
| Space | Dimension |
|---|---|
| Column Space (rank) | $2$ |
| Null Space (nullity) | $3$ |
Check: $2 + 3 = 5 = n$ ✓
2080.1 · 5 marks
Find the basis and dimension of Null A where $A = \begin{bmatrix} 1 & 2 & 3 & 4 \ 2 & 4 & 7 & 8 \end{bmatrix}$ [5]
Coordinate systems
2076 · 5 marks
Find the vector $\mathbf{x}$ determined by the coordinate vector $[\mathbf{x}]_\beta = \begin{bmatrix} -4 \ 8 \ 7 \end{bmatrix}$ where $\beta = \left{ \begin{bmatrix} -1 \ 2 \ 0 \end{bmatrix}, \begin{bmatrix} 3 \ -5 \ 2 \end{bmatrix}, \begin{bmatrix} 4 \ -7 \ 3 \end{bmatrix} \right}$. [5]
Linearly independent sets
2075 · 10 marks
Define linearly independent set of vectors with an example. Show that the vectors (1,4,3), (0,3,1) and (3,-5,4) are linearly independent. Do they form a basis? Justify.[10]
Vector spaces and subspaces
2075 · 5 marks
Define subspace of a vector space. Let $H = \left{\begin{bmatrix} s \ t \ 0 \end{bmatrix} : s, t \in \mathbb{R}\right}$, show that $H$ is a subspace of $\mathbb{R}^3$. [5]
2080.1 · 5 marks
Show that $H = {(a-3b, b-a, a, b) : a, b \in \mathbb{R}}$ is a subspace of $\mathbb{R}^4$. [5]
Make Unit 5 stick
Practice MTH168 with flashcards & quizzes