Vectors in \( \mathbb{R}^n \) form the foundational geometric and algebraic substrate of linear algebra. Ordered \( n \)-tuples of real numbers admit two primary operations: vector addition and scalar multiplication. From these elementary operations emerge geometric concepts of length (Euclidean norm), direction, orthogonality, and projections that extend seamlessly into abstract inner product spaces.
📊 Linear Algebra — Exam Blueprint & Domain Weighting
Vectors, Linear Systems, RREF & Matrices
~35%LINALG
Vector Spaces, Subspaces & Linear Transformations
~30%LINALG
Eigenvalues, Diagonalization, Orthogonality & SVD
~35%LINALG
Official curriculum weighting and examination domain distribution for Linear Algebra.
Level 1 · Foundations — Vector Space Axioms of \( \mathbb{R}^n \), Norms & Normalization
A vector \( \mathbf{u} \in \mathbb{R}^n \) is represented as an \( n \times 1 \) column vector \( \mathbf{u} = \begin{pmatrix} u_1 \\ u_2 \\ \vdots \\ u_n \end{pmatrix} \) or an ordered \( n \)-tuple \( (u_1, u_2, \dots, u_n) \). Addition and scalar multiplication operate componentwise.
تمثيل جمع المتجهات بقاعدة متوازي الأضلاع والأثر الهندسي للتركيبات الخطية في \(\mathbb{R}^2\).
Unit Vector (Normalization): If \( \mathbf{u} \neq \mathbf{0} \), the vector \( \hat{\mathbf{u}} = \frac{\mathbf{u}}{\|\mathbf{u}\|} \) satisfies \( \|\hat{\mathbf{u}}\| = 1 \) and points in the direction of \( \mathbf{u} \).
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\).
Level 1 (Foundations) — Worked Example · Componentwise Calculus & Normalization
المسألة. Given vectors \( \mathbf{u} = \begin{pmatrix} 2 \\ -1 \\ 4 \\ -2 \end{pmatrix} \) and \( \mathbf{v} = \begin{pmatrix} 3 \\ 2 \\ -1 \\ 5 \end{pmatrix} \) in \( \mathbb{R}^4 \), calculate the linear combination \( \mathbf{w} = 3\mathbf{u} - 2\mathbf{v} \), compute the inner product \( \mathbf{u} \cdot \mathbf{v} \), and find the unit vector \( \hat{\mathbf{u}} \).
Worked Example B — Vectors in \( \mathbb{R}^n \) & Inner Product Spaces (Easy Application)
المسألة. Consider the vector \( \mathbf{v} = \begin{pmatrix} 5 \\ -12 \end{pmatrix} \). Calculate the magnitude of \( \mathbf{v} \), denoted as \( \lVert\mathbf{v}\rVert \).
▸ عرض خطوات الحل بالتفصيل
The magnitude of a vector \( \mathbf{v} = \begin{pmatrix} x \\ y \end{pmatrix} \) in \( \mathbb{R}^2 \) is given by the formula \( \lVert\mathbf{v}\rVert = \sqrt{x^2 + y^2} \). For the given vector \( \mathbf{v} = \begin{pmatrix} 5 \\ -12 \end{pmatrix} \), we have \( x=5 \) and \( y=-12 \). Therefore, \( \lVert\mathbf{v}\rVert = \sqrt{(5)^2 + (-12)^2} = \sqrt{25 + 144} = \sqrt{169} = 13 \).
Error Diagnosis — Common Student Traps vs. Exam-Board Method (Vectors in \( \mathbb{R}^n \) & Inner Product Spaces)
الخطأ الشائع لدى الطلاب
لماذا يفشل رياضياً
الطريقة الصحيحة المعتمدة في الاختبار
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 (University Linear Algebra & Matrix Theory): 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)\).
Level 1 · Foundations
Let \( \mathbf{a} = \begin{pmatrix} 1 \\ 2 \\ -2 \end{pmatrix} \) and \( \mathbf{b} = \begin{pmatrix} k \\ 4 \\ 1 \end{pmatrix} \) in \( \mathbb{R}^3 \). Determine the unique scalar value of \( k \) such that \( \mathbf{a} \) and \( \mathbf{b} \) are orthogonal (perpendicular).
💡 Hint 1 of 3
Two non-zero vectors are orthogonal if and only if their inner product is zero: \(\mathbf{a} \cdot \mathbf{b} = 0\).
💡 Hint 2 of 3
Compute the dot product: \((1)(k) + (2)(4) + (-2)(1) = 0\). Simplify the relation to: \(k + 8 - 2 = 0\).
💡 Hint 3 of 3
حل \(k + 6 = 0\) to حدّد \(k\).
Two non-zero vectors are orthogonal if and only if their inner product is zero: \[ \mathbf{a} \cdot \mathbf{b} = 0. \] Compute the dot product: \[ (1)(k) + (2)(4) + (-2)(1) = 0 \implies k + 8 - 2 = 0 \implies k + 6 = 0 \implies \mathbf{k = -6}. \]
The Cauchy–Schwarz inequality is the paramount foundational inequality in linear analysis. It guarantees that the geometric definition of the angle between two vectors \( \cos\theta = \frac{\mathbf{u} \cdot \mathbf{v}}{\|\mathbf{u}\|\|\mathbf{v}\|} \) is always mathematically well-defined.
Theorem (Cauchy–Schwarz): For all \( \mathbf{u}, \mathbf{v} \in \mathbb{R}^n \): \[ |\mathbf{u} \cdot \mathbf{v}| \le \|\mathbf{u}\| \|\mathbf{v}\|, \] with equality holding if and only if \( \mathbf{u} \) and \( \mathbf{v} \) are linearly dependent (one vector is a scalar multiple of the other).
Proof via Quadratic Discriminant: If \( \mathbf{v} = \mathbf{0} \), then \( \mathbf{u} \cdot \mathbf{0} = 0 \) and \( \|\mathbf{u}\|\|\mathbf{0}\| = 0 \), so equality holds trivially. Assume \( \mathbf{v} \neq \mathbf{0} \). For any real parameter \( t \in \mathbb{R} \), consider the vector \( \mathbf{w}(t) = \mathbf{u} - t\mathbf{v} \). By the positive definiteness of the Euclidean norm: \[ 0 \le \|\mathbf{u} - t\mathbf{v}\|^2 = (\mathbf{u} - t\mathbf{v}) \cdot (\mathbf{u} - t\mathbf{v}). \] Expanding by bilinearity and symmetry: \[ 0 \le \mathbf{u} \cdot \mathbf{u} - 2t(\mathbf{u} \cdot \mathbf{v}) + t^2(\mathbf{v} \cdot \mathbf{v}) = \|\mathbf{v}\|^2 t^2 - 2(\mathbf{u} \cdot \mathbf{v}) t + \|\mathbf{u}\|^2. \] This is a quadratic polynomial \( p(t) = A t^2 + B t + C \) in \( t \), where \( A = \|\mathbf{v}\|^2 > 0 \), \( B = -2(\mathbf{u} \cdot \mathbf{v}) \), and \( C = \|\mathbf{u}\|^2 \). Because \( p(t) \ge 0 \) for all \( t \in \mathbb{R} \), the parabola cannot cross the \( t \)-axis twice, which requires that its discriminant \( \Delta = B^2 - 4AC \) be non-positive: \[ \Delta = [-2(\mathbf{u} \cdot \mathbf{v})]^2 - 4(\|\mathbf{v}\|^2)(\|\mathbf{u}\|^2) \le 0. \] \[ 4(\mathbf{u} \cdot \mathbf{v})^2 - 4\|\mathbf{u}\|^2 \|\mathbf{v}\|^2 \le 0 \implies (\mathbf{u} \cdot \mathbf{v})^2 \le \|\mathbf{u}\|^2 \|\mathbf{v}\|^2. \] Taking the positive square root of both sides establishes: \[ |\mathbf{u} \cdot \mathbf{v}| \le \|\mathbf{u}\| \|\mathbf{v}\|. \quad \blacksquare \]
● نتيجة 1.2 · The المثلث المتباينة in \(\mathbb{R}^n\)
\(u\)، \(v\)، هم الضرب القياسي، و Cauchy-Schwarz حد \(|u||v|\)
الكمية
القيمة
norm
اسحب للتدوير ومرّر للتكبير · تُحمَّل مكتبة ثلاثية الأبعاد صغيرة عند أول استخدام
\(u \cdot v\)\(4.023\)
\(|u| |v|\) (حد)\(5.000\)
\(u = \langle 1, 2\rangle\) يساوي ثابت; \(v\) keeps نفس الطول كـ مثال محلول 1.B's \(v = \langle 2, 1\rangle (|v| = \sqrt{5})\) لكن rotates freely. اسحب near \(\theta \approx 63.43^\circ\) و لاحظ \(u \cdot v\) approach حد \(|u||v| = 5\)، equality الحالة في Cauchy-Schwarz حيث المتجهات تكون الموازي.
المتجهان المتعامدان \(\mathbf{u} = \langle 3, 2 \rangle\) و\(\mathbf{v} = \langle -2, 3 \rangle\) في \(\mathbb{R}^2\) حيث \(\mathbf{u}\cdot\mathbf{v} = 0\).
Level 2 (Medium) — Worked Example · Orthogonal Projection & Vector Decomposition
المسألة. Decompose \( \mathbf{u} = \begin{pmatrix} 5 \\ 1 \\ 2 \end{pmatrix} \) into the sum of two orthogonal vectors \( \mathbf{u} = \mathbf{u}_\parallel + \mathbf{u}_\perp \), where \( \mathbf{u}_\parallel \) is parallel to \( \mathbf{v} = \begin{pmatrix} 1 \\ 2 \\ -1 \end{pmatrix} \) and \( \mathbf{u}_\perp \) is orthogonal to \( \mathbf{v} \).
Find the distance from the point \( P(3, -1, 4) \) in \( \mathbb{R}^3 \) to the line passing through the origin along the direction vector \( \mathbf{d} = \begin{pmatrix} 2 \\ 1 \\ -2 \end{pmatrix} \).
💡 Hint 1 of 3
Let \( \mathbf{p} = \begin{pmatrix} 3 \\ -1 \\ 4 \end{pmatrix} \). The orthogonal distance from \( P \) to the line \( \text{span}(\mathbf{d}) \) is \( \|\mathbf{p}_\perp\| = \|\mathbf{p} - \text{proj}_\mathbf{d}(\mathbf{p})\| \).
Let \( \mathbf{p} = \begin{pmatrix} 3 \\ -1 \\ 4 \end{pmatrix} \). The orthogonal distance from \( P \) to the line \( \text{span}(\mathbf{d}) \) is \( \|\mathbf{p}_\perp\| = \|\mathbf{p} - \text{proj}_\mathbf{d}(\mathbf{p})\| \).
Level 3 · Advanced / University Rigor — Inner Product Identities, Parallelogram Law & Hyperplanes
In advanced linear algebra and functional analysis, an inner product space \( (V, \langle \cdot, \cdot \rangle) \) is characterized by geometric identities that relate the induced norm to the underlying inner product. Chief among these are the Parallelogram Law and the Polarization Identity.
● Theorem 1.3 & Formal Analytical Proof · The Parallelogram Law & Polarization Identity
Theorem (Parallelogram Law): In any real inner product space, the sum of the squares of the lengths of the four sides of a parallelogram equals the sum of the squares of the lengths of the two diagonals: \[ \|\mathbf{u} + \mathbf{v}\|^2 + \|\mathbf{u} - \mathbf{v}\|^2 = 2\|\mathbf{u}\|^2 + 2\|\mathbf{v}\|^2. \]
Theorem (Polarization Identity): The inner product can be completely recovered from the norm function: \[ \langle \mathbf{u}, \mathbf{v} \rangle = \frac{1}{4}\left( \|\mathbf{u} + \mathbf{v}\|^2 - \|\mathbf{u} - \mathbf{v}\|^2 \right). \]
Significance: By the Jordan–von Neumann Theorem, a normed vector space \( (V, \|\cdot\|) \) can be equipped with an inner product that induces the norm if and only if the norm satisfies the Parallelogram Law.
⚠️ أخطاء شائعة ومصائد جامعية · المتجهات in \(R^{n}\)
Canceling Dot Products: \( \mathbf{u} \cdot \mathbf{v} = \mathbf{u} \cdot \mathbf{w} \) does NOT imply \( \mathbf{v} = \mathbf{w} \). It only implies \( \mathbf{u} \cdot (\mathbf{v} - \mathbf{w}) = 0 \), meaning \( \mathbf{u} \) is orthogonal to \( \mathbf{v} - \mathbf{w} \). Dot product division is mathematically undefined!
Norm of a Sum: \( \|\mathbf{u} + \mathbf{v}\|^2 \neq \|\mathbf{u}\|^2 + \|\mathbf{v}\|^2 \) in general. The Pythagorean Theorem \( \|\mathbf{u} + \mathbf{v}\|^2 = \|\mathbf{u}\|^2 + \|\mathbf{v}\|^2 \) holds if and only if \( \mathbf{u} \cdot \mathbf{v} = 0 \) (orthogonality).
Associativity Fallacy: The expression \( \mathbf{u} \cdot \mathbf{v} \cdot \mathbf{w} \) is syntax nonsense because \( \mathbf{u} \cdot \mathbf{v} \) is a scalar; you cannot take the dot product of a scalar with the vector \( \mathbf{w} \). The vector scalar multiplication is \( (\mathbf{u} \cdot \mathbf{v})\mathbf{w} \).
Level 3 (Advanced) — Worked Example · Hyperplane Equations & Point-to-Plane Distance in \(R^{n}\)
المسألة. In \( \mathbb{R}^4 \), a hyperplane \( H \) is defined by the equation \( 2x_1 - x_2 + 3x_3 + 2x_4 = 14 \). 1. Identify the normal vector \( \mathbf{n} \) and express \( H \) in vector form \( \mathbf{n} \cdot (\mathbf{x} - \mathbf{p}) = 0 \). 2. Prove analytically and calculate the shortest Euclidean distance from the point \( \mathbf{x}_0 = (1, 2, 0, 1) \) to \( H \).
▸ عرض خطوات الحل بالتفصيل
Step 1 · Normal Vector and Plane Representation: The coefficients define the normal vector \( \mathbf{n} = \begin{pmatrix} 2 \\ -1 \\ 3 \\ 2 \end{pmatrix} \). For any point \( \mathbf{p} \in H \), \( \mathbf{n} \cdot \mathbf{p} = 14 \). For instance, choosing \( \mathbf{p} = (7, 0, 0, 0) \) gives \( \mathbf{n} \cdot \mathbf{p} = 14 \). Thus \( H = \{ \mathbf{x} \in \mathbb{R}^4 : \mathbf{n} \cdot (\mathbf{x} - \mathbf{p}) = 0 \} \).
Step 2 · Analytical Distance Derivation: The vector connecting any \( \mathbf{p} \in H \) to \( \mathbf{x}_0 \) is \( \mathbf{x}_0 - \mathbf{p} \). The distance to the hyperplane is the length of the projection of \( \mathbf{x}_0 - \mathbf{p} \) onto the unit normal \( \hat{\mathbf{n}} \): \[ d(\mathbf{x}_0, H) = \frac{|\mathbf{n} \cdot (\mathbf{x}_0 - \mathbf{p})|}{\|\mathbf{n}\|} = \frac{|\mathbf{n} \cdot \mathbf{x}_0 - \mathbf{n} \cdot \mathbf{p}|}{\|\mathbf{n}\|} = \frac{|\mathbf{n} \cdot \mathbf{x}_0 - 14|}{\|\mathbf{n}\|}. \]
Consider the vector \( \mathbf{v} = \begin{pmatrix} 5 \\ -12 \end{pmatrix} \). Calculate the magnitude of \( \mathbf{v} \), denoted as \( \lVert\mathbf{v}\rVert \).
💡 Hint 1 of 3
The magnitude of a vector \( \mathbf{v} = \begin{pmatrix} x \\ y \end{pmatrix} \) in \( \mathbb{R}^2 \) is given by the formula \( \lVert\mathbf{v}\rVert = \sqrt{x^2 + y^2} \).
💡 Hint 2 of 3
تلميح للحل: استخدم العلاقة \(\mathbf{v} = \begin{pmatrix} 5 \\ -12 \end{pmatrix}\) ، \(x=5\) ، \(y=-12\) لتبسيط الخطوة.
The magnitude of a vector \( \mathbf{v} = \begin{pmatrix} x \\ y \end{pmatrix} \) in \( \mathbb{R}^2 \) is given by the formula \( \lVert\mathbf{v}\rVert = \sqrt{x^2 + y^2} \). For the given vector \( \mathbf{v} = \begin{pmatrix} 5 \\ -12 \end{pmatrix} \), we have \( x=5 \) and \( y=-12 \). Therefore, \( \lVert\mathbf{v}\rVert = \sqrt{(5)^2 + (-12)^2} = \sqrt{25 + 144} = \sqrt{169} = 13 \).
المتجهات في \(\mathbb{R}^n\) وفضاءات الضرب الداخلي — مسألة مهيكلة من ٦ درجات
6 نقاط
بدون آلة حاسبة
في موضوع المتجهات في \(\mathbb{R}^n\) وفضاءات الضرب الداخلي، ادرس الدالة \(f(x) = 2x^2 - 4x + 1\) على الفترة \([0, 3]\).
(a)2 نقطة
احسب قيمتي \(f(0)\) و \(f(2)\).
معيار التصحيح والإجابة النموذجية
[M1]يعوّض القيمتين في الدالة(1 نقطة)
[A1]يحصل على 1 و 1(1 نقطة)
(b)2 نقطة
أوجد المشتقة \(f'(x)\) والنقطة الحرجة \(x_c\).
معيار التصحيح والإجابة النموذجية
[M1]يشتق الدالة التربيعية(1 نقطة)
[A1]يحل لإيجاد النقطة الحرجة(1 نقطة)
(c)2 نقطة
احسب متوسط معدل التغيّر من \(x = 0\) إلى \(x = 2\).
معيار التصحيح والإجابة النموذجية
[M1]يطبّق قانون متوسط معدل التغيّر(1 نقطة)
[A1]يبسّط الناتج إلى 0(1 نقطة)
الحل الكامل التفصيلي
(أ) \(f(0)=1\) و \(f(2)=1\). (ب) \(f'(x)=4x-4\). (ج) متوسط معدل التغيّر يساوي \(0\).