MTH168 · TU past paper
Mathematics II 2078 question paper
The complete TU 2078 exam paper for Mathematics II (MTH168), all 15 questions with solved model answers written to the mark scheme.
Tap a question to open its answer.
- 110 marksNumericalSystem of linear equationsHideAnswer
Define system of linear equations. When a system of equation is consistent? Determine if the system is consistent:
$$-2x_1 - 3x_2 + 4x_3 = 5$$ $$x_2 - 2x_3 = 4$$ $$x_1 + 3x_2 - x_3 = 2$$
[10]
A system of linear equations is a collection of one or more linear equations involving the same set of variables. A single linear equation has the form: $$a1x1 + a2x2 + \cdots + anxn = b$$ where $a1, \ldots, an, b$ are constants and
- 210 marksNumericalIntroduction to linear transformationsHideAnswer
Define linear transformation with an example. Let $A = \begin{bmatrix} 1 & -3 \ 3 & 5 \ -1 & 7 \end{bmatrix}$, $v = \begin{bmatrix} 2 \ -1 \end{bmatrix}$, $b = \begin{bmatrix} 3 \ 2 \ 4 \end{bmatrix}$, $x = \begin{bmatrix} x_1 \ x_2 \end{bmatrix}$ and define a transformation $T: \mathbb{R}^2 \to \mathbb{R}^3$ by $T(x) = Ax$ then
a. find $T(v)$
b. find $x \in \mathbb{R}^2$ whose image under $T$ is $b$ [10+0]
Linear Transformation: Definition, Example, and Solution
Definition
A transformation $T: \mathbb{R}^n \to \mathbb{R}^m$ is a linear transformation if for all vectors $\mathbf{u}, \mathbf{v} \in \mathbb{R}^n$ and all scalars $c$:
- $T(\mathbf{u} + \mathbf{v}) = T(\mathbf{u}) + T(\mathbf{v})$
- $T(c\mathbf{u}) = c,T(\mathbf{u})$
Example: For any $m \times n$ matrix $A$, the map $T(\mathbf{x}) = A\mathbf{x}$ is a linear transformation.
Step 1: Given Data
$$A = \begin{bmatrix} 1 & -3 \ 3 & 5 \ -1 & 7 \end{bmatrix}, \quad v = \begin{bmatrix} 2 \ -1 \end{bmatrix}, \quad b = \begin{bmatrix} 3 \ 2 \ 4 \end{bmatrix}, \quad x = \begin{bmatrix} x_1 \ x_2 \end{bmatrix}$$
$T(\mathbf{x}) = A\mathbf{x}$.
Note: Since $A$ is $3 \times 2$, the map is actually $T:\mathbb{R}^2 \to \mathbb{R}^3$ (the problem statement's "$\mathbb{R}^2$" codomain is a typo). I use $\mathbb{R}^3$ as the codomain.
Step 2: Solve
Part (a): $T(v) = Av$
$$T(v) = \begin{bmatrix} 1 & -3 \ 3 & 5 \ -1 & 7 \end{bmatrix}\begin{bmatrix} 2 \ -1 \end{bmatrix}$$
- Row 1: $(1)(2) + (-3)(-1) = 2 + 3 = 5$
- Row 2: $(3)(2) + (5)(-1) = 6 - 5 = 1$
- Row 3: $(-1)(2) + (7)(-1) = -2 - 7 = -9$
$$\boxed{T(v) = \begin{bmatrix} 5 \ 1 \ -9 \end{bmatrix}}$$
Part (b): Solve $Ax = b$
$$\left[\begin{array}{cc|c} 1 & -3 & 3 \ 3 & 5 & 2 \ -1 & 7 & 4 \end{array}\right]$$
$R_2 \to R_2 - 3R_1$, $R_3 \to R_3 + R_1$:
$$\left[\begin{array}{cc|c} 1 & -3 & 3 \ 0 & 14 & -7 \ 0 & 4 & 7 \end{array}\right]$$
$R_2 \to \tfrac{1}{14}R_2$:
$$\left[\begin{array}{cc|c} 1 & -3 & 3 \ 0 & 1 & -\tfrac{1}{2} \ 0 & 4 & 7 \end{array}\right]$$
$R_3 \to R_3 - 4R_2$:
$$R_3 = \left[0,; 4 - 4(1),; 7 - 4\left(-\tfrac{1}{2}\right)\right] = \left[0,; 0,; 7 + 2\right] = [0,;0,;9]$$
$$\left[\begin{array}{cc|c} 1 & -3 & 3 \ 0 & 1 & -\tfrac{1}{2} \ 0 & 0 & 9 \end{array}\right]$$
The last row states $0 = 9$, which is impossible.
Conclusion: The system $Ax = b$ is inconsistent. There is no $x \in \mathbb{R}^2$ whose image under $T$ equals $b = [3,;2,;4]^T$. Equivalently, $b$ is not in the range (column space) of $A$.
Verification. A candidate sometimes quoted for this system is $x_1 = 1.5,\ x_2 = -0.5$. Testing it: $$A\begin{bmatrix}1.5\-0.5\end{bmatrix} = \begin{bmatrix}(1)(1.5)+(-3)(-0.5)\(3)(1.5)+(5)(-0.5)\(-1)(1.5)+(7)(-0.5)\end{bmatrix} = \begin{bmatrix}3\2\-5\end{bmatrix} \neq \begin{bmatrix}3\2\4\end{bmatrix}.$$
The first two equations are satisfied but the third gives $-5 \ne 4$, confirming there is no solution.
Final Answers
- (a) $T(v) = [5,\ 1,\ -9]^T$
- (b) No solution exists; $Ax = b$ is inconsistent ($b$ is not in the column space of $A$).
- 310 marksNumericalMatrix factorizationHideAnswer
Find the LU factorization of $$\begin{bmatrix} 2 & 4 & -1 & 5 & -2 \ -4 & -5 & 3 & -8 & 1 \ 2 & -5 & -4 & 1 & 8 \ -6 & 0 & 7 & -3 & 1 \end{bmatrix}$$ [10]
$$A = \begin{bmatrix} 2 & 4 & -1 & 5 & -2 \ -4 & -5 & 3 & -8 & 1 \ 2 & -5 & -4 & 1 & 8 \ -6 & 0 & 7 & -3 & 1 \end{bmatrix}$$ We seek $A = LU$ with $L$ unit lower triangular ($4\times4$) and $U$ upper (echelon) form ($4\times5$). The m...
- 410 marksNumericalLeast squares problemsHideAnswer
Find a least square solution of the inconsistent system $Ax=b$ for
$$A = \begin{bmatrix} -1 & 2 \ 2 & -3 \ -1 & 3 \end{bmatrix}, \quad b = \begin{bmatrix} 4 \ 2 \ 1 \end{bmatrix}$$
[10]
$$A = \begin{bmatrix} -1 & 2 \ 2 & -3 \ -1 & 3 \end{bmatrix}, \qquad b = \begin{bmatrix} 4 \ 2 \ 1 \end{bmatrix}$$ Unknown: $\hat{x} = \begin{bmatrix} x1 \ x2 \end{bmatrix}$ The least square solution satisfies the normal equations: ...
- 55 marksNumericalLinear independenceHideAnswer
Determine the column of the matrix $A$ are linearly independent, where $A = \begin{bmatrix} 0 & 1 & 4 \ 1 & 2 & -1 \ 5 & 8 & 0 \end{bmatrix}$ [5]
$$A = \begin{bmatrix} 0 & 1 & 4 \ 1 & 2 & -1 \ 5 & 8 & 0 \end{bmatrix}$$ Task: determine whether the columns of $A$ are linearly independent. The columns are linearly independent iff $A\mathbf{x}=\mathbf{0}$ has only the trivial soluti...
- 65 marksNumericalVector equationsHideAnswer
When two column vectors in $\mathbb{R}^2$ are equal? Give an example. Compute $u + 3v$, $u - 2v$, where $u = \begin{bmatrix} 1 \ -3 \ 2 \end{bmatrix}$, $v = \begin{bmatrix} 1 \ -1 \ 3 \end{bmatrix}$ [5]
Vector Equality and Operations
STEP 1 - EXTRACT: Given Data
$$\mathbf{u} = \begin{bmatrix} 1 \ -3 \ 2 \end{bmatrix}, \quad \mathbf{v} = \begin{bmatrix} 1 \ -1 \ 3 \end{bmatrix}$$
Required:
- Condition for equality of two column vectors in $\mathbb{R}^2$ with an example
- Compute $\mathbf{u} + 3\mathbf{v}$ and $\mathbf{u} - 2\mathbf{v}$
Note: The given vectors $\mathbf{u}$ and $\mathbf{v}$ each have 3 components, so they actually lie in $\mathbb{R}^3$, not $\mathbb{R}^2$. The theory part asks about $\mathbb{R}^2$, but the computation uses $\mathbb{R}^3$ vectors. The operations are still well defined (both same size), so we proceed as given.
STEP 2 - SOLVE
Part 1: When are two column vectors in $\mathbb{R}^2$ equal?
Two column vectors are equal if and only if their corresponding components are equal (this requires them to have the same number of entries).
For $\mathbf{a} = \begin{bmatrix} a_1 \ a_2 \end{bmatrix}$ and $\mathbf{b} = \begin{bmatrix} b_1 \ b_2 \end{bmatrix}$:
$$\mathbf{a} = \mathbf{b} \iff a_1 = b_1 \text{ and } a_2 = b_2$$
Example:
$$\begin{bmatrix} 2 \ 7 \end{bmatrix} = \begin{bmatrix} 2 \ 7 \end{bmatrix}$$
is an equality since $2 = 2$ and $7 = 7$. However,
$$\begin{bmatrix} 2 \ 7 \end{bmatrix} \neq \begin{bmatrix} 7 \ 2 \end{bmatrix}$$
since the components (though the same set of numbers) are not in matching positions.
Part 2: Compute $\mathbf{u} + 3\mathbf{v}$
Scalar multiply:
$$3\mathbf{v} = \begin{bmatrix} 3(1) \ 3(-1) \ 3(3) \end{bmatrix} = \begin{bmatrix} 3 \ -3 \ 9 \end{bmatrix}$$
Add:
$$\mathbf{u} + 3\mathbf{v} = \begin{bmatrix} 1+3 \ -3+(-3) \ 2+9 \end{bmatrix} = \begin{bmatrix} 4 \ -6 \ 11 \end{bmatrix}$$
Compute $\mathbf{u} - 2\mathbf{v}$
Scalar multiply:
$$2\mathbf{v} = \begin{bmatrix} 2(1) \ 2(-1) \ 2(3) \end{bmatrix} = \begin{bmatrix} 2 \ -2 \ 6 \end{bmatrix}$$
Subtract:
$$\mathbf{u} - 2\mathbf{v} = \begin{bmatrix} 1-2 \ -3-(-2) \ 2-6 \end{bmatrix} = \begin{bmatrix} -1 \ -1 \ -4 \end{bmatrix}$$
Final Results
$$\mathbf{u} + 3\mathbf{v} = \begin{bmatrix} 4 \ -6 \ 11 \end{bmatrix}, \qquad \mathbf{u} - 2\mathbf{v} = \begin{bmatrix} -1 \ -1 \ -4 \end{bmatrix}$$
- 75 marksNumericalIntroduction to linear transformationsHideAnswer
Let $A = \begin{bmatrix} 0 & 1 \ -1 & 0 \end{bmatrix}$ and define $T: \mathbb{R}^2 \to \mathbb{R}^2$ by $T(x) = Ax$. Find the image under $T$ of $u = \begin{bmatrix} 1 \ -3 \end{bmatrix}$ and $v = \begin{bmatrix} 1 \ 5 \end{bmatrix}$. [5]
Image of Vectors Under Linear Transformation $T(x) = Ax$
STEP 1 - Given Data
$$A = \begin{bmatrix} 0 & 1 \ -1 & 0 \end{bmatrix}, \quad u = \begin{bmatrix} 1 \ -3 \end{bmatrix}, \quad v = \begin{bmatrix} 1 \ 5 \end{bmatrix}$$
Transformation: $T(x) = Ax$, with $T:\mathbb{R}^2 \to \mathbb{R}^2$.
STEP 2 - Solve
Finding $T(u)$
$$T(u) = Au = \begin{bmatrix} 0 & 1 \ -1 & 0 \end{bmatrix} \begin{bmatrix} 1 \ -3 \end{bmatrix}$$
- Row 1: $(0)(1) + (1)(-3) = -3$
- Row 2: $(-1)(1) + (0)(-3) = -1$
$$T(u) = \begin{bmatrix} -3 \ -1 \end{bmatrix}$$
Finding $T(v)$
$$T(v) = Av = \begin{bmatrix} 0 & 1 \ -1 & 0 \end{bmatrix} \begin{bmatrix} 1 \ 5 \end{bmatrix}$$
- Row 1: $(0)(1) + (1)(5) = 5$
- Row 2: $(-1)(1) + (0)(5) = -1$
$$T(v) = \begin{bmatrix} 5 \ -1 \end{bmatrix}$$
Summary
Vector Image under $T$ $u = \begin{bmatrix} 1 \ -3 \end{bmatrix}$ $T(u) = \begin{bmatrix} -3 \ -1 \end{bmatrix}$ $v = \begin{bmatrix} 1 \ 5 \end{bmatrix}$ $T(v) = \begin{bmatrix} 5 \ -1 \end{bmatrix}$ Note on geometry: The matrix $A = \begin{bmatrix} 0 & 1 \ -1 & 0 \end{bmatrix}$ rotates each vector by $90°$ clockwise. (A standard $90°$ counterclockwise rotation matrix is $\begin{bmatrix} 0 & -1 \ 1 & 0 \end{bmatrix}$; the transpose form here gives clockwise rotation.)
- 85 marksNumericalEigenvectors and EigenvaluesHideAnswer
Find the eigen value of $$\begin{bmatrix} 3 & 6 & -8 \ 0 & 0 & 6 \ 0 & 0 & 2 \end{bmatrix}$$ [5]
Matrix: $$A = \begin{bmatrix} 3 & 6 & -8 \ 0 & 0 & 6 \ 0 & 0 & 2 \end{bmatrix}$$ Eigenvalues satisfy $\det(A - \lambda I) = 0$. $$A - \lambda I = \begin{bmatrix} 3-\lambda & 6 & -8 \ 0 & -\lambda & 6 \ 0 & 0 & 2-\lambda \end{bmatrix}...
- 9NumericalNull spaces, Column spaces, and Linear traHideAnswer
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$.
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.
- 105 marksNumericalDiagonalizationHideAnswer
If $A=\begin{bmatrix} 7 & 2 \ -4 & 1 \end{bmatrix}$, find a formula for $A^n$, where $A = PDP^{-1}$, $P=\begin{bmatrix} 1 & 1 \ -1 & -2 \end{bmatrix}$ and $D=\begin{bmatrix} 5 & 0 \ 0 & 3 \end{bmatrix}$ [5]
Given data: $$A = \begin{bmatrix} 7 & 2 \ -4 & 1 \end{bmatrix}, \quad P = \begin{bmatrix} 1 & 1 \ -1 & -2 \end{bmatrix}, \quad D = \begin{bmatrix} 5 & 0 \ 0 & 3 \end{bmatrix}$$ Relation: $A = PDP^{-1}$. Required: formula for $A^n$. Ke...
- 115 marksNumericalInner product, Length, and orthoganilityHideAnswer
Find a unit vector $v$ of $u = (1, -2, 2, 3)$ in the direction of $u$. [5]
Unit Vector of u = (1, −2, 2, 3)
Step 1: Given data
$$u = (1,\ -2,\ 2,\ 3)$$
Step 2: Definition
The unit vector in the direction of $u$ is:
$$\hat{u} = \frac{u}{|u|}, \qquad |u| = \sqrt{u_1^2 + u_2^2 + u_3^2 + u_4^2}$$
Step 3: Compute the norm
$$|u| = \sqrt{(1)^2 + (-2)^2 + (2)^2 + (3)^2} = \sqrt{1 + 4 + 4 + 9} = \sqrt{18} = 3\sqrt{2}$$
Step 4: Compute the unit vector
$$\hat{u} = \frac{1}{3\sqrt{2}}(1,\ -2,\ 2,\ 3) = \left(\frac{1}{3\sqrt{2}},\ \frac{-2}{3\sqrt{2}},\ \frac{2}{3\sqrt{2}},\ \frac{3}{3\sqrt{2}}\right)$$
Rationalizing:
$$\hat{u} = \left(\frac{\sqrt{2}}{6},\ \frac{-\sqrt{2}}{3},\ \frac{\sqrt{2}}{3},\ \frac{\sqrt{2}}{2}\right)$$
Step 5: Verification
$$|\hat{u}| = \sqrt{\frac{1}{18} + \frac{4}{18} + \frac{4}{18} + \frac{9}{18}} = \sqrt{\frac{18}{18}} = 1 \checkmark$$
Hence the unit vector is confirmed.
- 125 marksInner product, Length, and orthoganilityHideAnswer
Prove that the two vectors uuu and vvv are perpendicular to each other if and only if the line through uuu is perpendicular bisector of the line segment from −u-u−u to vvv. [5]
The line segment runs from -u to v. Its midpoint is: $$M = \frac{-\mathbf{u} + \mathbf{v}}{2}$$ The line through u (passing through the origin in the direction of u) is the perpendicular bisector of the segment from -u to v if and only i...
- 135 marksGroupsHideAnswer
Let an operation $*$ be defined on $\mathbb{Q}^+$ by $a * b = \frac{ab}{2}$. Then show that $\mathbb{Q}^+$ forms a group. [5]
A non-empty set G with a binary operation ∗ is called a group if it satisfies the following four axioms: 1. Closure 2. Associativity 3. Existence of Identity 4. Existence of Inverse Here, the operation is defined on Q⁺ (the set of all po...
- 145 marksRings and FieldsHideAnswer
Define ring and show that set of real numbers with respect to addition and multiplication operation is a ring. [5]
An algebraic structure (R, +, ×) with two binary operations, addition (+) and multiplication (×), is called a ring if it satisfies the following conditions: R1. Closure under addition: a + b ∈ R, for all a, b ∈ R R2. Associativity of add...
- 155 marksNumericalApplications to difference equationsHideAnswer
Verify that $1k$, $(-2^k)$, $3k$ are linearly independent signals. [5]
STEP 1 - Given Data
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.
STEP 2 - 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.)