Matrices & Vectors
📐 EST II Math Level 2 · Matrices & Vectors Level 2 · 4 · Matrices & Vectors
A matrix packs a rectangular table of numbers into one object you can add, scale, and multiply — and that algebra gives a genuinely new way to solve a linear system. This chapter builds 2\times2 matrix algebra from scratch, then pairs it with the vector tools (magnitude, dot product, angle) EST II Math Level 2 tests alongside it.
An m times n matrix is a rectangular array of numbers with \( m \) rows and \( n \) columns. Two matrices of the same dimensions add entrywise, and a scalar \( k \) multiplies every entry:
\[ (A+B)_{ij}=a_{ij}+b_{ij}, \qquad (kA)_{ij}=k\,a_{ij}. \]
▸ Show step-by-step solution
\[ A+B=\begin{bmatrix}2&4\\4&-1\end{bmatrix}, \qquad 2A=\begin{bmatrix}8&-2\\6&4\end{bmatrix}. \]
If \( A \) is \( m\times n \) and \( B \) is \( n\times p \), the product \( AB \) is the \( m\times p \) matrix whose \( (i,j) \) entry is the dot product of row \( i \) of \( A \) with column \( j \) of \( B \): \[ (AB)_{ij}=\sum_{k=1}^{n} a_{ik}b_{kj}. \] Matrix multiplication is not commutative in general.
▸ Show step-by-step solution
\[ AB=\begin{bmatrix}(3)(1)+(-1)(0)&(3)(2)+(-1)(-3)\\(2)(1)+(4)(0)&(2)(2)+(4)(-3)\end{bmatrix}=\begin{bmatrix}3&9\\2&-8\end{bmatrix}. \]
\[ A\mathbf{v}=\begin{bmatrix}(3)(3)+(-1)(-4)\\(2)(3)+(4)(-4)\end{bmatrix}=\begin{bmatrix}13\\-10\end{bmatrix}. \]
For \( A=\begin{bmatrix}a&b\\c&d\end{bmatrix} \), the determinant is \( \det A=ad-bc \). The identity matrix \( I=\begin{bmatrix}1&0\\0&1\end{bmatrix} \) satisfies \( IA=AI=A \).
If \( A=\begin{bmatrix}a&b\\c&d\end{bmatrix} \) and \( \det A=ad-bc\neq0 \), then
\[ A^{-1}=\frac{1}{\det A}\begin{bmatrix}d&-b\\-c&a\end{bmatrix}. \] If \( \det A=0 \), no inverse exists.
Let \( d_0=ad-bc\neq0 \). Multiplying \( A \) by \( \tfrac{1}{d_0}\begin{bmatrix}d&-b\\-c&a\end{bmatrix} \) gives \[ \frac{1}{d_0}\begin{bmatrix}ad-bc&-ab+ba\\cd-dc&-cb+da\end{bmatrix}=\frac{1}{d_0}\begin{bmatrix}d_0&0\\0&d_0\end{bmatrix}=I, \] and the same computation in the other order also gives \( I \), so this is a genuine two-sided inverse. If \( \det A=0 \) and some \( B \) satisfied \( AB=I \), then \( \det A\cdot\det B=\det(AB)=\det I=1 \) — impossible since the left side is \( 0 \). So no inverse exists. \( \blacksquare \)
▸ Show step-by-step solution
\( A=\begin{bmatrix}4&1\\3&2\end{bmatrix} \), \( \det A=(4)(2)-(1)(3)=5 \), so \[ A^{-1}=\frac{1}{5}\begin{bmatrix}2&-1\\-3&4\end{bmatrix}. \]
\[ x=\tfrac{1}{5}\big(2(14)-1(13)\big)=\tfrac{15}{5}=3, \qquad y=\tfrac{1}{5}\big(-3(14)+4(13)\big)=\tfrac{10}{5}=2. \] Check: \( 4(3)+2=14 \) ✓ and \( 3(3)+2(2)=13 \) ✓.
A vector \( \mathbf{u}=\langle u_1,u_2\rangle \) has magnitude \( |\mathbf{u}|=\sqrt{u_1^2+u_2^2} \). The dot product of \( \mathbf{u} \) and \( \mathbf{v}=\langle v_1,v_2\rangle \) is \( \mathbf{u}\cdot\mathbf{v}=u_1v_1+u_2v_2 \).
For nonzero vectors with angle \( \theta \) between them, \[ \cos\theta=\frac{\mathbf{u}\cdot\mathbf{v}}{|\mathbf{u}|\,|\mathbf{v}|}. \]
Placing \( \mathbf{u},\mathbf{v} \) tail-to-tail, the Law of Cosines on the triangle with sides \( |\mathbf{u}|,|\mathbf{v}|,|\mathbf{v}-\mathbf{u}| \) gives \( |\mathbf{v}-\mathbf{u}|^2=|\mathbf{u}|^2+|\mathbf{v}|^2-2|\mathbf{u}||\mathbf{v}|\cos\theta \). Expanding the left side as \( (\mathbf{v}-\mathbf{u})\cdot(\mathbf{v}-\mathbf{u})=|\mathbf{v}|^2-2\mathbf{u}\cdot\mathbf{v}+|\mathbf{u}|^2 \) and equating the two expressions cancels \( |\mathbf{u}|^2+|\mathbf{v}|^2 \), leaving \( -2\mathbf{u}\cdot\mathbf{v}=-2|\mathbf{u}||\mathbf{v}|\cos\theta \), i.e. \( \cos\theta=\dfrac{\mathbf{u}\cdot\mathbf{v}}{|\mathbf{u}||\mathbf{v}|} \). \( \blacksquare \)
▸ Show step-by-step solution
\[ \mathbf{u}\cdot\mathbf{v}=(5)(3)+(-2)(4)=7, \qquad |\mathbf{u}|=\sqrt{29},\qquad |\mathbf{v}|=5. \]
\[ \cos\theta=\frac{7}{5\sqrt{29}}\approx0.2600 \quad\Rightarrow\quad \theta\approx74.9^\circ. \]
| Quantity | Value |
|---|
The default \(90^\circ\) apart is not an accident: \(u \cdot v = 0\) exactly when the vectors are perpendicular, whatever their lengths — Theorem 4.2 in action.
Quick reference
Inverse Formula Sign Errors: In \(A^{-1} = \dfrac{1}{ad - bc}\begin{pmatrix}d & -b\\ -c & a\end{pmatrix}\), note that the main diagonal entries \(a\) and \(d\) swap positions without sign change, while off-diagonal entries \(b\) and \(c\) change signs without swapping.
Perpendicular vs Parallel Vectors: \(\mathbf{u} \cdot \mathbf{v} = 0\) means the vectors are perpendicular (orthogonal). If \(\mathbf{u} = k\mathbf{v}\), they are parallel.
| Common Student Trap | Why It Fails Mathematically | Correct 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}\). |
Fast Matrix & Vector Verification (Egyptian Scholastic Test (EST II — Math Level 2)): 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)\).
💡 Hint 1 of 3
💡 Hint 2 of 3
💡 Hint 3 of 3
2. Form \(A^{-1}\): \[ A^{-1} = \frac{1}{2}\begin{pmatrix}2 & -3\\ -2 & 4\end{pmatrix} = \begin{pmatrix}1 & -1.5\\ -1 & 2\end{pmatrix}. \]
3. Multiply by \(\begin{pmatrix}10\\ 6\end{pmatrix}\): \[ \mathbf{x} = \frac{1}{2}\begin{pmatrix}2(10) + (-3)(6)\\ -2(10) + 4(6)\end{pmatrix} = \frac{1}{2}\begin{pmatrix}20 - 18\\ -20 + 24\end{pmatrix} = \frac{1}{2}\begin{pmatrix}2\\ 4\end{pmatrix} = \begin{pmatrix}1\\ 2\end{pmatrix}. \]
