المصفوفات والمحددات والمتجهات
📐 ACT Math Level 2 · Matrices & Vectors Level 2 · 2 · Matrices & Vectors
A matrix is just a rectangular table of numbers — but that simple idea packs an entire system of linear equations into one object you can add, scale, and multiply. This chapter builds the algebra of 2\times2 matrices from scratch, then uses it to solve linear systems a genuinely new way, and closes with the vector tools (magnitude, dot product, angle) AIST Math 2 pairs with it.
An m times n matrix is a rectangular array of numbers with \( m \) rows and \( n \) columns, written \( A=[a_{ij}] \) where \( a_{ij} \) is the entry in row \( i \), column \( j \). 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}. \]
▸ عرض خطوات الحل بالتفصيل
\[ A+B=\begin{bmatrix}3+(-4)&-2+6\\5+2&1+(-3)\end{bmatrix}=\begin{bmatrix}-1&4\\7&-2\end{bmatrix}. \]
\[ 3A=\begin{bmatrix}9&-6\\15&3\end{bmatrix}. \]
If \( A \) is \( m\times n \) and \( B \) is \( n\times p \) (the inner dimensions must match), 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 — \( AB\neq BA \) even when both products are defined.
▸ عرض خطوات الحل بالتفصيل
\[ AB=\begin{bmatrix}(2)(4)+(1)(2)&(2)(-1)+(1)(5)\\(0)(4)+(3)(2)&(0)(-1)+(3)(5)\end{bmatrix}=\begin{bmatrix}10&3\\6&15\end{bmatrix}. \]
\[ A\mathbf{v}=\begin{bmatrix}(2)(5)+(1)(-2)\\(0)(5)+(3)(-2)\end{bmatrix}=\begin{bmatrix}8\\-6\end{bmatrix}. \]
For a \( 2\times2 \) matrix \( A=\begin{bmatrix}a&b\\c&d\end{bmatrix} \), the determinant is the scalar \[ \det A=ad-bc. \] The \( 2\times2 \) identity matrix \( I=\begin{bmatrix}1&0\\0&1\end{bmatrix} \) satisfies \( IA=AI=A \) for every \( 2\times2 \) matrix \( A \) — it's the multiplicative identity.
If \( A=\begin{bmatrix}a&b\\c&d\end{bmatrix} \) and \( \det A=ad-bc\neq0 \), then \( A \) is invertible, with
\[ A^{-1}=\frac{1}{\det A}\begin{bmatrix}d&-b\\-c&a\end{bmatrix}. \]
If \( \det A=0 \), no inverse exists.
Let \( A=\begin{bmatrix}a&b\\c&d\end{bmatrix} \) and \( d_0=ad-bc\neq0 \). Multiply \( A \) by the claimed inverse \( \tfrac{1}{d_0}\begin{bmatrix}d&-b\\-c&a\end{bmatrix} \) (Definition 2.2):
\[ A\cdot\frac{1}{d_0}\begin{bmatrix}d&-b\\-c&a\end{bmatrix}=\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}=\begin{bmatrix}1&0\\0&1\end{bmatrix}=I. \]
The same computation in the other order gives \( \tfrac{1}{d_0}\begin{bmatrix}d&-b\\-c&a\end{bmatrix}\cdot A=I \) as well, so this matrix is a genuine two-sided inverse. When \( \det A=0 \), suppose toward contradiction some matrix \( B \) satisfied \( AB=I \); a short computation (or the fact that \( \det(AB)=\det A\cdot\det B \)) would force \( \det A\cdot\det B=\det I=1 \), impossible since \( \det A=0 \) makes the left side \( 0 \). So no inverse exists. \( \blacksquare \)
▸ عرض خطوات الحل بالتفصيل
Here \( A=\begin{bmatrix}2&3\\1&-1\end{bmatrix} \), \( \mathbf{b}=\begin{bmatrix}16\\-2\end{bmatrix} \). \( \det A=(2)(-1)-(3)(1)=-5 \), so by Theorem 2.1:
\[ A^{-1}=\frac{1}{-5}\begin{bmatrix}-1&-3\\-1&2\end{bmatrix}=\begin{bmatrix}\tfrac{1}{5}&\tfrac{3}{5}\\[2pt]\tfrac{1}{5}&-\tfrac{2}{5}\end{bmatrix}. \]
Then \( \mathbf{x}=A^{-1}\mathbf{b} \): \[ x=\tfrac{1}{5}(16)+\tfrac{3}{5}(-2)=\tfrac{16-6}{5}=2, \qquad y=\tfrac{1}{5}(16)+\left(-\tfrac{2}{5}\right)(-2)=\tfrac{16+4}{5}=4. \] Check: \( 2(2)+3(4)=4+12=16 \) ✓ and \( 2-4=-2 \) ✓.
| الكمية | القيمة |
|---|
نيلي سهم يساوي column 1 من A \((a, c)\); كهرماني سهم يساوي column \(2 (b, d)\). مظللة متوازي الأضلاع هم span له مساحة \(|\det A|\) — كهرماني-tinted عندما \(\det A\) < 0، نيلي عندما det A > 0. بواسطة نظرية 2.1، له المعكوس بالضبط عندما \(\det A \ne 0\).
A vector \( \mathbf{u}=\langle u_1,u_2\rangle \) in the plane has magnitude \( |\mathbf{u}|=\sqrt{u_1^2+u_2^2} \). The dot product of \( \mathbf{u}=\langle u_1,u_2\rangle \) and \( \mathbf{v}=\langle v_1,v_2\rangle \) is the scalar \[ \mathbf{u}\cdot\mathbf{v}=u_1v_1+u_2v_2. \]
For nonzero vectors \( \mathbf{u},\mathbf{v} \) with angle \( \theta \) between them, \[ \cos\theta=\frac{\mathbf{u}\cdot\mathbf{v}}{|\mathbf{u}|\,|\mathbf{v}|}. \]
Place \( \mathbf{u} \) and \( \mathbf{v} \) tail-to-tail; the vector from the tip of \( \mathbf{u} \) to the tip of \( \mathbf{v} \) is \( \mathbf{v}-\mathbf{u} \), and the three sides \( |\mathbf{u}|,|\mathbf{v}|,|\mathbf{v}-\mathbf{u}| \) form a triangle with included angle \( \theta \) at the shared tail. The Law of Cosines gives \[ |\mathbf{v}-\mathbf{u}|^2=|\mathbf{u}|^2+|\mathbf{v}|^2-2|\mathbf{u}||\mathbf{v}|\cos\theta. \] Expand the left side using \( |\mathbf{v}-\mathbf{u}|^2=(\mathbf{v}-\mathbf{u})\cdot(\mathbf{v}-\mathbf{u})=|\mathbf{v}|^2-2\,\mathbf{u}\cdot\mathbf{v}+|\mathbf{u}|^2 \) (dot product distributes like ordinary multiplication). Setting the two expressions for \( |\mathbf{v}-\mathbf{u}|^2 \) equal and cancelling \( |\mathbf{u}|^2+|\mathbf{v}|^2 \) from both sides leaves \( -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 \)
▸ عرض خطوات الحل بالتفصيل
\[ \mathbf{u}\cdot\mathbf{v}=(4)(-1)+(3)(2)=-4+6=2. \qquad |\mathbf{u}|=\sqrt{16+9}=5, \qquad |\mathbf{v}|=\sqrt{1+4}=\sqrt5. \]
\[ \cos\theta=\frac{2}{5\sqrt5}\approx0.1789 \quad\Rightarrow\quad \theta=\cos^{-1}(0.1789)\approx79.7^\circ. \]
Quick reference
Inverse Invertibility Condition: A matrix \(A = \begin{pmatrix}a & b\\ c & d\end{pmatrix}\) is invertible if and only if \(\det(A) = ad - bc \neq 0\). If \(\det(A) = 0\), the system has either no unique solution or infinitely many solutions.
Dot Product vs Vector: The dot product \(\mathbf{u}\cdot\mathbf{v}\) is a scalar (a single real number), not a vector. The vectors are orthogonal if and only if \(\mathbf{u}\cdot\mathbf{v} = 0\).
| الخطأ الشائع لدى الطلاب | لماذا يفشل رياضياً | الطريقة الصحيحة المعتمدة في الاختبار |
|---|---|---|
| Computing الزاوية 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 (ACT International Subject Test — Math 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
Step 1: Compute the determinant of \( A \):
\[ \det(A) = ad - bc = (3)(2) - (1)(5) = 6 - 5 = 1. \]
Step 2: Construct the inverse \( A^{-1} \):
Swap the main diagonal entries, negate the off-diagonal entries, and divide by \( \det(A) = 1 \):
\[ A^{-1} = \frac{1}{1} \begin{pmatrix} 2 & -1 \\ -5 & 3 \end{pmatrix} = \mathbf{\begin{pmatrix} 2 & -1 \\ -5 & 3 \end{pmatrix}}. \]
Step 3: Solve the matrix equation \( A\mathbf{x} = \mathbf{b} \):
\[ \begin{pmatrix} x \\ y \end{pmatrix} = A^{-1}\mathbf{b} = \begin{pmatrix} 2 & -1 \\ -5 & 3 \end{pmatrix} \begin{pmatrix} 7 \\ 12 \end{pmatrix} = \begin{pmatrix} 2(7) + (-1)(12) \\ -5(7) + 3(12) \end{pmatrix} = \begin{pmatrix} 14 - 12 \\ -35 + 36 \end{pmatrix} = \mathbf{\begin{pmatrix} 2 \\ 1 \end{pmatrix}}. \]
Thus \( \mathbf{x = 2} \) and \( \mathbf{y = 1} \). (Check: \( 3(2) + 1 = 7 \) ✓ and \( 5(2) + 2(1) = 12 \) ✓).
(a) Find the unit vector in the direction of \( \mathbf{u} \).
(b) Calculate the angle \( \theta \) between \( \mathbf{u} \) and \( \mathbf{v} \) to the nearest degree.
💡 Hint 1 of 3
💡 Hint 2 of 3
💡 Hint 3 of 3
Part (a): Find the unit vector \( \hat{\mathbf{u}} \):
1. Magnitude of \( \mathbf{u} \): \[ |\mathbf{u}| = \sqrt{2^2 + (-3)^2 + 6^2} = \sqrt{4 + 9 + 36} = \sqrt{49} = 7. \]
2. Unit vector: \[ \hat{\mathbf{u}} = \frac{\mathbf{u}}{|\mathbf{u}|} = \mathbf{\left\langle \frac{2}{7}, -\frac{3}{7}, \frac{6}{7} \right\rangle}. \]
Part (b): Find the angle \( \theta \):
1. Dot product \( \mathbf{u}\cdot\mathbf{v} \): \[ \mathbf{u}\cdot\mathbf{v} = (2)(1) + (-3)(4) + (6)(2) = 2 - 12 + 12 = 2. \]
2. Magnitude of \( \mathbf{v} \): \[ |\mathbf{v}| = \sqrt{1^2 + 4^2 + 2^2} = \sqrt{1 + 16 + 4} = \sqrt{21}. \]
3. Angle \( \theta \): \[ \cos\theta = \frac{\mathbf{u}\cdot\mathbf{v}}{|\mathbf{u}||\mathbf{v}|} = \frac{2}{7\sqrt{21}} \approx \frac{2}{32.078} \approx 0.06235. \]
\[ \theta = \cos^{-1}(0.06235) \approx \mathbf{86^\circ}. \]
💡 Hint 1 of 3
💡 Hint 2 of 3
💡 Hint 3 of 3
Step 1: Set the determinant to zero:
A matrix is singular if and only if \( \det(M) = 0 \):
\[ \det(M) = (k+2)(k-2) - (4)(3) = 0. \]
Step 2: Solve the algebraic equation:
\[ (k^2 - 4) - 12 = 0 \implies k^2 - 16 = 0. \]
Step 3: Extract roots:
\[ (k - 4)(k + 4) = 0 \implies \mathbf{k = 4 \quad\text{or}\quad k = -4}. \]
Check: For \( k = 4 \), \( M = \begin{pmatrix} 6 & 4 \\ 3 & 2 \end{pmatrix} \), \( \det = 12 - 12 = 0 \) ✓.
For \( k = -4 \), \( M = \begin{pmatrix} -2 & 4 \\ 3 & -6 \end{pmatrix} \), \( \det = 12 - 12 = 0 \) ✓.
💡 Hint 1 of 3
💡 Hint 2 of 3
💡 Hint 3 of 3
Step 1: Use the orthogonality condition \( \mathbf{a} \cdot \mathbf{b} = 0 \):
\[ \mathbf{a}\cdot\mathbf{b} = (4)(6) + (k)(-8) = 24 - 8k = 0 \implies 8k = 24 \implies \mathbf{k = 3}. \]
Step 2: Compute the vector projection of \( \mathbf{c} \) onto \( \mathbf{b} \):
The scalar projection is \( \operatorname{comp}_{\mathbf{b}}\mathbf{c} = \frac{\mathbf{c}\cdot\mathbf{b}}{|\mathbf{b}|} \).
1. \( \mathbf{c}\cdot\mathbf{b} = (10)(6) + (5)(-8) = 60 - 40 = 20 \).
2. \( |\mathbf{b}| = \sqrt{6^2 + (-8)^2} = \sqrt{36 + 64} = \sqrt{100} = 10 \).
3. Vector projection: \[ \operatorname{proj}_{\mathbf{b}}\mathbf{c} = \left(\frac{\mathbf{c}\cdot\mathbf{b}}{|\mathbf{b}|^2}\right)\mathbf{b} = \left(\frac{20}{100}\right)\langle 6, -8 \rangle = \frac{1}{5}\langle 6, -8 \rangle = \mathbf{\left\langle \frac{6}{5}, -\frac{8}{5} \right\rangle}. \]
