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.
Geometric action of vectors and linear mappings transforming basis grid cells into parallelograms.
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} \) for all \( \mathbf{u}, \mathbf{v} \in \mathbb{R}^n \)
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
Problem. 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)
Problem. Consider the vector \( \mathbf{v} = \begin{pmatrix} 5 \\ -12 \end{pmatrix} \). Calculate the magnitude of \( \mathbf{v} \), denoted as \( \lVert\mathbf{v}\rVert \).
▸ Show step-by-step solution
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)
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 (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
Solve \(k + 6 = 0\) to determine \(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 \]
● Corollary 1.2 · The Triangle Inequality in \( \mathbb{R}^n \)
\(u\), \(v\), their dot product, and the Cauchy-Schwarz bound \(|u||v|\)
quantity
value
norm
Drag to rotate, scroll to zoom · loads a small 3D library on first use
\(u \cdot v\)\(4.023\)
\(|u| |v|\) (bound)\(5.000\)
\(u = \langle 1, 2\rangle\) is fixed; \(v\) keeps the same length as Worked example 1.B's \(v = \langle 2, 1\rangle (|v| = \sqrt{5})\) but rotates freely. Drag near \(\theta \approx 63.43^\circ\) and observe \(u \cdot v\) approach the bound \(|u||v| = 5\), the equality case in Cauchy-Schwarz where the vectors are parallel.
Orthogonal vectors \( \mathbf{u} = \langle 3, 2 \rangle \) and \( \mathbf{v} = \langle -2, 3 \rangle \) in \( \mathbb{R}^2 \). Their dot product \( \mathbf{u} \cdot \mathbf{v} = 3(-2) + 2(3) = 0 \) confirms that the angle between them is \( 90^\circ \) and their directions are perpendicular.
Level 2 (Medium) — Worked Example · Orthogonal Projection & Vector Decomposition
Problem. 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.
⚠️ Common Traps & University Pitfalls · Vectors 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}\)
Problem. 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 \).
▸ Show step-by-step solution
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
For the given vector \( \mathbf{v} = \begin{pmatrix} 5 \\ -12 \end{pmatrix} \), we have \( x=5 \) and \( 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 \).
Vectors in \( \mathbb{R}^n \) & Inner Product Spaces — 6-Mark Structured Problem
6 pts
No Calculator
For Vectors in \( \mathbb{R}^n \) & Inner Product Spaces, examine the quadratic-rate model \(f(x) = 2x^2 - 4x + 1\) on \(x \in [0, 3]\).
(a)2 pts
Compute \(f(0)\) and \(f(2)\).
Scoring Guideline & Justification
[M1]Substitutes x=0 and x=2(1 pt)
[A1]Obtains 1 and 1(1 pt)
(b)2 pts
Find the derivative/rate \(f'(x)\) and critical point \(x_c\).
Scoring Guideline & Justification
[M1]Differentiates to 4x - 4(1 pt)
[A1]Solves x_c = 4/4(1 pt)
(c)2 pts
Calculate the average rate of change from \(x = 0\) to \(x = 2\).