New
✓ تم التحقق من المنهج الرسميمعايير الجودة والصرامة ↗
4

المصفوفات والمحددات والمتجهات

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

● Definition 4.1 — Matrix, addition, and scalar multiplication

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}. \]

تمثيل التحويل الهندسي والخطي وتأثيره على الشبكة الإحداثية في المصفوفات والمحددات والمتجهات.
مثال محلول 4.A — Add and scale
المسألة. ليكن \( A=\begin{bmatrix}4&-1\\3&2\end{bmatrix} \) و \( B=\begin{bmatrix}-2&5\\1&-3\end{bmatrix} \). أوجد \( A+B \) و \( 2A \).
▸ عرض خطوات الحل بالتفصيل

\[ A+B=\begin{bmatrix}2&4\\4&-1\end{bmatrix}, \qquad 2A=\begin{bmatrix}8&-2\\6&4\end{bmatrix}. \]

● تعريف 4.2 — المصفوفة multiplication

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.

مثال محلول 4.B — Multiply two المصفوفات, and a المصفوفة by a المتجه
المسألة. ليكن \( A=\begin{bmatrix}3&-1\\2&4\end{bmatrix} \), \( B=\begin{bmatrix}1&2\\0&-3\end{bmatrix} \), \( \mathbf{v}=\begin{bmatrix}3\\-4\end{bmatrix} \).
▸ عرض خطوات الحل بالتفصيل

\[ 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}. \]

● تعريف 4.3 — المحدد and the المتطابقة المصفوفة

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

▲ مبرهنة 4.1 — The \(2\times2\) inverse الصيغة

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 \)

Worked example 4.C — Invert a matrix and solve a system with it
المسألة. حل \( \begin{cases}4x+y=14\\3x+2y=13\end{cases} \) باستخدام \( \mathbf{x}=A^{-1}\mathbf{b} \).
▸ عرض خطوات الحل بالتفصيل

\( 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 \) ✓.

● تعريف 4.4 — المتجهات: magnitude and dot product

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

▲ مبرهنة 4.2 — الزاوية between two المتجهات

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 \)

مثال محلول 4.D — أوجد الزاوية between two المتجهات
المسألة. Find the الزاوية between \(\mathbf{u}=\langle5,-2\rangle\) and \(\mathbf{v}=\langle3,4\rangle\).
▸ عرض خطوات الحل بالتفصيل

\[ \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. \]

⊙ مستكشف تفاعلي · الزاوية between two المتجهات
تفاعلي
\(u \cdot v\)\(0.000\)
الزاوية between \(u\) and \(v\)\(90.0^\circ\)

default \(90^\circ\) apart يساوي ليس accident: \(u \cdot v = 0\) بالضبط عندما المتجهات تكون العمودي، whatever هم أطوال — نظرية 4.2 في action.

Quick reference

المحدد test
\(A\) invertible \(\iff \det A\neq0\) (المصفوفات والمحددات والمتجهات)
2×2 inverse (المصفوفات والمحددات والمتجهات)
swap diagonal, negate off-diagonal, divide by \( \det A \)
Perpendicular المتجهات
\( \mathbf{u}\cdot\mathbf{v}=0 \iff \mathbf{u}\perp\mathbf{v} \)
التمثيل الهندسي لجمع المتجهات والضرب القياسي في المستوى ثنائي الأبعاد.
⚠ المصفوفة & المتجه Pitfalls
Matrix Multiplication Dimension Mismatch: An \(m \times k\) matrix can only multiply a \(k \times n\) matrix; the result is \(m \times n\). Multiplication is strictly non-commutative (\(AB \neq BA\)).

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.
Error Diagnosis — Common Student Traps vs. Exam-Board Method (Matrices & Vectors)
الخطأ الشائع لدى الطلابلماذا يفشل رياضياًالطريقة الصحيحة المعتمدة في الاختبار
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 (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)\).

ليكن \(A = \begin{pmatrix}4 & 3\\ 2 & 2\end{pmatrix}\). أوجد \(A^{-1}\) and compute the vector \(\mathbf{x} = A^{-1}\begin{pmatrix}10\\ 6\end{pmatrix}\).
💡 Hint 1 of 3
تلميح للحل: استخدم العلاقة \(\det(A) = (4)(2) - (3)(2) = 8 - 6\) لتبسيط الخطوة.
💡 Hint 2 of 3
تلميح للحل: استخدم العلاقة \(A^{-1}\) ، \(A^{-1} = \frac{1}{2}\begin{pmatrix}2 & -3\\ -2 & 4\end{pmatrix}\) لتبسيط الخطوة.
💡 Hint 3 of 3
تلميح للحل: استخدم العلاقة \(\begin{pmatrix}10\\ 6\end{pmatrix}\) ، \(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}\) لتبسيط الخطوة.
1. Compute \(\det(A) = (4)(2) - (3)(2) = 8 - 6 = 2\).
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}. \]
[Practice 2 · Hard] A linear transformation in the 2D plane is represented by the matrix \( M = \begin{pmatrix} a & b \\ c & d \end{pmatrix} \). This transformation maps the point \( P(1, 2) \) to \( P'(-3, 7) \) and the point \( Q(3, 1) \) to \( Q'(5, 1) \). Determine the values of \( a, b, c, \) and \( d \), and then calculate the sum \( a+b+c+d \).
💡 Hint 1 of 3
Let the linear transformation matrix be \( M = \begin{pmatrix} a & b \\ c & d \end{pmatrix} \).
💡 Hint 2 of 3
أعد كتابة العلاقة وبسّطها للحصول على: \(-5a = 4 - 14\).
💡 Hint 3 of 3
تلميح للحل: استخدم العلاقة \(a + b + c + d = 2 + 1 + 3 + 3\) لتبسيط الخطوة.
Let the linear transformation matrix be \( M = \begin{pmatrix} a & b \\ c & d \end{pmatrix} \). The transformation of a point \( \mathbf{x} \) to \( \mathbf{x'} \) is given by \( M\mathbf{x} = \mathbf{x'} \). For point \( P(1, 2) \) mapped to \( P'(4, 9) \): \[ \begin{pmatrix} a & b \\ c & d \end{pmatrix} \begin{pmatrix} 1 \\ 2 \end{pmatrix} = \begin{pmatrix} 4 \\ 9 \end{pmatrix} \] This yields the equations: 1) \( a + 2b = 4 \) 2) \( c + 2d = 9 \) For point \( Q(3, 1) \) mapped to \( Q'(7, 12) \): \[ \begin{pmatrix} a & b \\ c & d \end{pmatrix} \begin{pmatrix} 3 \\ 1 \end{pmatrix} = \begin{pmatrix} 7 \\ 12 \end{pmatrix} \] This yields the equations: 3) \( 3a + b = 7 \) 4) \( 3c + d = 12 \) We need to solve these two systems of linear equations for \( a, b, c, \) and \( d \). Solving for \( a \) and \( b \) using equations (1) and (3): From equation (3), \( b = 7 - 3a \). Substitute this into equation (1): \( a + 2(7 - 3a) = 4 \) \( a + 14 - 6a = 4 \) \( -5a = 4 - 14 \) \( -5a = -10 \) \( a = 2 \) Now substitute the value of \( a \) back into the expression for \( b \): \( b = 7 - 3(2) = 7 - 6 = 1 \) Solving for \( c \) and \( d \) using equations (2) and (4): From equation (4), \( d = 12 - 3c \). Substitute this into equation (2): \( c + 2(12 - 3c) = 9 \) \( c + 24 - 6c = 9 \) \( -5c = 9 - 24 \) \( -5c = -15 \) \( c = 3 \) Now substitute the value of \( c \) back into the expression for \( d \): \( d = 12 - 3(3) = 12 - 9 = 3 \) So, the transformation matrix is \( M = \begin{pmatrix} 2 & 1 \\ 3 & 3 \end{pmatrix} \). The sum of the elements of the transformation matrix is \( a + b + c + d = 2 + 1 + 3 + 3 = 9 \). Common misconceptions might arise from errors in solving the systems of equations, such as sign errors or algebraic mistakes when isolating variables. For instance, incorrectly solving for \( b \) or \( d \) could lead to a wrong sum. Alternatively, a student might forget to sum all four elements and only sum the elements of one row or column.
[Practice 3 · Easy] A vector \( \mathbf{v} \) is represented by the directed line segment from point \( P(1, 2) \) to point \( Q(4, 6) \). What are the components of vector \( \mathbf{v} \)?
💡 Hint 1 of 3
تلميح للحل: استخدم العلاقة \(\mathbf{v}\) ، \(P(x_1, y_1)\) ، \(Q(x_2, y_2)\) ، \(\mathbf{v} = [x_2 - x_1, y_2 - y_1]\) لتبسيط الخطوة.
💡 Hint 2 of 3
تلميح للحل: استخدم العلاقة \(P = (1, 2)\) ، \(Q = (4, 6)\) لتبسيط الخطوة.
💡 Hint 3 of 3
وبالتالي، the components of \(v\) are \([4 - 1, 6 - 2] = [3, 4]\).
The components of a vector \( \mathbf{v} \) represented by a directed line segment from point \( P(x_1, y_1) \) to point \( Q(x_2, y_2) \) are given by \( \mathbf{v} = [x_2 - x_1, y_2 - y_1] \). In this case, \( P = (1, 2) \) and \( Q = (4, 6) \). Therefore, the components of \( \mathbf{v} \) are \( [4 - 1, 6 - 2] = [3, 4] \).
[Practice 4 · Medium] A translation maps point \( A(1, 2) \) to \( A'(-4, 2) \) and point \( B(3, 5) \) to \( B'(-2, 5) \). This transformation is represented by \( \begin{pmatrix} x' \\ y' \end{pmatrix} = \begin{pmatrix} x \\ y \end{pmatrix} + \begin{pmatrix} a \\ b \end{pmatrix} \). Find the values of \( a \) and \( b \).
💡 Hint 1 of 3
تلميح للحل: استخدم العلاقة \(A(1, 2)\) ، \(A'(-4, 2)\) ، \(\begin{pmatrix} a \\ b \end{pmatrix} = \begin{pmatrix} -4 - 1 \\ 2 - 2 \end{pmatrix}\) لتبسيط الخطوة.
💡 Hint 2 of 3
تلميح للحل: استخدم العلاقة \(B(3, 5) \to B'(-2, 5)\) ، \((-2 - 3, 5 - 5)\) لتبسيط الخطوة.
💡 Hint 3 of 3
Evaluate \((-2 - 3, 5 - 5)\) step by step to obtain the final answer.
Subtracting the original coordinates of \( A(1, 2) \) from its image \( A'(-4, 2) \) gives the translation vector: \[ \begin{pmatrix} a \\ b \end{pmatrix} = \begin{pmatrix} -4 - 1 \\ 2 - 2 \end{pmatrix} = \begin{pmatrix} -5 \\ 0 \end{pmatrix}. \] Checking with \( B(3, 5) \to B'(-2, 5) \) confirms \( (-2 - 3, 5 - 5) = (-5, 0) \). Thus, \( a = -5 \) and \( b = 0 \).
A vector \( \mathbf{v} \) is represented by the directed line segment from point \( P(1, 2) \) to point \( Q(4, 6) \). What are the components of vector \( \mathbf{v} \)?
💡 Hint 1 of 3
تلميح للحل: استخدم العلاقة \(\mathbf{v}\) ، \(P(x_1, y_1)\) ، \(Q(x_2, y_2)\) ، \(\mathbf{v} = [x_2 - x_1, y_2 - y_1]\) لتبسيط الخطوة.
💡 Hint 2 of 3
تلميح للحل: استخدم العلاقة \(P = (1, 2)\) ، \(Q = (4, 6)\) لتبسيط الخطوة.
💡 Hint 3 of 3
وبالتالي، the components of \(v\) are \([4 - 1, 6 - 2] = [3, 4]\).
The components of a vector \( \mathbf{v} \) represented by a directed line segment from point \( P(x_1, y_1) \) to point \( Q(x_2, y_2) \) are given by \( \mathbf{v} = [x_2 - x_1, y_2 - y_1] \). In this case, \( P = (1, 2) \) and \( Q = (4, 6) \). Therefore, the components of \( \mathbf{v} \) are \( [4 - 1, 6 - 2] = [3, 4] \).
📝 اختبار الفصل