6 Vector Space Continued

Mathematics II · Unit 6 · 4 hrs

Vector Space Continued

Exam-focused notes for Vector Space Continued (Mathematics II, MTH168): what the TU syllabus asks and how it has actually been tested, with 4 solved past questions from this unit.

Vector Space Continued in short

This chapter finishes the vector space toolkit with dimension and change of basis, then puts that toolkit to work on two recurring applied models, difference equations and Markov chains, both of which describe how a state vector evolves step by step.

Vector Space Continued: notes

Dimension of vector space and rank

If a vector space $V$ has a basis of $n$ vectors, every basis of $V$ has exactly $n$ vectors, and $n$ is called the dimension of $V$, $\dim V$. For an $m \times n$ matrix $A$, $\dim(\operatorname{Nul} A)$ equals the number of free variables in $A\mathbf{x} = \mathbf{0}$, and $\dim(\operatorname{Col} A)$, the rank of $A$, equals the number of pivot columns; both are read directly off the echelon form of $A$.

Worked example. Find $\operatorname{rank}(A)$ and $\dim(\operatorname{Nul} A)$ for $A = \begin{bmatrix} -3 & 6 & -1 & 1 & -7 \ 1 & -2 & 2 & 3 & -1 \ 2 & -4 & 5 & 8 & -4 \end{bmatrix}$. Interchanging $R_1, R_2$ and eliminating below the first pivot with $R_2 \to R_2 + 3R_1$ and $R_3 \to R_3 - 2R_1$ gives $$\begin{bmatrix} 1 & -2 & 2 & 3 & -1 \ 0 & 0 & 5 & 10 & -10 \ 0 & 0 & 1 & 2 & -2 \end{bmatrix}.$$ Replacing $R_2 \to R_2 - 5R_3$ (after treating row three as the next pivot row) leaves a zero row, so the echelon form has pivots only in columns $1$ and $3$. Hence $\operatorname{rank}(A) = 2$, and since there are $5$ columns, the three remaining variables $x_2, x_4, x_5$ are free, so $\dim(\operatorname{Nul} A) = 3$. This confirms the Rank Theorem, $\operatorname{rank}(A) + \dim(\operatorname{Nul} A) = 2 + 3 = 5$, the number of columns.

What this unit covers

  • Dimension of vector space and Rank
  • Change of basis
  • Applications to difference equations
  • Applications to Markov Chains

Applications to difference equations

2080 · 5 marks

Show that the solutions of $y_{k+2} - 4y_{k+1} + 3y_k = 0$ are linearly independent. [5]

Homogeneous linear difference equation: $$y{k+2} - 4y{k+1} + 3yk = 0$$ Task: show the two fundamental solutions are linearly independent. Assume a solution of the form $yk = m^k$. Substituting: $$m^{k+2} - 4m^{k+1} + 3m^k = 0$$ Dividing by $m^k$ (with $m \neq 0$): $$m^2 - 4m + 3 = 0$$ $$(m-1)(m-3...

Open this answer on its own page →

2079 · 5 marks

Verify that $1k$, $-2^k$, $3^k$ are linearly independent signals. [5]

Show solved answer

Verifying Linear Independence of $1^k$, $(-2)^k$, $3^k$

Given

Three discrete-time signals:

  • $f_1(k) = 1^k$
  • $f_2(k) = (-2)^k$
  • $f_3(k) = 3^k$

Task: verify they are linearly independent.

Solution

Definition

Signals are linearly independent if $$C_1 f_1(k) + C_2 f_2(k) + C_3 f_3(k) = 0 \quad \text{for all } k$$ forces $C_1 = C_2 = C_3 = 0$.

Set up the equation

$$C_1(1)^k + C_2(-2)^k + C_3(3)^k = 0 \quad \forall k$$

Substitute $k = 0, 1, 2$:

$k=0$: $\quad C_1 + C_2 + C_3 = 0 \quad (1)$

$k=1$: $\quad C_1 - 2C_2 + 3C_3 = 0 \quad (2)$

$k=2$: $\quad C_1 + 4C_2 + 9C_3 = 0 \quad (3)$

Coefficient matrix and determinant

$$A = \begin{bmatrix} 1 & 1 & 1 \ 1 & -2 & 3 \ 1 & 4 & 9 \end{bmatrix}$$

This is a Vandermonde-type matrix in the bases $1, -2, 3$. Compute:

$$\det(A) = 1\begin{vmatrix} -2 & 3 \ 4 & 9 \end{vmatrix} - 1\begin{vmatrix} 1 & 3 \ 1 & 9 \end{vmatrix} + 1\begin{vmatrix} 1 & -2 \ 1 & 4 \end{vmatrix}$$

$$= 1(-18 - 12) - 1(9 - 3) + 1(4 + 2)$$

$$= -30 - 6 + 6 = -30$$

Cross-check (Vandermonde formula): for bases $a=1, b=-2, c=3$, $$\det = (b-a)(c-a)(c-b) = (-3)(2)(5) = -30 \checkmark$$

Conclusion

Since $\det(A) = -30 \neq 0$, the homogeneous system has only the trivial solution: $$C_1 = C_2 = C_3 = 0$$

Therefore the signals $1^k$, $(-2)^k$, and $3^k$ are linearly independent. $\blacksquare$

(Note: this is expected, since distinct exponential bases $1, -2, 3$ always yield linearly independent geometric signals.)

Open this answer on its own page →

2078 · 5 marks

Verify that $1k$, $(-2^k)$, $3k$ are linearly independent signals. [5]

Show solved answer

Given

Three signals to test for linear independence:

$$f_1(k) = 1^k, \quad f_2(k) = (-2)^k, \quad f_3(k) = 3^k$$

No other numeric data required.


Solution

Definition

Signals ${f_1, f_2, f_3}$ are linearly independent if

$$C_1 f_1(k) + C_2 f_2(k) + C_3 f_3(k) = 0 \quad \text{for all } k$$

implies $C_1 = C_2 = C_3 = 0$.

Form the combination

$$C_1 (1)^k + C_2 (-2)^k + C_3 (3)^k = 0 \quad \text{for all } k$$

Evaluate at three sample values of $k$.

$k = 0$: $$C_1 + C_2 + C_3 = 0 \quad (1)$$

$k = 1$: $$C_1 - 2C_2 + 3C_3 = 0 \quad (2)$$

$k = 2$: $$C_1 + 4C_2 + 9C_3 = 0 \quad (3)$$

Casoratian (determinant) test

This is a homogeneous system $A\mathbf{C} = 0$ with

$$A = \begin{bmatrix} 1 & 1 & 1 \ 1 & -2 & 3 \ 1 & 4 & 9 \end{bmatrix}$$

Compute the determinant:

$$\det A = 1[(-2)(9) - (3)(4)] - 1[(1)(9) - (3)(1)] + 1[(1)(4) - (-2)(1)]$$

$$= 1(-18 - 12) - 1(9 - 3) + 1(4 + 2)$$

$$= -30 - 6 + 6 = -30 \neq 0$$

Since $\det A \neq 0$, the only solution is the trivial one.

Verification by row reduction

$$ \begin{bmatrix} 1 & 1 & 1 & 0 \ 1 & -2 & 3 & 0 \ 1 & 4 & 9 & 0 \end{bmatrix} \xrightarrow{R_2 - R_1,; R_3 - R_1} \begin{bmatrix} 1 & 1 & 1 & 0 \ 0 & -3 & 2 & 0 \ 0 & 3 & 8 & 0 \end{bmatrix} $$

$$ \xrightarrow{R_3 + R_2} \begin{bmatrix} 1 & 1 & 1 & 0 \ 0 & -3 & 2 & 0 \ 0 & 0 & 10 & 0 \end{bmatrix} $$

Back substitution:

$$10C_3 = 0 \implies C_3 = 0$$ $$-3C_2 + 2(0) = 0 \implies C_2 = 0$$ $$C_1 + 0 + 0 = 0 \implies C_1 = 0$$

Conclusion

The only solution is $C_1 = C_2 = C_3 = 0$ (trivial), so the signals $1^k$, $(-2)^k$, and $3^k$ are linearly independent. $\blacksquare$

(Note: this is expected since the three signals correspond to distinct roots $1, -2, 3$ of a characteristic equation, and modes with distinct roots are always independent.)

Open this answer on its own page →

Change of basis

2076 · 5 marks

Let $B={b_1, b_2}$ and $C={c_1, c_2}$ be bases for a vector space $V$, and suppose $b_1 = -c_1 + 4c_2$ and $b_2 = 5c_1 - 3c_2$. Find the change of coordinate matrix for the vector space and find $[x]_C$ for $x = 5b_1 + 3b_2$. [5]

  • Bases $B={b1,b2}$, $C={c1,c2}$ for vector space $V$ - $b1=-c1+4c2$ - $b2=5c1-3c2$ - $x=5b1+3b2$ --- $$[b1]C=\begin{bmatrix}-1\4\end{bmatrix},\qquad [b2]C=\begin{bmatrix}5\-3\end{bmatrix}$$ $$P{C\leftarrow B}=\big[,[b1]C\ \ [b2]C,\big]=\begin{bmatrix}-1 & 5\ 4 & -3\end{bmatrix}$$ This s...
Open this answer on its own page →