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

المتجهات في \mathbb{R}^n وفضاءات الضرب الداخلي

📌 Linear Algebra · Chapter 1 Foundations  ·  Euclidean vectors & algebraic axioms  ·  Dot product, norm & angle in Rⁿ  ·  Cauchy–Schwarz, Triangle inequality & projections

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\).
● Definition 1.1 — Algebraic Operations & Euclidean Inner Product in \( \mathbb{R}^n \)

Let \( \mathbf{u} = (u_1, \dots, u_n) \), \( \mathbf{v} = (v_1, \dots, v_n) \in \mathbb{R}^n \), and \( c \in \mathbb{R} \):

  1. Vector Addition: \( \mathbf{u} + \mathbf{v} = (u_1 + v_1, u_2 + v_2, \dots, u_n + v_n) \).
  2. Scalar Multiplication: \( c\mathbf{u} = (c u_1, c u_2, \dots, c u_n) \).
  3. Standard Inner Product (Dot Product): \[ \mathbf{u} \cdot \mathbf{v} = \mathbf{u}^T \mathbf{v} = \sum_{i=1}^n u_i v_i = u_1 v_1 + u_2 v_2 + \dots + u_n v_n. \]
  4. Euclidean Norm (Length): \[ \|\mathbf{u}\| = \sqrt{\mathbf{u} \cdot \mathbf{u}} = \sqrt{\sum_{i=1}^n u_i^2} = \sqrt{u_1^2 + u_2^2 + \dots + u_n^2}. \]
  5. 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} \).

Fundamental Axioms of the Euclidean Dot Product

Symmetry (Commutativity)
\( \mathbf{u} \cdot \mathbf{v} = \mathbf{v} \cdot \mathbf{u} \) لكل \( \mathbf{u}, \mathbf{v} \in \mathbb{R}^n \)
Bilinearity (Distributivity)
\( \mathbf{u} \cdot (c\mathbf{v} + d\mathbf{w}) = c(\mathbf{u} \cdot \mathbf{v}) + d(\mathbf{u} \cdot \mathbf{w}) \)
Positive Definiteness
\( \mathbf{u} \cdot \mathbf{u} \ge 0 \), مع \( \mathbf{u} \cdot \mathbf{u} = 0 \iff \mathbf{u} = \mathbf{0} \)
Scalar Homogeneity of Norm
\( \|c\mathbf{u}\| = |c|\,\|\mathbf{u}\| \) لـ any الكمية القياسية \( c \in \mathbb{R} \)
◆ Why It Works — First-Principles Derivation (Vectors in \( \mathbb{R}^n \) & Inner Product Spaces)

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

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}} \).
▸ عرض خطوات الحل بالتفصيل

Step 1 · Linear Combination: \[ \mathbf{w} = 3\begin{pmatrix} 2 \\ -1 \\ 4 \\ -2 \end{pmatrix} - 2\begin{pmatrix} 3 \\ 2 \\ -1 \\ 5 \end{pmatrix} = \begin{pmatrix} 6 - 6 \\ -3 - 4 \\ 12 - (-2) \\ -6 - 10 \end{pmatrix} = \mathbf{\begin{pmatrix} 0 \\ -7 \\ 14 \\ -16 \end{pmatrix}}. \]

Step 2 · Inner Product: \[ \mathbf{u} \cdot \mathbf{v} = (2)(3) + (-1)(2) + (4)(-1) + (-2)(5) = 6 - 2 - 4 - 10 = \mathbf{-10}. \]

Step 3 · Euclidean Norm and Normalization: \[ \|\mathbf{u}\| = \sqrt{2^2 + (-1)^2 + 4^2 + (-2)^2} = \sqrt{4 + 1 + 16 + 4} = \sqrt{25} = 5. \] The normalized unit vector is: \[ \hat{\mathbf{u}} = \frac{1}{5}\mathbf{u} = \mathbf{\begin{pmatrix} 2/5 \\ -1/5 \\ 4/5 \\ -2/5 \end{pmatrix}}. \]

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}\).
▲ Exam Pacing & Verification Strategy — Vectors in \( \mathbb{R}^n \) & Inner Product Spaces

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

Level 2 · Medium — Cauchy–Schwarz Inequality, Triangle Inequality & Orthogonal Decomposition

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 1.1 & Formal Analytical Proof · The Cauchy–Schwarz Inequality

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

Theorem (Minkowski's Triangle Inequality): For all \( \mathbf{u}, \mathbf{v} \in \mathbb{R}^n \): \[ \|\mathbf{u} + \mathbf{v}\| \le \|\mathbf{u}\| + \|\mathbf{v}\|. \]

Proof: Compute the squared norm using inner products: \[ \|\mathbf{u} + \mathbf{v}\|^2 = (\mathbf{u} + \mathbf{v}) \cdot (\mathbf{u} + \mathbf{v}) = \|\mathbf{u}\|^2 + 2(\mathbf{u} \cdot \mathbf{v}) + \|\mathbf{v}\|^2. \] Applying the Cauchy–Schwarz inequality, \( \mathbf{u} \cdot \mathbf{v} \le |\mathbf{u} \cdot \mathbf{v}| \le \|\mathbf{u}\| \|\mathbf{v}\| \): \[ \|\mathbf{u} + \mathbf{v}\|^2 \le \|\mathbf{u}\|^2 + 2\|\mathbf{u}\| \|\mathbf{v}\| + \|\mathbf{v}\|^2 = (\|\mathbf{u}\| + \|\mathbf{v}\|)^2. \] Taking the non-negative square root yields \( \|\mathbf{u} + \mathbf{v}\| \le \|\mathbf{u}\| + \|\mathbf{v}\| \). \(\blacksquare\)

⊙ مستكشف تفاعلي · Dot product & Cauchy–Schwarz
تفاعلي
\(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} \).
▸ عرض خطوات الحل بالتفصيل

Step 1 · Compute Projection \( \mathbf{u}_\parallel = \text{proj}_\mathbf{v}(\mathbf{u}) \): \[ \mathbf{u} \cdot \mathbf{v} = (5)(1) + (1)(2) + (2)(-1) = 5 + 2 - 2 = 5. \] \[ \|\mathbf{v}\|^2 = 1^2 + 2^2 + (-1)^2 = 1 + 4 + 1 = 6. \] \[ \mathbf{u}_\parallel = \frac{\mathbf{u} \cdot \mathbf{v}}{\|\mathbf{v}\|^2}\mathbf{v} = \frac{5}{6}\begin{pmatrix} 1 \\ 2 \\ -1 \end{pmatrix} = \mathbf{\begin{pmatrix} 5/6 \\ 10/6 \\ -5/6 \end{pmatrix}} = \begin{pmatrix} 5/6 \\ 5/3 \\ -5/6 \end{pmatrix}. \]

Step 2 · Compute Orthogonal Complement \( \mathbf{u}_\perp \): \[ \mathbf{u}_\perp = \mathbf{u} - \mathbf{u}_\parallel = \begin{pmatrix} 5 - 5/6 \\ 1 - 10/6 \\ 2 - (-5/6) \end{pmatrix} = \mathbf{\begin{pmatrix} 25/6 \\ -4/6 \\ 17/6 \end{pmatrix}} = \begin{pmatrix} 25/6 \\ -2/3 \\ 17/6 \end{pmatrix}. \]

Step 3 · Verify Orthogonality: \[ \mathbf{u}_\perp \cdot \mathbf{v} = \frac{25}{6}(1) + \left(-\frac{4}{6}\right)(2) + \frac{17}{6}(-1) = \frac{25 - 8 - 17}{6} = 0. \quad \checkmark \]

Level 2 · Medium

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})\| \).
💡 Hint 2 of 3
تلميح للحل: استخدم العلاقة \(\mathbf{p}\) ، \(\mathbf{d}\) ، \(\mathbf{p} \cdot \mathbf{d} = 3(2) + (-1)(1) + 4(-2) = 6 - 1 - 8 = -3\) ، \(\|\mathbf{d}\|^2 = 2^2 + 1^2 + (-2)^2 = 4 + 1 + 4\) لتبسيط الخطوة.
💡 Hint 3 of 3
تلميح للحل: استخدم العلاقة \(\text{Distance} = \|p_\perp\| = \frac{1}{3}\sqrt{11^2 + (-2)^2 + 10^2} = \frac{1}{3}\sqrt{121 + 4 + 100} = \frac{\sqrt{225}}{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})\| \).

Step 1: Compute projection of \( \mathbf{p} \) onto \( \mathbf{d} \): \[ \mathbf{p} \cdot \mathbf{d} = 3(2) + (-1)(1) + 4(-2) = 6 - 1 - 8 = -3. \] \[ \|\mathbf{d}\|^2 = 2^2 + 1^2 + (-2)^2 = 4 + 1 + 4 = 9. \] \[ \text{proj}_\mathbf{d}(\mathbf{p}) = \frac{-3}{9}\mathbf{d} = -\frac{1}{3}\begin{pmatrix} 2 \\ 1 \\ -2 \end{pmatrix} = \begin{pmatrix} -2/3 \\ -1/3 \\ 2/3 \end{pmatrix}. \]

Step 2: Compute orthogonal error vector: \[ \mathbf{p}_\perp = \begin{pmatrix} 3 - (-2/3) \\ -1 - (-1/3) \\ 4 - 2/3 \end{pmatrix} = \begin{pmatrix} 11/3 \\ -2/3 \\ 10/3 \end{pmatrix} = \frac{1}{3}\begin{pmatrix} 11 \\ -2 \\ 10 \end{pmatrix}. \]

Step 3: Compute distance: \[ \text{Distance} = \|\mathbf{p}_\perp\| = \frac{1}{3}\sqrt{11^2 + (-2)^2 + 10^2} = \frac{1}{3}\sqrt{121 + 4 + 100} = \frac{\sqrt{225}}{3} = \frac{15}{3} = \mathbf{5}. \]

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

Proof: Expanding both squared norms by inner product bilinearity: \[ \|\mathbf{u} + \mathbf{v}\|^2 = \|\mathbf{u}\|^2 + 2\langle \mathbf{u}, \mathbf{v} \rangle + \|\mathbf{v}\|^2, \] \[ \|\mathbf{u} - \mathbf{v}\|^2 = \|\mathbf{u}\|^2 - 2\langle \mathbf{u}, \mathbf{v} \rangle + \|\mathbf{v}\|^2. \] Adding the two equations eliminates the cross-term \( 2\langle \mathbf{u}, \mathbf{v} \rangle \): \[ \|\mathbf{u} + \mathbf{v}\|^2 + \|\mathbf{u} - \mathbf{v}\|^2 = 2\|\mathbf{u}\|^2 + 2\|\mathbf{v}\|^2. \quad \blacksquare \]


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}\)
  1. 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!
  2. 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).
  3. 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}\|}. \]

Step 3 · Numerical Computation: \[ \mathbf{n} \cdot \mathbf{x}_0 = 2(1) - 1(2) + 3(0) + 2(1) = 2 - 2 + 0 + 2 = 2. \] \[ \|\mathbf{n}\| = \sqrt{2^2 + (-1)^2 + 3^2 + 2^2} = \sqrt{4 + 1 + 9 + 4} = \sqrt{18} = 3\sqrt{2}. \] \[ d(\mathbf{x}_0, H) = \frac{|2 - 14|}{3\sqrt{2}} = \frac{12}{3\sqrt{2}} = \frac{4}{\sqrt{2}} = \mathbf{2\sqrt{2}}. \]

Level 3 · Advanced / University Rigor

Let \( \mathbf{u}, \mathbf{v} \in \mathbb{R}^n \) satisfy \( \|\mathbf{u}\| = 4 \), \( \|\mathbf{v}\| = 5 \), and \( \|\mathbf{u} + \mathbf{v}\| = 7 \). Using the Parallelogram Law, find the exact length of the difference vector \( \|\mathbf{u} - \mathbf{v}\| \), and determine the angle \( \theta \) between \( \mathbf{u} \) and \( \mathbf{v} \).

💡 Hint 1 of 3
تلميح للحل: استخدم العلاقة \(\|\mathbf{u} + \mathbf{v}\|^2 + \|\mathbf{u} - \mathbf{v}\|^2 = 2\|\mathbf{u}\|^2 + 2\|\mathbf{v}\|^2\) لتبسيط الخطوة.
💡 Hint 2 of 3
عوّض known values: \(7^2 + \|\mathbf{u} - \mathbf{v}\|^2 = 2(4^2) + 2(5^2) \implies 49 + \|\mathbf{u} - \mathbf{v}\|^2 = 2(16) + 2(25) = 32 + 50 = 82\) \(\|\mathbf{u} - \mathbf{v}\|^2 = 82 - 49 = 33 \implies \mathbf{\|\mathbf{u} - \mathbf{v}\| = \sqrt{33}}\).
💡 Hint 3 of 3
تلميح للحل: استخدم العلاقة \(\cos\theta\) ، \(\cos\theta = \frac{u \cdot v}{\|u\|\|v\|} = \frac{4}{(4)(5)} = \frac{1}{5} = 0.2 \implies \theta = \arccos(0.2)\) لتبسيط الخطوة.

Step 1 · Apply the Parallelogram Law: \[ \|\mathbf{u} + \mathbf{v}\|^2 + \|\mathbf{u} - \mathbf{v}\|^2 = 2\|\mathbf{u}\|^2 + 2\|\mathbf{v}\|^2. \] Substitute known values: \[ 7^2 + \|\mathbf{u} - \mathbf{v}\|^2 = 2(4^2) + 2(5^2) \implies 49 + \|\mathbf{u} - \mathbf{v}\|^2 = 2(16) + 2(25) = 32 + 50 = 82. \] \[ \|\mathbf{u} - \mathbf{v}\|^2 = 82 - 49 = 33 \implies \mathbf{\|\mathbf{u} - \mathbf{v}\| = \sqrt{33}}. \]

Step 2 · Determine the angle \( \theta \):
Using the Polarization Identity: \[ \mathbf{u} \cdot \mathbf{v} = \frac{1}{4}\left( \|\mathbf{u} + \mathbf{v}\|^2 - \|\mathbf{u} - \mathbf{v}\|^2 \right) = \frac{1}{4}(49 - 33) = \frac{16}{4} = 4. \] Now compute \( \cos\theta \): \[ \cos\theta = \frac{\mathbf{u} \cdot \mathbf{v}}{\|\mathbf{u}\|\|\mathbf{v}\|} = \frac{4}{(4)(5)} = \frac{1}{5} = 0.2 \implies \mathbf{\theta = \arccos(0.2) \approx 78.46^\circ}. \]

[Practice 4 · Medium] For \(A=\left[\begin{matrix}-1 & -1\\-3 & -1\end{matrix}\right]\), \(B=\left[\begin{matrix}3 & 4\\2 & -1\end{matrix}\right]\), أوجد row 2 of \(AB\).
💡 Hint 1 of 3
ابدأ بكتابة العلاقة الأساسية: \((AB)_{21}=-3(3)+(-1)(2)=-11\),: \((AB)_{22}\).
💡 Hint 2 of 3
Rewrite and عوّض: \((AB)_{22} = -3(4)+(-1)(-1)\).
💡 Hint 3 of 3
Evaluate \(-3(4)+(-1)(-1)\) to obtain the final answer.
خطوات الحل التفصيلية: \((AB)_{21}=-3(3)+(-1)(2)=-11\), \((AB)_{22}=-3(4)+(-1)(-1)=-11\).
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\) لتبسيط الخطوة.
💡 Hint 3 of 3
وبالتالي، \(\lVert v\rVert = \sqrt{(5)^2 + (-12)^2} = \sqrt{25 + 144}\).
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]\).
  1. (a)2 نقطة
    احسب قيمتي \(f(0)\) و \(f(2)\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يعوّض القيمتين في الدالة (1 نقطة)
    • [A1] يحصل على 1 و 1 (1 نقطة)
  2. (b)2 نقطة
    أوجد المشتقة \(f'(x)\) والنقطة الحرجة \(x_c\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يشتق الدالة التربيعية (1 نقطة)
    • [A1] يحل لإيجاد النقطة الحرجة (1 نقطة)
  3. (c)2 نقطة
    احسب متوسط معدل التغيّر من \(x = 0\) إلى \(x = 2\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يطبّق قانون متوسط معدل التغيّر (1 نقطة)
    • [A1] يبسّط الناتج إلى 0 (1 نقطة)
الحل الكامل التفصيلي
(أ) \(f(0)=1\) و \(f(2)=1\). (ب) \(f'(x)=4x-4\). (ج) متوسط معدل التغيّر يساوي \(0\).
📝 اختبار الفصل