2080

MTH168 · TU past paper

Mathematics II 2080 question paper

The complete TU 2080 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.

  1. 110 marksNumericalRow reduction and Echelon formsAnswer

    Define system of linear equations. When a system of equations is consistent? Make echelon form to solve:

    $-2a - 3b + 4c = 5$

    $b - 2c = 4$

    $a + 3b - c = 2$

    [10]

    System of 3 equations in 3 unknowns: $$-2a - 3b + 4c = 5 \quad \cdots (1)$$ $$b - 2c = 4 \quad \cdots (2)$$ $$a + 3b - c = 2 \quad \cdots (3)$$ --- A linear equation in $n$ variables has the form: $$a1x1 + a2x2 + \cdots + anxn = b$$ wher...

  2. 210 marksNumericalIntroduction to linear transformationsAnswer

    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 \ 1 \end{bmatrix}$, $x = \begin{bmatrix} x_1 \ x_2 \end{bmatrix}$, $T(x) = Ax$

    a. Find $T(v)$

    b. Find $x \in \mathbb{R}^2$ whose image under $T$ is $b$ [10]

    Linear Transformation: Definition, Example, and Solution

    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 \ 1 \end{bmatrix}, \quad x = \begin{bmatrix} x_1 \ x_2 \end{bmatrix}, \quad T(x) = Ax$$


    Definition of Linear Transformation

    A transformation $T: \mathbb{R}^n \to \mathbb{R}^m$ is a linear transformation if for all $\mathbf{u}, \mathbf{v} \in \mathbb{R}^n$ and all scalars $c$:

    1. Additivity: $T(\mathbf{u} + \mathbf{v}) = T(\mathbf{u}) + T(\mathbf{v})$
    2. Homogeneity: $T(c\mathbf{v}) = c,T(\mathbf{v})$

    Example: For any $m \times n$ matrix $A$, the map $T(\mathbf{x}) = A\mathbf{x}$ is a linear transformation (a matrix transformation).


    STEP 2 - Solve

    Part (a): Find $T(v)$

    $$T(v) = Av = \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): Find $x \in \mathbb{R}^2$ with $T(x) = b$

    Solve $Ax = b$:

    $$\begin{bmatrix} 1 & -3 \ 3 & 5 \ -1 & 7 \end{bmatrix}\begin{bmatrix} x_1 \ x_2 \end{bmatrix} = \begin{bmatrix} 3 \ 2 \ 1 \end{bmatrix}$$

    Augmented matrix:

    $$\left[\begin{array}{cc|c} 1 & -3 & 3 \ 3 & 5 & 2 \ -1 & 7 & 1 \end{array}\right]$$

    $R_2 \to R_2 - 3R_1$: $(0,\ 5+9,\ 2-9) = (0, 14, -7)$

    $R_3 \to R_3 + R_1$: $(0,\ 7-3,\ 1+3) = (0, 4, 4)$

    $$\left[\begin{array}{cc|c} 1 & -3 & 3 \ 0 & 14 & -7 \ 0 & 4 & 4 \end{array}\right]$$

    $R_2 \to \tfrac{1}{14}R_2$: $(0, 1, -0.5)$

    $R_3 \to R_3 - 4R_2$:

    • Col 2: $4 - 4(1) = 0$
    • Col 3 (RHS): $4 - 4(-0.5) = 4 + 2 = 6$

    $$\left[\begin{array}{cc|c} 1 & -3 & 3 \ 0 & 1 & -0.5 \ 0 & 0 & 6 \end{array}\right]$$

    The last row states $0 = 6$, which is impossible.

    Verification of consistency using $R_3 - \frac{4}{14}R_2$ (before scaling): $$4 - \tfrac{4}{14}(-7) = 4 + 2 = 6 \neq 0$$

    Same contradiction.

    Conclusion: The system $Ax = b$ is inconsistent. There is no $x \in \mathbb{R}^2$ whose image under $T$ is $b = \begin{bmatrix} 3 \ 2 \ 1 \end{bmatrix}$.

    Geometric reason: The columns of $A$ span at most a 2-dimensional subspace (plane) of $\mathbb{R}^3$. The vector $b$ does not lie in $\text{Col}(A)$, so $b$ is not in the range of $T$.

    $$\boxed{\text{No solution: } b \text{ is not in the range of } T.}$$


    State the conclusion: part (a) gives $T(v) = [-5, -1, 9]^T$, and the row reduction in part (b) reaches the contradiction $0 = 6$, so no such $x$ exists and the system is inconsistent.

  3. 310 marksNumericalPartitioned matricesAnswer

    Find AB by block multiplication of the matrices.

    $$A = \begin{bmatrix} 2 & -3 & -1 & 0 & -4 \ 1 & -5 & -2 & 3 & -1\ 0 & -4 & -2 & 7 & -1 \end{bmatrix}, \quad B = \begin{bmatrix} 6 & 4 \ 2 & -1 \ -3 & 7 \ 1 & 3 \ 5 & -3 \end{bmatrix}$$

    [10]

    $$A = \begin{bmatrix} 2 & -3 & -1 & 0 & -4 \ 1 & -5 & -2 & 3 & -1\ 0 & -4 & -2 & 7 & -1 \end{bmatrix}{3\times5}, \quad B = \begin{bmatrix} 6 & 4 \ 2 & -1 \ -3 & 7 \ 1 & 3 \ 5 & -3 \end{bmatrix}{5\times2}$$ Result $AB$ will be

  4. 410 marksNumericalLeast squares problemsAnswer

    Find the least square solution of $Ax = c$ where

    $$A = \begin{bmatrix} 1 & -3 & 3 \ 1 & 5 & 1 \ 1 & 7 & 2 \end{bmatrix}, \quad c = \begin{bmatrix} 5 \ -3 \ 5 \end{bmatrix}$$

    and compute the associated least square error. [10+0]

    $$A = \begin{bmatrix} 1 & -3 & 3 \ 1 & 5 & 1 \ 1 & 7 & 2 \end{bmatrix}, \quad c = \begin{bmatrix} 5 \ -3 \ 5 \end{bmatrix}$$ We solve the normal equations $A^TA\hat{x} = A^Tc$. --- $$A^T = \begin{bmatrix} 1 & 1 & 1 \ -3 & 5 & 7 \ 3...

  5. 55 marksNumericalLinear independenceAnswer

    Determine the column of the matrix A are linearly independent where $A = \begin{bmatrix} 3 & -3 & 6 \ 0 & 2 & 4 \ 0 & 3 & 0 \end{bmatrix}$ [5]

    $$A = \begin{bmatrix} 3 & -3 & 6 \ 0 & 2 & 4 \ 0 & 3 & 0 \end{bmatrix}$$ Columns: $\mathbf{a1} = \begin{bmatrix}3\0\0\end{bmatrix}$, $\mathbf{a2} = \begin{bmatrix}-3\2\3\end{bmatrix}$,

  6. 65 marksNumericalMatrix operationsAnswer

    Let $A = \begin{bmatrix} 1 & 5 \ -3 & 1 \end{bmatrix}$, $B = \begin{bmatrix} 4 & -5 \ 3 & k \end{bmatrix}$

    What value(s) of k, if any, will make AB = BA? [5]

    $$A = \begin{bmatrix} 1 & 5 \ -3 & 1 \end{bmatrix}, \quad B = \begin{bmatrix} 4 & -5 \ 3 & k \end{bmatrix}$$ We must find $k$ (if any) so that $AB = BA$. --- $$AB = \begin{bmatrix} 1 & 5 \ -3 & 1 \end{bmatrix} \begin{bmatrix} 4 & -5 ...

  7. 75 marksNumericalPropertiesAnswer

    Evaluate the determinant of the matrix.

    $$\begin{bmatrix} 1 & -7 & 8 & 9 & -6 \ 0 & 2 & -5 & 7 & 3 \ 0 & 0 & 2 & 4 & -1 \ 0 & 0 & 1 & 5 & 0 \ 0 & 0 & 0 & -1 & 0 \end{bmatrix}$$

    [5]

    $$A = \begin{bmatrix} 1 & -7 & 8 & 9 & -6 \ 0 & 2 & -5 & 7 & 3 \ 0 & 0 & 2 & 4 & -1 \ 0 & 0 & 1 & 5 & 0 \ 0 & 0 & 0 & -1 & 0 \end{bmatrix}$$ Note: The matrix is not fully upper triangular because $a{43} = 1 \neq 0$. So cofactor expan...

  8. 85 marksNumericalVector equationsAnswer

    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}, \quad v = \begin{bmatrix} 1 \ -1 \ 3 \end{bmatrix}$ [5]

    STEP 1 - EXTRACT

    Given data:

    $$\mathbf{u} = \begin{bmatrix} 1 \ -3 \ 2 \end{bmatrix}, \quad \mathbf{v} = \begin{bmatrix} 1 \ -1 \ 3 \end{bmatrix}$$

    Tasks:

    1. State the condition for equality of two column vectors in $\mathbb{R}^2$, with an example.
    2. Compute $\mathbf{u} + 3\mathbf{v}$ and $\mathbf{u} - 2\mathbf{v}$.

    Note: The vectors given are actually in $\mathbb{R}^3$ (three components), though the theory question refers to $\mathbb{R}^2$. The equality definition generalizes; I answer the theory for $\mathbb{R}^2$ as asked and compute using the given $\mathbb{R}^3$ vectors.


    STEP 2 - SOLVE

    Part 1: Equality of two column vectors in $\mathbb{R}^2$

    Two column vectors in $\mathbb{R}^2$ are equal if and only if their corresponding components are equal.

    If $$\mathbf{u} = \begin{bmatrix} u_1 \ u_2 \end{bmatrix}, \quad \mathbf{v} = \begin{bmatrix} v_1 \ v_2 \end{bmatrix}$$ then $$\mathbf{u} = \mathbf{v} \iff u_1 = v_1 \ \text{and}\ u_2 = v_2.$$

    Example: $$\begin{bmatrix} 3 \ -2 \end{bmatrix} = \begin{bmatrix} 3 \ -2 \end{bmatrix} \quad \text{(equal, matching entries)}$$ but $$\begin{bmatrix} 3 \ -2 \end{bmatrix} \neq \begin{bmatrix} -2 \ 3 \end{bmatrix} \quad \text{(order matters, entries differ)}.$$

    Part 2: Compute $\mathbf{u} + 3\mathbf{v}$

    $$3\mathbf{v} = 3\begin{bmatrix} 1 \ -1 \ 3 \end{bmatrix} = \begin{bmatrix} 3 \ -3 \ 9 \end{bmatrix}$$

    $$\mathbf{u} + 3\mathbf{v} = \begin{bmatrix} 1 \ -3 \ 2 \end{bmatrix} + \begin{bmatrix} 3 \ -3 \ 9 \end{bmatrix} = \begin{bmatrix} 4 \ -6 \ 11 \end{bmatrix}$$

    Compute $\mathbf{u} - 2\mathbf{v}$

    $$2\mathbf{v} = \begin{bmatrix} 2 \ -2 \ 6 \end{bmatrix}$$

    $$\mathbf{u} - 2\mathbf{v} = \begin{bmatrix} 1 \ -3 \ 2 \end{bmatrix} - \begin{bmatrix} 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}$$

  9. 95 marksNumericalThe characteristic equationsAnswer

    Find the eigenvalue of $A = \begin{bmatrix} 7 & 3 \ 3 & -1 \end{bmatrix}$ [5]

    $$A = \begin{bmatrix} 7 & 3 \ 3 & -1 \end{bmatrix}$$ --- $$\det(A - \lambda I) = 0$$ $$A - \lambda I = \begin{bmatrix} 7 - \lambda & 3 \ 3 & -1 - \lambda \end{bmatrix}$$ $$\det(A - \lambda I) = (7 - \lambda)(-1 - \lambda) - (3)(3)$$ Ex...

  10. 105 marksNumericalNull spaces, Column spaces, and Linear traAnswer

    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]

    Matrix A (2×3): $$A = \begin{bmatrix} 1 & -3 & 2 \ -5 & 9 & -1 \end{bmatrix}$$ Vector v (3×1): $$v = \begin{bmatrix} 5 \ 3 \ 2 \end{bmatrix}$$ All required data is present. --- For an $m \times n$ matrix $A$, the null space of $A$, de...

  11. 115 marksNumericalLeast squares problemsAnswer

    Find the equation $y = a_0 + a_1 x$ of the least squares line that best fits the data points (2,1), (5,2), (7,3), (8,3). [5]

    Least Squares Line: $y = a_0 + a_1x$

    Given data

    Points: $(2,1), (5,2), (7,3), (8,3)$, with $n = 4$.

    Normal Equations

    $$\sum y = na_0 + a_1\sum x$$ $$\sum xy = a_0\sum x + a_1\sum x^2$$

    Computing Sums

    $x$$y$$x^2$$xy$
    2142
    522510
    734921
    836424
    $\sum x=22$$\sum y=9$$\sum x^2=142$$\sum xy=57$

    Substituting

    $$9 = 4a_0 + 22a_1 \quad (1)$$ $$57 = 22a_0 + 142a_1 \quad (2)$$

    Solving

    Multiply (1) by 22, (2) by 4:

    $$198 = 88a_0 + 484a_1 \quad (3)$$ $$228 = 88a_0 + 568a_1 \quad (4)$$

    Subtract (3) from (4):

    $$30 = 84a_1 \implies a_1 = \frac{30}{84} = \frac{5}{14} \approx 0.357$$

    Substitute into (1):

    $$9 = 4a_0 + 22\cdot\frac{5}{14} = 4a_0 + \frac{55}{7}$$ $$4a_0 = 9 - \frac{55}{7} = \frac{8}{7} \implies a_0 = \frac{2}{7} \approx 0.286$$

    Result

    $$\boxed{y = \frac{2}{7} + \frac{5}{14}x \approx 0.286 + 0.357x}$$

  12. 125 marksNumericalApplications to difference equationsAnswer

    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 ...

  13. 135 marksGroupsAnswer

    Define group. Show that the set of integers is a group with respect to addition operation. [5]

    Definition of a Group

    Definition: A non-empty set G together with a binary operation * is called a group, denoted (G, *), if the following axioms are satisfied:

    1. Closure: For all a, b ∈ G, a * b ∈ G
    2. Associativity: For all a, b, c ∈ G, (a * b) * c = a * (b * c)
    3. Identity: There exists an element e ∈ G such that a * e = e * a = a for all a ∈ G
    4. Inverse: For every a ∈ G, there exists an element a⁻¹ ∈ G such that a * a⁻¹ = a⁻¹ * a = e

    Proof: (Z, +) is a Group

    Claim: The set of integers Z = {..., -2, -1, 0, 1, 2, ...} forms a group under the addition operation (+).

    We verify all four group axioms:


    Axiom 1: Closure

    For all a, b ∈ Z, the sum a + b is also an integer.

    Example: 3 + (-5) = -2 ∈ Z, 7 + 4 = 11 ∈ Z

    Therefore, + is a binary operation on Z, and Z is closed under addition. ✓


    Axiom 2: Associativity

    For all a, b, c ∈ Z:

    $$(a + b) + c = a + (b + c)$$

    Example: (2 + 3) + 4 = 5 + 4 = 9 and 2 + (3 + 4) = 2 + 7 = 9

    Since addition of integers is always associative, this holds for all a, b, c ∈ Z. ✓


    Axiom 3: Existence of Identity

    There exists 0 ∈ Z such that for all a ∈ Z:

    $$a + 0 = 0 + a = a$$

    Example: 5 + 0 = 0 + 5 = 5

    Therefore, 0 is the additive identity in Z. ✓


    Axiom 4: Existence of Inverse

    For every a ∈ Z, there exists (-a) ∈ Z such that:

    $$a + (-a) = (-a) + a = 0$$

    Example: For a = 7, the inverse is -7 ∈ Z, and 7 + (-7) = 0

    Since for every integer a, its negative (-a) is also an integer, every element has an inverse in Z. ✓


    Conclusion

    Since all four group axioms -- Closure, Associativity, Identity, and Inverse -- are satisfied, we conclude that:

    $$\boxed{(\mathbb{Z},\ +) \text{ is a group.}}$$

    Note: Since a + b = b + a for all a, b ∈ Z (commutativity also holds), (Z, +) is in fact an Abelian (commutative) group.

  14. 145 marksRings and FieldsAnswer

    Define ring and show that set of positive integers with respect to addition and multiplication operation is not a ring. [5]

    Definition of Ring and Proof that (Z⁺, +, ×) is Not a Ring


    Definition of Ring

    An algebraic structure (R, +, ×) with two binary operations, addition (+) and multiplication (×), is called a ring if it satisfies the following conditions:

    #ConditionStatement
    1Closure under additiona + b ∈ R, for all a, b ∈ R
    2Associativity of additiona + (b + c) = (a + b) + c, for all a, b, c ∈ R
    3Existence of additive identityThere exists 0 ∈ R such that a + 0 = 0 + a = a, for all a ∈ R
    4Existence of additive inverseFor each a ∈ R, there exists −a ∈ R such that a + (−a) = (−a) + a = 0
    5Commutativity of additiona + b = b + a, for all a, b ∈ R
    6Associativity of multiplicationa(bc) = (ab)c, for all a, b, c ∈ R
    7Left distributivitya(b + c) = ab + ac, for all a, b, c ∈ R
    8Right distributivity(a + b)c = ac + bc, for all a, b, c ∈ R

    Proof: (Z⁺, +, ×) is NOT a Ring

    Let Z⁺ = {1, 2, 3, 4, ...} be the set of positive integers.

    To show that (Z⁺, +, ×) is not a ring, it is sufficient to show that at least one condition of a ring is violated.


    Checking Condition 3: Existence of Additive Identity

    For (Z⁺, +, ×) to be a ring, there must exist an element 0 ∈ Z⁺ such that:

    a + 0 = 0 + a = a, for all a ∈ Z⁺

    But 0 ∉ Z⁺, since Z⁺ = {1, 2, 3, ...} contains only positive integers.

    Therefore, no additive identity exists in Z⁺.


    Checking Condition 4: Existence of Additive Inverse

    For (Z⁺, +, ×) to be a ring, for every a ∈ Z⁺, there must exist −a ∈ Z⁺ such that:

    a + (−a) = 0

    Example: Take a = 3 ∈ Z⁺. Then we need −3 ∈ Z⁺.

    But −3 ∉ Z⁺, since Z⁺ contains no negative integers.

    Therefore, additive inverses do not exist in Z⁺.


    Conclusion

    Since the set of positive integers Z⁺ fails to satisfy:

    • the existence of an additive identity (0 ∉ Z⁺), and
    • the existence of additive inverses (−a ∉ Z⁺ for any a ∈ Z⁺),

    the algebraic structure (Z⁺, +, ×) is NOT a ring. $\blacksquare$

  15. 155 marksInner product, Length, and orthoganilityAnswer

    Prove that the two vectors u and v are perpendicular to each other if and only if the line through u is perpendicular bisector of the line segment from -u to v. [5]

    The line through u means the line passing through the origin in the direction of u, i.e., the set {tu : t ∈ ℝ}. The line segment from -v to v has its midpoint at the origin (since (-v + v)/2 = 0). The line through u is the perpendicular ...