✓ Official Syllabus VerifiedStandards & Rigor ↗
10

Matrices & Systems

📌 Matrices & Systems A2  ·  Matrix operations  ·  Determinant  ·  Inverse  ·  Solving systems

A matrix is a rectangular array of numbers; matrices add, multiply, and solve linear systems.

▲ Reference — Matrix basics

Add matrices of the same size entrywise. For a 2\times2 matrix with rows (a,b) and \( (c,d) \), the determinant is \( ad-bc \). A system \( A\mathbf{x}=\mathbf{b} \) solves as \( \mathbf{x}=A^{-1}\mathbf{b} \) when the determinant is non-zero.

● Deep Conceptual Intuition — Matrices & Systems

Linear Structure, Inner Products & Geometric Transformations: In \(\mathbb{R}^n\), the dot product \(\mathbf{u}\cdot\mathbf{v} = \|\mathbf{u}\|\|\mathbf{v}\|\cos\theta = \sum_{i=1}^n u_i v_i\) encodes orthogonality (\(\mathbf{u}\perp\mathbf{v} \iff \mathbf{u}\cdot\mathbf{v} = 0\)) and orthogonal projection \(\operatorname{proj}_{\mathbf{v}}\mathbf{u} = \dfrac{\mathbf{u}\cdot\mathbf{v}}{\|\mathbf{v}\|^2}\mathbf{v}\). For a matrix transformation \(A \in \mathbb{R}^{n\times n}\), \(|\det(A)|\) measures the local volume scaling factor, and \(A\) is invertible if and only if \(\det(A) \ne 0\) (equivalently, all eigenvalues \(\lambda_i \ne 0\)).

Coordinate grid showing geometric action of a linear transformation mapping △ABC to its image △A'B'C'.
⊙ Explorer · \(2 \times 2\) Matrix Transformation & Determinant Area Scale
interactive
Determinant \(\det (A)\)\(\det (A) = 2.50\)
Transformed Area \(|\det (A)|\)Area = 2.50
Invertibility StatusInvertible \((\det \ne 0)\)

Watch how matrix \(A\) maps the unit square \([0,1]^2\) (dashed) into a parallelogram spanned by column vectors \(Ae_{1}\) and \(Ae_{2}\) with area \(|\det (A)|\).

Order
rows × columns
Add
entrywise
Determinant
\( ad-bc \)
Solve
\( \mathbf{x}=A^{-1}\mathbf{b} \)
◆ Why It Works — First-Principles Derivation (Matrices & Systems)

Why Orthogonal Projection & Eigenvalue Characteristic Equations Work: Decompose \(\mathbf{u} = c\mathbf{v} + \mathbf{w}\) where \(\mathbf{w} \perp \mathbf{v}\). Taking the dot product with \(\mathbf{v}\) uses \(\mathbf{w}\cdot\mathbf{v} = 0\) to isolate \(c\):

\[ \mathbf{u}\cdot\mathbf{v} = c(\mathbf{v}\cdot\mathbf{v}) + 0 \implies c = \frac{\mathbf{u}\cdot\mathbf{v}}{\|\mathbf{v}\|^2} \]

For eigenvalues, \(A\mathbf{v} = \lambda\mathbf{v}\) with \(\mathbf{v} \ne \mathbf{0}\) is equivalent to \((A - \lambda I)\mathbf{v} = \mathbf{0}\). A homogeneous linear system has a non-trivial nullspace vector \(\mathbf{v} \ne \mathbf{0}\) if and only if the matrix \(A - \lambda I\) is singular, yielding the characteristic polynomial \(\det(A - \lambda I) = 0\).

Worked example 10.A
Problem. Find the determinant of the matrix with rows \( (2,1) \) and \( (3,4) \).
▸ Show step-by-step solution
\[ 2(4)-1(3)=5. \]
Worked example 2 — Solving a \(3 \times 3\) system
Problem. Use the inverse matrix method to solve \(2x+y=5\), \(x-3y=1\).
▸ Show step-by-step solution
\[A=\begin{pmatrix}2&1\\1&-3\end{pmatrix},\;\det A=-6-1=-7,\;A^{-1}=\frac{1}{-7}\begin{pmatrix}-3&-1\\-1&2\end{pmatrix}.\]\[\begin{pmatrix}x\\y\end{pmatrix}=A^{-1}\begin{pmatrix}5\\1\end{pmatrix}=\frac{1}{-7}\begin{pmatrix}-16\\-3\end{pmatrix}=\begin{pmatrix}16/7\\3/7\end{pmatrix}.\]
Geometric representation of the \(2 \times 2\) linear system, intersecting at the unique point \((x, y) = (16/7, 3/7)\) because coefficient determinant \(\det(A) = -7 \neq 0\).
▲ Algebra 2 Traps & Commandments — Matrices & Systems
  • Matrix Multiplication Non-Commutativity: In general, matrix multiplication is not commutative: \(AB \neq BA\). Always maintain the exact order of factors. Furthermore, the product \(AB\) is defined only when the number of columns in \(A\) equals the number of rows in \(B\).
  • Singular Matrices & Inverses: A square matrix \(A\) has an inverse \(A^{-1}\) if and only if its determinant is non-zero (\(\det A \neq 0\)). If \(\det A = 0\), the matrix is singular and the corresponding linear system either has no solution (parallel lines) or infinitely many solutions (coincident lines).
  • 2×2 Inverse Formula Signs: For \(A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}\), \(A^{-1} = \frac{1}{ad - bc} \begin{pmatrix} d & -b \\ -c & a \end{pmatrix}\). Swap the main diagonal entries (\(a\) and \(d\)), and negate the off-diagonal entries (\(-b\) and \(-c\)).
  • Cramer's Rule Denominator: In Cramer's Rule, \(x = \frac{\det(A_x)}{\det(A)}\) and \(y = \frac{\det(A_y)}{\det(A)}\). The main determinant \(\det(A)\) is always the denominator. If \(\det(A) = 0\), Cramer's Rule cannot be used.
Worked Example \(C\) — Matrices & Systems (Easy Application)
Problem. Given the matrices \( A = \begin{bmatrix} 4 & -2 \\ 1 & 3 \end{bmatrix} \) and \( B = \begin{bmatrix} -1 & 5 \\ 2 & 0 \end{bmatrix} \), what is the matrix sum \( A + B \)?
▸ Show step-by-step solution

To add two matrices of the same dimension, add their corresponding entries: - Row 1, Column 1: \( 4 + (-1) = 3 \) - Row 1, Column 2: \( -2 + 5 = 3 \) - Row 2, Column 1: \( 1 + 2 = 3 \) - Row 2, Column 2: \( 3 + 0 = 3 \) Therefore, \( A + B = \begin{bmatrix} 3 & 3 \\ 3 & 3 \end{bmatrix} \). Common misconceptions: - Subtracting entries instead of adding yields \(\begin{bmatrix} 5 & -7 \\ -1 & 3 \end{bmatrix}\). - Multiplying corresponding entries entrywise yields \(\begin{bmatrix} -4 & -10 \\ 2 & 0 \end{bmatrix}\).

Worked Example \(D\) — Matrices & Systems (Medium Application)
Problem. Let \( A = \begin{pmatrix} x & 2 \\ 3 & x - 1 \end{pmatrix} \). If \( A \) is not invertible and \( x > 0 \), what is the value of \( \det(A + 3I) \), where \( I \) is the \( 2 \times 2 \) identity matrix?
▸ Show step-by-step solution

A square matrix is not invertible if and only if its determinant is zero. First, compute \( \det(A) \): \[ \det(A) = x(x - 1) - (2)(3) = x^2 - x - 6 \] Setting \( \det(A) = 0 \): \[ x^2 - x - 6 = (x - 3)(x + 2) = 0 \] Since we are given that \( x > 0 \), we must have \( x = 3 \). Next, substitute \( x = 3 \) into \( A \): \[ A = \begin{pmatrix} 3 & 2 \\ 3 & 2 \end{pmatrix} \] Now find the matrix \( A + 3I \): \[ A + 3I = \begin{pmatrix} 3 & 2 \\ 3 & 2 \end{pmatrix} + 3\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} = \begin{pmatrix} 6 & 2 \\ 3 & 5 \end{pmatrix} \] Finally, calculate \( \det(A + 3I) \): \[ \det(A + 3I) = (6)(5) - (2)(3) = 30 - 6 = 24 \] Common traps: - Incorrectly assuming the determinant distributes over addition as \( \det(A + 3I) = \det(A) + \det(3I) = 0 + 3^2 = 9 \). - Using the negative root \( x = -2 \), which gives \( A + 3I = \begin{pmatrix} 1 & 2 \\ 3 & 0 \end{pmatrix} \) with determinant \( -6 \). - Adding \( 3 \) to every entry of \( A \) instead of using the identity matrix \( I \), producing a matrix with identical rows and determinant \( 0 \).

Error Diagnosis — Common Student Traps vs. Exam-Board Method (Matrices & Systems)
Common Student TrapWhy It Fails MathematicallyCorrect Exam-Board Method
Computing angle at \(B\) using \(\overrightarrow{AB}\cdot\overrightarrow{BC}\)Vectors are head-to-tail instead of tail-to-tail, giving \(180^\circ - \theta\).Reverse \(\overrightarrow{AB}\) so both emanate from \(B\): use \(\overrightarrow{BA}\cdot\overrightarrow{BC}\).
Using the same parameter \(t\) for two intersecting 3D lines \(\mathbf{r}_1(t) = \mathbf{r}_2(t)\)Tests for a simultaneous collision at time \(t\) rather than geometric intersection of paths.Assign distinct parameters \(\lambda\) and \(\mu\) to the two lines before equating components.
Assuming \((AB)^{-1} = A^{-1}B^{-1}\)Multiplying \((AB)(A^{-1}B^{-1})\) does not cancel inner factors when \(AB \ne BA\).Use the shoe-sock reversal law: \((AB)^{-1} = B^{-1}A^{-1}\).
▲ Exam Pacing & Verification Strategy — Matrices & Systems

Fast Matrix & Vector Verification (Honors Algebra 2 & Functions): Check every \(2\times 2\) or \(3\times 3\) eigenvalue computation using the trace and determinant invariants: \(\sum \lambda_i = \operatorname{tr}(A)\) (sum of diagonal entries) and \(\prod \lambda_i = \det(A)\).

Find the value(s) of \(k\) for which \(A=\begin{pmatrix}k&2\\3&k\end{pmatrix}\) is singular.
💡 Hint 1 of 3
Start from the relation: \(\det A = k^2-6\).
💡 Hint 2 of 3
Rewrite and simplify the equation to: \(\det A = 0\).
💡 Hint 3 of 3
Solve \(\det A = 0\) to find \(k\).
\(\det A=k^2-6=0\Rightarrow k=\pm\sqrt6\).
Solve the linear system using matrix inversion or Cramer's Rule: \[3x - 2y = 8\] \[5x + 4y = 6\]
💡 Hint 1 of 3
Write the system in matrix form \(A\mathbf{x} = \mathbf{b}\): \(\begin{pmatrix} 3 & -2 \\ 5 & 4 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 8 \\ 6 \end{pmatrix}\).
💡 Hint 2 of 3
Calculate the determinant of coefficient matrix \(A\): \(\det A = (3)(4) - (-2)(5) = 12 - (-10) = 22\) Find the inverse matrix \(A^{-1}\): \(A^{-1} = \frac{1}{22} \begin{pmatrix} 4 & 2 \\ -5 & 3 \end{pmatrix}\).
💡 Hint 3 of 3
Solution: \(x = 2\) and \(y\).

Write the system in matrix form \(A\mathbf{x} = \mathbf{b}\):

\[\begin{pmatrix} 3 & -2 \\ 5 & 4 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 8 \\ 6 \end{pmatrix}.\]

Calculate the determinant of coefficient matrix \(A\):

\[\det A = (3)(4) - (-2)(5) = 12 - (-10) = 22.\]

Find the inverse matrix \(A^{-1}\):

\[A^{-1} = \frac{1}{22} \begin{pmatrix} 4 & 2 \\ -5 & 3 \end{pmatrix}.\]

Multiply \(A^{-1} \mathbf{b}\):

\[\begin{pmatrix} x \\ y \end{pmatrix} = \frac{1}{22} \begin{pmatrix} 4(8) + 2(6) \\ -5(8) + 3(6) \end{pmatrix} = \frac{1}{22} \begin{pmatrix} 32 + 12 \\ -40 + 18 \end{pmatrix} = \frac{1}{22} \begin{pmatrix} 44 \\ -22 \end{pmatrix} = \begin{pmatrix} 2 \\ -1 \end{pmatrix}.\]

Solution: \(x = 2\) and \(y = -1\).

[Practice 3 · Hard] Consider the system of linear equations represented by the matrix equation \[ \begin{pmatrix} 1 & 1 & 1 \\ 1 & 2 & 3 \\ 3 & 5 & k \end{pmatrix} \begin{pmatrix} x \\ y \\ z \end{pmatrix} = \begin{pmatrix} 6 \\ 14 \\ m \end{pmatrix} \] where \(k\) and \(m\) are real constants. Suppose the system is consistent and has infinitely many solutions. Let \(P(x, y, z)\) be the unique solution that minimizes the squared Euclidean distance from the origin, \(d^2 = x^2 + y^2 + z^2\). What is the value of \(k + m + d^2\)?
💡 Hint 1 of 3
We solve the problem in three main stages: 1. Determine the parameter \(k\):
💡 Hint 2 of 3
For the system to have infinitely many solutions, the coefficient matrix must be singular (its determinant must be zero): \(\det \begin{pmatrix} 1 & 1 & 1 \\ 1 & 2 & 3 \\ 3 & 5 & k \end{pmatrix} = 1(2k - 15) - (k - 9) + 1(5 - 6) = k - 7\) Setting \(k - 7 = 0\) yields \(k = 7\).
💡 Hint 3 of 3
Calculate \(k + m + d^2\): \(k + m + d^2 = 7 + 34 + 14\).
We solve the problem in three main stages: 1. **Determine the parameter \(k\):** For the system to have infinitely many solutions, the coefficient matrix must be singular (its determinant must be zero): \[ \det \begin{pmatrix} 1 & 1 & 1 \\ 1 & 2 & 3 \\ 3 & 5 & k \end{pmatrix} = 1(2k - 15) - (k - 9) + 1(5 - 6) = k - 7 \] Setting \(k - 7 = 0\) yields \(k = 7\). 2. **Determine the parameter \(m\):** Set up the augmented matrix with \(k = 7\) and perform Gaussian elimination: \[ \left(\begin{array}{ccc|c} 1 & 1 & 1 & 6 \\ 1 & 2 & 3 & 14 \\ 3 & 5 & 7 & m \end{array}\right) \xrightarrow{R_2 - R_1,\; R_3 - 3R_1} \left(\begin{array}{ccc|c} 1 & 1 & 1 & 6 \\ 0 & 1 & 2 & 8 \\ 0 & 2 & 4 & m - 18 \end{array}\right) \xrightarrow{R_3 - 2R_2} \left(\begin{array}{ccc|c} 1 & 1 & 1 & 6 \\ 0 & 1 & 2 & 8 \\ 0 & 0 & 0 & m - 34 \end{array}\right) \] For the system to be consistent, the bottom row must be all zeros, which requires \(m - 34 = 0 \implies m = 34\). 3. **Parametrize the solution and minimize \(d^2\):** From row 2: \(y + 2z = 8 \implies y = 8 - 2z\). From row 1: \(x + (8 - 2z) + z = 6 \implies x = z - 2\). Letting \(z = t\), any solution has the form \((x, y, z) = (t - 2, 8 - 2t, t)\). The squared distance to the origin is: \[ d^2(t) = (t - 2)^2 + (8 - 2t)^2 + t^2 = (t^2 - 4t + 4) + (4t^2 - 32t + 64) + t^2 = 6t^2 - 36t + 68 \] This quadratic reaches its minimum at the vertex: \[ t = -\frac{-36}{2(6)} = 3 \] Evaluating \(d^2\) at \(t = 3\): \[ d^2(3) = 6(3)^2 - 36(3) + 68 = 54 - 108 + 68 = 14 \] (Corresponding to the point \((1, 2, 3)\), where \(1^2 + 2^2 + 3^2 = 14\)). 4. **Calculate \(k + m + d^2\):** \[ k + m + d^2 = 7 + 34 + 14 = 55 \] **Common Misconceptions:** - Choice B (47) adds \(x_0 + y_0 + z_0 = 6\) instead of \(d^2 = 14\). - Choice C (38) mistakenly assumes row 3 is the direct sum of row 1 and row 2, yielding \(k = 4, m = 20\). - Choice D (109) miscalculates the vertex using \(t = -b/a = 6\), which gives \(d^2 = 68\).
[Practice 4 · Easy] Given the matrices \[ A = \begin{pmatrix} 3 & -2 \\ 1 & 4 \end{pmatrix} \quad \text{and} \quad B = \begin{pmatrix} -5 & 2 \\ 0 & -3 \end{pmatrix}, \] what is the matrix \( 2A - B \)?
💡 Hint 1 of 3
To find \( 2A - B \), first compute the scalar multiple \( 2A \) by multiplying every entry of \( A \) by \( 2 \): \(2A = 2 \begin{pmatrix} 3 & -2 \\ 1 & 4 \end{pmatrix} = \begin{pmatrix} 2(3) & 2(-2) \\ 2(1) & 2(4) \end{pmatrix}\).
💡 Hint 2 of 3
Next, subtract matrix \( B \) from \( 2A \) entry by entry: \(2A - B = \begin{pmatrix} 6 - (-5) & -4 - 2 \\ 2 - 0 & 8 - (-3) \end{pmatrix}\). Substitute and simplify: \(2A - B = \begin{pmatrix} 6 + 5 & -6 \\ 2 & 8 + 3 \end{pmatrix}\).
💡 Hint 3 of 3
Compute the final value from: \(\begin{pmatrix} 6 + 5 & -6 \\ 2 & 8 + 3 \end{pmatrix}\).
To find \( 2A - B \), first compute the scalar multiple \( 2A \) by multiplying every entry of \( A \) by \( 2 \): \[ 2A = 2 \begin{pmatrix} 3 & -2 \\ 1 & 4 \end{pmatrix} = \begin{pmatrix} 2(3) & 2(-2) \\ 2(1) & 2(4) \end{pmatrix} = \begin{pmatrix} 6 & -4 \\ 2 & 8 \end{pmatrix} \] Next, subtract matrix \( B \) from \( 2A \) entry by entry: \[ 2A - B = \begin{pmatrix} 6 - (-5) & -4 - 2 \\ 2 - 0 & 8 - (-3) \end{pmatrix} = \begin{pmatrix} 6 + 5 & -6 \\ 2 & 8 + 3 \end{pmatrix} = \begin{pmatrix} 11 & -6 \\ 2 & 11 \end{pmatrix} \] Common errors: - Adding the matrices instead of subtracting gives \( 2A + B = \begin{pmatrix} 1 & -2 \\ 2 & 5 \end{pmatrix} \). - Forgetting to multiply \( A \) by the scalar \( 2 \) results in \( A - B = \begin{pmatrix} 8 & -4 \\ 1 & 7 \end{pmatrix} \). - Sign errors during subtraction of negatives lead to incorrect entries such as \( -4 - 2 = -2 \) or \( 8 - (-3) = 5 \).
[Practice 5 · Medium] Let \( K_{s} = \begin{pmatrix} 11 & -7 \\ 8 & 10 \end{pmatrix} \) be a \( 2 \times 2 \) matrix. Determine the trace \( u = \text{tr}(K_{s}) \).
💡 Hint 1 of 3
The trace of a square matrix is the sum of its main diagonal entries: \(\text{tr}(K_{s})\).
💡 Hint 2 of 3
Rewrite and substitute: \(\text{tr}(K_{s}) = 11 + 10\).
💡 Hint 3 of 3
Evaluate \(11 + 10\) to obtain the final answer.
The trace of a square matrix is the sum of its main diagonal entries: \( \text{tr}(K_{s}) = 11 + 10 = 21 \).

Matrices & Systems — 6-Mark Structured Problem

6 pts Calculator Active
For Matrices & Systems, examine the quadratic-rate model \(f(x) = 3x^2 - 4x + 1\) on \(x \in [0, 3]\).
  1. (a)2 pts
    Compute \(f(0)\) and \(f(2)\).
    Scoring Guideline & Justification
    • [M1] Substitutes x=0 and x=2 (1 pt)
    • [A1] Obtains 1 and 5 (1 pt)
  2. (b)2 pts
    Find the derivative/rate \(f'(x)\) and critical point \(x_c\).
    Scoring Guideline & Justification
    • [M1] Differentiates to 6x - 4 (1 pt)
    • [A1] Solves x_c = 4/6 (1 pt)
  3. (c)2 pts
    Calculate the average rate of change from \(x = 0\) to \(x = 2\).
    Scoring Guideline & Justification
    • [M1] Applies (f(2) - f(0)) / 2 (1 pt)
    • [A1] Evaluates 2 (1 pt)
Complete Worked Solution
(a) \(f(0)=1, f(2)=5\). (b) \(f'(x)=6x-4 \implies x_c = \frac{4}{6}\). (c) Average rate \(= \frac{4}{2} = 2\).
📝 Chapter Quiz