webmat.dk University Bridge

Pre-Bachelor & Year 1 Mathematics (Analysis, Linear Algebra & Manifolds) • By Mads Frederik Toft

High School (EN) Dansk (DA)

Welcome to webmat.dk — University Bridge Mathematics

This pre-bachelor and first-year university textbook bridges the gap between upper-secondary mathematics (STX Level A / A-Levels / AP Calculus) and rigorous university courses in Real Analysis, Linear Algebra, Vector Calculus, Dynamical Systems, and Functional Analysis & Manifolds.

Bridge Track

Level A → Uni

Connects high school derivatives, integrals, and 2D/3D vectors directly to formal proof writing, $\varepsilon$-$\delta$ definitions, and matrix algebra in $\mathbb{R}^n$.

Year 1 Core

Calculus & LinAlg

Covers the backbone of university Year 1: Taylor series, vector spaces, Rank-Nullity, eigenvalues, Jacobians, Lagrange multipliers, and linear ODE systems.

Honors / Proofs

Analysis & Manifolds

Full theorem-proof rigor: completeness, Spectral Theorem, Stokes' Theorem, Banach & Hilbert spaces, Fourier analysis in $L^2$, and smooth manifolds.

What Changes Between High School Level A and University Math? 1. From computation to proof: In high school you mostly compute answers ($f'(2) = 8$). At university, you prove when and why a statement holds for every element in a space.
2. From $\mathbb{R}^2/\mathbb{R}^3$ to abstract spaces: A "vector" is no longer just an arrow — polynomials, continuous functions, and matrices all obey the exact same vector space axioms.
3. From formulas to structure: Linearity, orthogonality, and completeness unify calculus, differential equations, Fourier series, and machine learning.

6-Chapter University Bridge Syllabus

Showing all 6 chapters (Stage 2 live: Chapters 1–4 complete with interactive labs).
Bridge Year 1 Core Proofs
Chapter 1: Logic, Proofs & Real Analysis

Quantifiers, contradiction & induction, $\varepsilon$-$\delta$ limits, sequences, convergence tests, Taylor series, and the interactive Taylor Series Lab.

Bridge Year 1 Core Proofs
Chapter 2: Linear Algebra I: Spaces & Maps

Gaussian elimination (RREF), vector spaces, subspaces, basis & dimension, linear maps, Rank-Nullity proof, and the 2D Linear Map Lab.

Year 1 Core Honors
Chapter 3: Linear Algebra II: Eigenvalues & Inner Products

Characteristic polynomial, diagonalization, Gram-Schmidt, orthogonal matrices, Spectral Theorem, and Eigen-Explorer Lab.

Bridge Year 1 Core Proofs
Chapter 4: Multivariable & Vector Calculus

Jacobians, Hessians, Lagrange multipliers, multiple integrals, Divergence & Stokes' Theorems, and 2D Vector Field Lab.

Year 1 Core Stage 3
Chapter 5: ODE Systems & Dynamical Systems

Second-order linear ODEs, systems $\vec{x}' = A\vec{x}$, matrix exponential $e^{At}$, stability & trace-determinant phase portraits.

Honors / Proofs Stage 3
Chapter 6: Metric Spaces, Functional Analysis & Manifolds

$L^p$ norms, Cauchy sequences, Banach & Hilbert spaces, Fourier series in $L^2$, bounded operators, and smooth manifolds.

Chapter 1: Logic, Proofs & Real Analysis

Bridge: From intuition to rigor Year 1 Core: Sequences & Taylor series Honors: $\varepsilon$-$\delta$ analysis

1.1 Quantifiers and the Three Core Proof Methods

Definition (Quantifiers & Negation • Bridge) • Universal quantifier ($\forall$): "For all" — $\forall x \in S,\ P(x)$. Negation: $\neg(\forall x,\ P(x)) \Longleftrightarrow \exists x,\ \neg P(x)$.
• Existential quantifier ($\exists$): "There exists" — $\exists x \in S,\ P(x)$. Negation: $\neg(\exists x,\ P(x)) \Longleftrightarrow \forall x,\ \neg P(x)$.
• Implication ($P \Rightarrow Q$): Equivalent to its contrapositive ($\neg Q \Rightarrow \neg P$), NOT its converse ($Q \Rightarrow P$).
Proof Method Logical Structure When to Use
Direct Proof Assume $P$ holds; deduce $Q$ through a chain of valid implications. Algebraic identities, subspace checks, derivative rules.
Proof by Contradiction Assume $P \land \neg Q$ and derive a contradiction ($R \land \neg R$). Uniqueness, irrationality ($\sqrt{2} \notin \mathbb{Q}$), infinitude of primes.
Mathematical Induction 1) Base case $P(n_0)$. 2) Inductive step: assume $P(k)$ and prove $P(k+1)$. Statements quantified over all integers $n \ge n_0$ (sums, inequalities, $n$-th derivatives).
CLASSIC PROOF (Contradiction) (Bridge & Honors) Theorem: $\sqrt{2}$ is irrational ($\sqrt{2} \notin \mathbb{Q}$)
The proof Step 1 (Assume the negation): Suppose $\sqrt{2} \in \mathbb{Q}$. Then there exist integers $p, q \in \mathbb{Z}$ ($q \neq 0$) with $\gcd(p, q) = 1$ (lowest terms) such that: $$\sqrt{2} = \frac{p}{q} \quad \Longrightarrow \quad p^2 = 2q^2$$ Step 2 (Parity of $p$): Since $p^2 = 2q^2$ is even, $p$ must be even (an odd integer squared is odd). Write $p = 2k$ for some $k \in \mathbb{Z}$.
Step 3 (Parity of $q$): Substituting $p = 2k$ into $p^2 = 2q^2$ gives: $$4k^2 = 2q^2 \quad \Longleftrightarrow \quad q^2 = 2k^2$$ Hence $q^2$ is even, so $q$ is also even.
Step 4 (Contradiction): Both $p$ and $q$ are divisible by $2$, contradicting $\gcd(p, q) = 1$. Therefore $\sqrt{2} \notin \mathbb{Q}$. $\blacksquare$
Why this structure works The hidden engine of the proof is the lowest-terms assumption $\gcd(p, q) = 1$. Without it, showing $p$ and $q$ are both even would not produce a contradiction!

1.2 Formal $\varepsilon$-$\delta$ Limits and Continuity

Definition (Limit of a Function • Year 1 Core & Honors) We write $\displaystyle \lim_{x \to x_0} f(x) = L$ if: $$\forall \varepsilon > 0,\ \exists \delta > 0 \text{ such that } \forall x \in \text{Dom}(f):\quad 0 < |x - x_0| < \delta \;\Longrightarrow\; |f(x) - L| < \varepsilon$$ A function $f$ is continuous at $x_0$ if $\lim_{x \to x_0} f(x) = f(x_0)$ (so the $0 <$ restriction is dropped).
x y L + ε L L − ε x₀ − δ x₀ x₀ + δ Tolerance band (ε) Input window (δ)
Figure 1.1: The $\varepsilon$-$\delta$ game: an adversary chooses any $\varepsilon > 0$ (blue band), and you must respond with a $\delta > 0$ (green strip) trapping the graph inside the box.

1.3 Sequences, Series & Convergence Tests

Theorem (Geometric Series & Key Convergence Tests • Year 1 Core) 1. Geometric series: $\displaystyle \sum_{k=0}^{\infty} r^k = \frac{1}{1 - r}$ converges if and only if $|r| < 1$.
2. Divergence test: If $\lim_{k \to \infty} a_k \neq 0$, then $\sum a_k$ diverges. (Warning: $a_k \to 0$ does not guarantee convergence, e.g. the harmonic series $\sum \frac{1}{k}$ diverges!)
3. Ratio test: Let $L = \lim_{k \to \infty} \left|\frac{a_{k+1}}{a_k}\right|$. If $L < 1$, $\sum a_k$ converges absolutely; if $L > 1$, it diverges; if $L = 1$, inconclusive.
4. $p$-series: $\displaystyle \sum_{k=1}^{\infty} \frac{1}{k^p}$ converges if and only if $p > 1$.

1.4 Taylor & Maclaurin Series

Theorem (Taylor's Theorem with Lagrange Remainder • Year 1 Core & Honors) If $f$ is $(n+1)$-times continuously differentiable on an interval containing $a$ and $x$, then: $$f(x) = P_n(x) + R_n(x) = \sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}(x - a)^k + \frac{f^{(n+1)}(\xi)}{(n+1)!}(x - a)^{n+1}$$ for some $\xi$ strictly between $a$ and $x$. When $a = 0$, this is the Maclaurin series.
Function Maclaurin Series ($a = 0$) Radius / Interval of Convergence
$e^x$ $\displaystyle \sum_{k=0}^{\infty} \frac{x^k}{k!} = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots$ All $x \in \mathbb{R}$ ($R = \infty$)
$\sin(x)$ $\displaystyle \sum_{k=0}^{\infty} \frac{(-1)^k x^{2k+1}}{(2k+1)!} = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \cdots$ All $x \in \mathbb{R}$ ($R = \infty$)
$\cos(x)$ $\displaystyle \sum_{k=0}^{\infty} \frac{(-1)^k x^{2k}}{(2k)!} = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \cdots$ All $x \in \mathbb{R}$ ($R = \infty$)
$\ln(1 + x)$ $\displaystyle \sum_{k=1}^{\infty} \frac{(-1)^{k-1} x^k}{k} = x - \frac{x^2}{2} + \frac{x^3}{3} - \cdots$ $-1 < x \le 1$ ($R = 1$)

Interactive Taylor Series Lab: Local Approximation & Remainder $|f(x_0) - P_n(x_0)|$

1.5 Exercises for Chapter 1

Bridge • Induction

Exercise 1.1: Prove by mathematical induction that $\displaystyle \sum_{k=1}^{n} k = \frac{n(n+1)}{2}$ for all integers $n \ge 1$.

Hint: Check $n = 1$. Assume the formula holds for $n = m$, then add $(m+1)$ to both sides and factor out $(m+1)$.
Full proof:
1. Base case ($n = 1$): LHS $= 1$, RHS $= \frac{1(2)}{2} = 1$. Holds.
2. Inductive step: Assume $\sum_{k=1}^{m} k = \frac{m(m+1)}{2}$. Then: $$\sum_{k=1}^{m+1} k = \frac{m(m+1)}{2} + (m+1) = (m+1)\left(\frac{m}{2} + 1\right) = \frac{(m+1)(m+2)}{2}$$ By induction, the formula holds for all $n \ge 1$. $\blacksquare$
Honors • $\varepsilon$-$\delta$ proof

Exercise 1.2: Prove directly from the $\varepsilon$-$\delta$ definition that $\displaystyle \lim_{x \to 3} (4x - 5) = 7$.

Hint: Factor $|(4x - 5) - 7| = 4|x - 3|$, and choose $\delta = \frac{\varepsilon}{4}$.
Full proof: Let $\varepsilon > 0$ be arbitrary, and choose $\delta = \frac{\varepsilon}{4} > 0$. Whenever $0 < |x - 3| < \delta$, we have: $$|(4x - 5) - 7| = |4x - 12| = 4|x - 3| < 4\delta = 4 \cdot \frac{\varepsilon}{4} = \varepsilon \qquad \blacksquare$$
Year 1 Core • Ratio test

Exercise 1.3: Determine the radius of convergence $R$ of the power series $\displaystyle \sum_{k=1}^{\infty} \frac{k^2}{3^k} x^k$.

Hint: Compute $L = \lim_{k \to \infty} \left|\frac{a_{k+1}}{a_k}\right|$ and require $L < 1$.
Full solution: $$L = \lim_{k \to \infty} \left|\frac{(k+1)^2 x^{k+1} / 3^{k+1}}{k^2 x^k / 3^k}\right| = \lim_{k \to \infty} \left(\frac{k+1}{k}\right)^2 \frac{|x|}{3} = \frac{|x|}{3}$$ Convergence requires $\frac{|x|}{3} < 1 \Longleftrightarrow |x| < 3$, so the radius of convergence is $R = 3$.

Chapter 2: Linear Algebra I — Vector Spaces & Linear Maps

Bridge: From $\mathbb{R}^2/\mathbb{R}^3$ to $\mathbb{R}^n$ Year 1 Core: RREF, Basis, Kernel & Image Honors: Rank-Nullity Proof

2.1 Linear Systems & Reduced Row Echelon Form (RREF)

Definition (Elementary Row Operations & Rank • Year 1 Core) A linear system $A\vec{x} = \vec{b}$ is solved without altering its solution set using three elementary row operations: (1) swap two rows, (2) multiply a row by $c \neq 0$, (3) add a multiple of one row to another.
• The number of leading $1$'s (pivot columns) in $\operatorname{RREF}(A)$ is the rank of $A$, denoted $\operatorname{rank}(A)$.
• Columns without pivots correspond to free variables.

2.2 Vector Spaces and Subspaces

Theorem (The Three-Point Subspace Test • Bridge & Core) A subset $U \subseteq V$ of a vector space $V$ over $\mathbb{R}$ is a subspace if and only if:
1. Zero vector: $\vec{0} \in U$.
2. Closed under addition: $\forall \vec{u}, \vec{v} \in U \implies \vec{u} + \vec{v} \in U$.
3. Closed under scalar multiplication: $\forall c \in \mathbb{R},\ \forall \vec{u} \in U \implies c\vec{u} \in U$.

2.3 Linear Independence, Span, Basis & Dimension

Definition (Basis & Dimension • Year 1 Core) Vectors $\{\vec{v}_1, \dots, \vec{v}_k\} \subset V$ are linearly independent if: $$c_1\vec{v}_1 + c_2\vec{v}_2 + \cdots + c_k\vec{v}_k = \vec{0} \;\Longrightarrow\; c_1 = c_2 = \cdots = c_k = 0$$ A set $\mathcal{B} = \{\vec{v}_1, \dots, \vec{v}_n\}$ is a basis of $V$ if it is both linearly independent and spans $V$ ($\operatorname{span}(\mathcal{B}) = V$). Every basis of $V$ has the exact same number of vectors, called the dimension $\dim(V) = n$.

2.4 Linear Transformations, Kernel & Image

Definition (Linear Map, Kernel & Image • Year 1 Core) A map $T: V \to W$ is linear if $T(\alpha \vec{u} + \beta \vec{v}) = \alpha T(\vec{u}) + \beta T(\vec{v})$ for all $\vec{u}, \vec{v} \in V$ and $\alpha, \beta \in \mathbb{R}$. Every linear map $T: \mathbb{R}^n \to \mathbb{R}^m$ is represented by a unique $m \times n$ matrix $A$ via $T(\vec{x}) = A\vec{x}$, whose columns are $T(\vec{e}_1), \dots, T(\vec{e}_n)$.
• Kernel (Null space): $\ker(T) = \{\vec{v} \in V \mid T(\vec{v}) = \vec{0}_W\} \subseteq V$. ($T$ is injective $\iff \ker(T) = \{\vec{0}\}$).
• Image (Column space): $\operatorname{im}(T) = \{T(\vec{v}) \mid \vec{v} \in V\} \subseteq W$. ($T$ is surjective $\iff \operatorname{im}(T) = W$).
Domain V (dim = n) ker(T) (dim = k) Codomain W (dim = m) im(T) (dim = r) 0_W T(v) = Av All of ker(T) collapses to 0_W
Figure 2.1: Every linear map $T: V \to W$ collapses $\ker(T)$ to $\vec{0}_W$ and maps the remaining independent directions bijectively onto $\operatorname{im}(T)$.

2.5 The Rank-Nullity Theorem (Full Proof)

UNIVERSITY EXAM PROOF (Year 1 Core & Honors) Theorem: $\dim(V) = \dim(\ker T) + \dim(\operatorname{im} T)$
The proof (for finite-dimensional $V$ with $\dim V = n$) Step 1 (Basis of $\ker T$): Let $\{\vec{u}_1, \dots, \vec{u}_k\}$ be a basis of $\ker(T)$, so $\dim(\ker T) = k$.
Step 2 (Extend to a basis of $V$): Extend this linearly independent set to a basis of $V$: $$\mathcal{B} = \{\vec{u}_1, \dots, \vec{u}_k,\ \vec{w}_1, \dots, \vec{w}_r\}, \qquad k + r = n$$ We claim that $\mathcal{C} = \{T(\vec{w}_1), \dots, T(\vec{w}_r)\}$ is a basis of $\operatorname{im}(T)$.
Step 3 ($\mathcal{C}$ spans $\operatorname{im} T$): Take any $\vec{y} = T(\vec{v}) \in \operatorname{im}(T)$. Write $\vec{v} = \sum_{i=1}^k a_i \vec{u}_i + \sum_{j=1}^r b_j \vec{w}_j$. By linearity and $T(\vec{u}_i) = \vec{0}$: $$\vec{y} = T(\vec{v}) = \sum_{i=1}^k a_i \underbrace{T(\vec{u}_i)}_{\vec{0}} + \sum_{j=1}^r b_j T(\vec{w}_j) = \sum_{j=1}^r b_j T(\vec{w}_j)$$ Step 4 ($\mathcal{C}$ is linearly independent): Suppose $\sum_{j=1}^r c_j T(\vec{w}_j) = \vec{0}$. By linearity, $T\!\left(\sum_{j=1}^r c_j \vec{w}_j\right) = \vec{0}$, so $\sum_{j=1}^r c_j \vec{w}_j \in \ker(T)$. Thus it can be written in the basis of $\ker(T)$: $$\sum_{j=1}^r c_j \vec{w}_j = \sum_{i=1}^k d_i \vec{u}_i \;\Longleftrightarrow\; \sum_{j=1}^r c_j \vec{w}_j - \sum_{i=1}^k d_i \vec{u}_i = \vec{0}$$ Since $\mathcal{B}$ is linearly independent, all coefficients are $0$; in particular $c_1 = \cdots = c_r = 0$.
Conclusion: $\mathcal{C}$ is a basis of $\operatorname{im}(T)$, so $\dim(\operatorname{im} T) = r$, and $\dim(\ker T) + \dim(\operatorname{im} T) = k + r = n = \dim(V)$. $\blacksquare$
Why this is the fundamental theorem of Linear Algebra I Rank-Nullity is the conservation law of dimensions: every dimension of the domain $V$ either gets crushed into $\ker(T)$ or survives into $\operatorname{im}(T)$. For a square $n \times n$ matrix $A$, it immediately proves that injective $\iff$ surjective $\iff$ invertible ($\det A \neq 0$).

Interactive 2D Linear Map Lab: $T(\vec{x}) = A\vec{x}$ & Grid Deformation

2.6 Exercises for Chapter 2

Bridge • Subspace test

Exercise 2.1: Determine whether $U = \left\{\begin{pmatrix} x \\ y \\ z \end{pmatrix} \in \mathbb{R}^3 \;\middle|\; 2x - y + 3z = 0\right\}$ is a subspace of $\mathbb{R}^3$, and find a basis for $U$.

Hint: Notice $U = \ker(A)$ for $A = \begin{pmatrix} 2 & -1 & 3 \end{pmatrix}$. Solve for $y = 2x + 3z$ with free variables $x, z$.
Full solution: Yes, $U$ is a subspace (it is the kernel of a linear map). Setting $y = 2x + 3z$ gives $\begin{pmatrix} x \\ 2x + 3z \\ z \end{pmatrix} = x\begin{pmatrix} 1 \\ 2 \\ 0 \end{pmatrix} + z\begin{pmatrix} 0 \\ 3 \\ 1 \end{pmatrix}$. Thus $\left\{\begin{pmatrix} 1 \\ 2 \\ 0 \end{pmatrix}, \begin{pmatrix} 0 \\ 3 \\ 1 \end{pmatrix}\right\}$ is a basis, and $\dim(U) = 2$.
Year 1 Core • Kernel, Image & Rank-Nullity

Exercise 2.2: Let $A = \begin{pmatrix} 1 & 2 & 3 \\ 2 & 4 & 6 \end{pmatrix}$. Find bases for $\ker(A)$ and $\operatorname{im}(A)$, and verify the Rank-Nullity Theorem.

Hint: Row-reduce $A$ to $\begin{pmatrix} 1 & 2 & 3 \\ 0 & 0 & 0 \end{pmatrix}$. Pivot column $1$ gives $\operatorname{im}(A)$; free variables $x_2, x_3$ give $\ker(A)$.
Full solution:
• $\operatorname{RREF}(A) = \begin{pmatrix} 1 & 2 & 3 \\ 0 & 0 & 0 \end{pmatrix} \implies \operatorname{rank}(A) = 1$, and $\operatorname{im}(A) = \operatorname{span}\!\left\{\begin{pmatrix} 1 \\ 2 \end{pmatrix}\right\}$.
• $x_1 = -2x_2 - 3x_3 \implies \ker(A) = \operatorname{span}\!\left\{\begin{pmatrix} -2 \\ 1 \\ 0 \end{pmatrix}, \begin{pmatrix} -3 \\ 0 \\ 1 \end{pmatrix}\right\}$, so $\dim(\ker A) = 2$.
• Rank-Nullity check: $\dim(\ker A) + \dim(\operatorname{im} A) = 2 + 1 = 3 = \dim(\mathbb{R}^3)$. $\checkmark$

Chapter 3: Linear Algebra II — Eigenvalues & Inner Products

Year 1 Core: Eigenvalues, Diagonalization & Gram-Schmidt Honors: Spectral Theorem Proof

3.1 Characteristic Polynomial, Eigenvalues & Eigenvectors

Definition (Eigenvalue, Eigenvector & Eigenspace • Year 1 Core) Let $A$ be a square $n \times n$ matrix. A scalar $\lambda$ is an eigenvalue of $A$ if there exists a non-zero vector $\vec{v} \neq \vec{0}$ (an eigenvector) such that: $$A\vec{v} = \lambda \vec{v} \quad \Longleftrightarrow \quad (A - \lambda I)\vec{v} = \vec{0}$$ • Characteristic polynomial: $p(\lambda) = \det(A - \lambda I) = 0$. Its roots are the eigenvalues.
• Eigenspace: $E_\lambda = \ker(A - \lambda I)$.
• Trace & determinant shortcuts: $\operatorname{tr}(A) = \sum_{i=1}^n \lambda_i$ and $\det(A) = \prod_{i=1}^n \lambda_i$. For a $2 \times 2$ matrix, $p(\lambda) = \lambda^2 - \operatorname{tr}(A)\lambda + \det(A)$.

3.2 Diagonalization & Matrix Powers

Theorem (Diagonalization Criterion • Year 1 Core) An $n \times n$ matrix $A$ is diagonalizable — meaning there exist an invertible matrix $P$ and a diagonal matrix $D$ such that $$A = P D P^{-1}$$ if and only if $A$ has $n$ linearly independent eigenvectors (forming the columns of $P$, with corresponding eigenvalues on the diagonal of $D$).
• Matrix powers: $A^k = P D^k P^{-1}$ for every integer $k \ge 1$ (crucial for Markov chains and discrete dynamical systems).

3.3 Inner Products, Gram-Schmidt & Orthogonal Matrices

Theorem (Gram-Schmidt Orthogonalization & Orthogonal Matrices • Year 1 Core) Given any linearly independent basis $\{\vec{v}_1, \dots, \vec{v}_k\}$ of a subspace $U \subseteq \mathbb{R}^n$, we construct an orthogonal basis $\{\vec{u}_1, \dots, \vec{u}_k\}$ recursively by subtracting projections onto previous vectors: $$\vec{u}_1 = \vec{v}_1, \qquad \vec{u}_j = \vec{v}_j - \sum_{i=1}^{j-1} \frac{\vec{v}_j \cdot \vec{u}_i}{|\vec{u}_i|^2}\,\vec{u}_i$$ Normalizing $\vec{q}_j = \frac{\vec{u}_j}{|\vec{u}_j|}$ yields an orthonormal basis. A square matrix $Q$ whose columns are orthonormal satisfies $Q^T Q = I$ (so $Q^{-1} = Q^T$) and preserves all lengths and angles: $|Q\vec{x}| = |\vec{x}|$.

3.4 The Real Spectral Theorem (Key Proofs)

UNIVERSITY EXAM PROOF (Year 1 Core & Honors) Symmetric matrices ($A^T = A$) have orthogonal eigenvectors for distinct eigenvalues
The proof (for real symmetric $A = A^T$) Part 1 (Orthogonality of eigenspaces): Suppose $A\vec{v}_1 = \lambda_1\vec{v}_1$ and $A\vec{v}_2 = \lambda_2\vec{v}_2$ with $\lambda_1 \neq \lambda_2$. Compute $\vec{v}_1^T A \vec{v}_2$ in two ways using $A^T = A$: $$\lambda_2(\vec{v}_1 \cdot \vec{v}_2) = \vec{v}_1^T (A\vec{v}_2) = (A^T \vec{v}_1)^T \vec{v}_2 = (A\vec{v}_1)^T \vec{v}_2 = \lambda_1(\vec{v}_1 \cdot \vec{v}_2)$$ Subtracting the right side from the left gives: $$(\lambda_2 - \lambda_1)(\vec{v}_1 \cdot \vec{v}_2) = 0$$ Since $\lambda_1 \neq \lambda_2$, we must have $\vec{v}_1 \cdot \vec{v}_2 = 0$, i.e. $\vec{v}_1 \perp \vec{v}_2$.

Part 2 (Real eigenvalues): Allowing complex entries ($\vec{v}^* = \overline{\vec{v}}^T$), $A\vec{v} = \lambda\vec{v}$ gives $\lambda |\vec{v}|^2 = \vec{v}^* A \vec{v} = (A\vec{v})^* \vec{v} = \overline{\lambda} |\vec{v}|^2$. Since $|\vec{v}|^2 > 0$, $\lambda = \overline{\lambda}$, so $\lambda \in \mathbb{R}$.

Spectral Theorem: Every real symmetric $n \times n$ matrix $A$ is orthogonally diagonalizable: $A = Q D Q^T$ with $Q^T Q = I$. $\blacksquare$
Why this theorem powers physics & data science Symmetry ($A^T = A$) guarantees two priceless properties simultaneously: all eigenvalues are real, and eigenvectors from distinct eigenspaces are automatically perpendicular. This is the mathematical foundation of Principal Component Analysis (PCA), quantum observables, and principal axes of inertia.

Interactive Eigen-Explorer Lab: Invariant Directions & Image of the Unit Circle

3.5 Exercises for Chapter 3

Year 1 Core • Eigenvalues & Diagonalization

Exercise 3.1: Find the eigenvalues and eigenvectors of $A = \begin{pmatrix} 4 & 1 \\ 2 & 3 \end{pmatrix}$, and write $A = P D P^{-1}$.

Hint: Solve $\det(A - \lambda I) = (4 - \lambda)(3 - \lambda) - 2 = \lambda^2 - 7\lambda + 10 = 0$, then find $\ker(A - \lambda I)$ for each root.
Full solution:
1. $\lambda^2 - 7\lambda + 10 = (\lambda - 5)(\lambda - 2) = 0 \implies \lambda_1 = 5,\ \lambda_2 = 2$.
2. For $\lambda_1 = 5$: $(A - 5I) = \begin{pmatrix} -1 & 1 \\ 2 & -2 \end{pmatrix} \implies \vec{v}_1 = \begin{pmatrix} 1 \\ 1 \end{pmatrix}$.
3. For $\lambda_2 = 2$: $(A - 2I) = \begin{pmatrix} 2 & 1 \\ 2 & 1 \end{pmatrix} \implies \vec{v}_2 = \begin{pmatrix} 1 \\ -2 \end{pmatrix}$.
4. Thus $P = \begin{pmatrix} 1 & 1 \\ 1 & -2 \end{pmatrix}$ and $D = \begin{pmatrix} 5 & 0 \\ 0 & 2 \end{pmatrix}$.
Year 1 Core • Gram-Schmidt

Exercise 3.2: Apply the Gram-Schmidt process to $\vec{v}_1 = \begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix}$ and $\vec{v}_2 = \begin{pmatrix} 1 \\ 0 \\ 1 \end{pmatrix}$ to obtain an orthonormal basis $\{\vec{q}_1, \vec{q}_2\}$.

Hint: Set $\vec{u}_1 = \vec{v}_1$ and $\vec{u}_2 = \vec{v}_2 - \frac{\vec{v}_2 \cdot \vec{u}_1}{|\vec{u}_1|^2}\vec{u}_1$, then divide each by its length.
Full solution:
• $\vec{u}_1 = \begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix}$, $|\vec{u}_1| = \sqrt{2} \implies \vec{q}_1 = \frac{1}{\sqrt{2}}\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix}$.
• $\vec{u}_2 = \begin{pmatrix} 1 \\ 0 \\ 1 \end{pmatrix} - \frac{1}{2}\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix} = \begin{pmatrix} 1/2 \\ -1/2 \\ 1 \end{pmatrix}$, $|\vec{u}_2| = \sqrt{\frac{3}{2}} \implies \vec{q}_2 = \frac{1}{\sqrt{6}}\begin{pmatrix} 1 \\ -1 \\ 2 \end{pmatrix}$.

Chapter 4: Multivariable & Vector Calculus

Bridge: From $\nabla f$ in 2D to $\mathbb{R}^n$ Year 1 Core: Jacobian, Hessian & Lagrange Multipliers Honors: Divergence & Stokes' Theorems

4.1 The Jacobian Matrix & Multivariable Chain Rule

Definition & Theorem (Jacobian & Chain Rule • Bridge & Core) For a differentiable vector-valued map $\vec{f}: \mathbb{R}^n \to \mathbb{R}^m$ with components $(f_1, \dots, f_m)$, its best linear approximation at $\vec{x}_0$ is the $m \times n$ Jacobian matrix: $$J_{\vec{f}}(\vec{x}_0) = D\vec{f}(\vec{x}_0) = \begin{pmatrix} \frac{\partial f_1}{\partial x_1} & \cdots & \frac{\partial f_1}{\partial x_n} \\ \vdots & \ddots & \vdots \\ \frac{\partial f_m}{\partial x_1} & \cdots & \frac{\partial f_m}{\partial x_n} \end{pmatrix}$$ Chain rule: $D(\vec{g} \circ \vec{f})(\vec{x}_0) = D\vec{g}(\vec{f}(\vec{x}_0)) \cdot D\vec{f}(\vec{x}_0)$ (composition of functions becomes matrix multiplication!).

4.2 The Hessian Matrix & Second-Derivative Test

Theorem (Hessian Classification of Stationary Points • Year 1 Core) At a stationary point $(x_0, y_0)$ where $\nabla f(x_0, y_0) = \vec{0}$, form the symmetric Hessian matrix $H_f = \begin{pmatrix} f_{xx} & f_{xy} \\ f_{yx} & f_{yy} \end{pmatrix}$ and its determinant $D = \det(H_f) = f_{xx}f_{yy} - (f_{xy})^2$:
• $D > 0$ and $f_{xx} > 0$: Local minimum (both eigenvalues of $H_f$ positive).
• $D > 0$ and $f_{xx} < 0$: Local maximum (both eigenvalues of $H_f$ negative).
• $D < 0$: Saddle point (eigenvalues have opposite signs).
• $D = 0$: Test is inconclusive (higher-order terms decide).

4.3 Constrained Optimization: Lagrange Multipliers (Proof)

UNIVERSITY EXAM PROOF (Year 1 Core & Honors) Necessary condition for extrema of $f(\vec{x})$ subject to $g(\vec{x}) = c$: $\nabla f(\vec{x}_0) = \lambda \nabla g(\vec{x}_0)$
The proof (for smooth $f, g$ with $\nabla g(\vec{x}_0) \neq \vec{0}$) Step 1 (Curve inside the constraint set): Let $\vec{r}(t)$ be any smooth curve lying entirely on the constraint level set $g(\vec{r}(t)) = c$ with $\vec{r}(0) = \vec{x}_0$.
Step 2 (Differentiate the constraint): By the multivariable chain rule at $t = 0$: $$\frac{d}{dt}\Big|_{t=0} g(\vec{r}(t)) = \nabla g(\vec{x}_0) \cdot \vec{r}'(0) = 0$$ Thus $\nabla g(\vec{x}_0)$ is orthogonal to every tangent vector $\vec{r}'(0)$ of the constraint surface.
Step 3 (Differentiate the objective $h(t) = f(\vec{r}(t))$): Since $\vec{x}_0$ is a constrained extremum, $t = 0$ is an extremum of the 1D function $h(t) = f(\vec{r}(t))$, so $h'(0) = 0$: $$h'(0) = \nabla f(\vec{x}_0) \cdot \vec{r}'(0) = 0$$ Conclusion: Both $\nabla f(\vec{x}_0)$ and $\nabla g(\vec{x}_0)$ are perpendicular to the tangent space of the constraint at $\vec{x}_0$. In 2D (or for a single constraint hypersurface), the normal line is 1-dimensional, so $\nabla f(\vec{x}_0)$ and $\nabla g(\vec{x}_0)$ must be parallel: $$\nabla f(\vec{x}_0) = \lambda \nabla g(\vec{x}_0) \qquad \text{for some } \lambda \in \mathbb{R} \qquad \blacksquare$$
Geometric intuition At a constrained extremum, the contour curve of $f$ must be tangent to the constraint curve $g(x,y) = c$ — otherwise you could slide along the constraint and increase or decrease $f$. Tangent curves share the same normal line, so their gradients are proportional!

4.4 Multiple Integrals & Change of Variables

Theorem (Change of Variables in Multiple Integrals • Year 1 Core) Under a smooth bijection $\Phi(u, v) = (x, y)$, area scales locally by the absolute Jacobian determinant $|\det J_\Phi|$: $$\iint_{\Phi(R)} f(x, y)\,dx\,dy = \iint_R f(\Phi(u, v))\,|\det J_\Phi(u, v)|\,du\,dv$$ • Polar coordinates ($x = r\cos\theta,\ y = r\sin\theta$): $dx\,dy = r\,dr\,d\theta$.
• Spherical coordinates: $dx\,dy\,dz = \rho^2\sin\phi\,d\rho\,d\phi\,d\theta$.

4.5 The Fundamental Theorems of Vector Calculus

Theorem Integral Identity Physical Meaning
Green's Theorem (2D) $\displaystyle \oint_{\partial D} (P\,dx + Q\,dy) = \iint_D \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) dA$ Boundary circulation equals total interior 2D curl (vorticity).
Gauss' Divergence Theorem (3D) $\displaystyle \iint_{\partial V} \vec{F} \cdot d\vec{S} = \iiint_V (\nabla \cdot \vec{F})\,dV$ Net outward flux across a closed surface equals total sources minus sinks inside.
Stokes' Theorem (3D) $\displaystyle \oint_{\partial S} \vec{F} \cdot d\vec{r} = \iint_S (\nabla \times \vec{F}) \cdot d\vec{S}$ Circulation around boundary loop $\partial S$ equals flux of curl through surface $S$.

Interactive 2D Vector Field Lab: Flow, Divergence ($\nabla \cdot \vec{F}$) & 2D Curl

4.6 Exercises for Chapter 4

Year 1 Core • Hessian test

Exercise 4.1: Find and classify all stationary points of $f(x, y) = x^3 - 3xy + y^3$ using the Hessian matrix.

Hint: Solve $f_x = 3x^2 - 3y = 0$ and $f_y = 3y^2 - 3x = 0$ to get $(0,0)$ and $(1,1)$, then compute $D = f_{xx}f_{yy} - f_{xy}^2$.
Full solution:
1. $y = x^2 \implies x^4 - x = 0 \implies x = 0$ or $x = 1$, giving stationary points $(0, 0)$ and $(1, 1)$.
2. $H_f = \begin{pmatrix} 6x & -3 \\ -3 & 6y \end{pmatrix}$, so $D = 36xy - 9$.
• At $(0, 0)$: $D = -9 < 0 \implies$ saddle point.
• At $(1, 1)$: $D = 27 > 0$ and $f_{xx} = 6 > 0 \implies$ local minimum ($f(1,1) = -1$).
Year 1 Core • Lagrange Multipliers

Exercise 4.2: Find the maximum and minimum values of $f(x, y) = xy$ on the circle $x^2 + y^2 = 8$.

Hint: Set $\nabla f = \lambda \nabla g \iff (y, x) = \lambda(2x, 2y)$. Show that $x^2 = y^2$ and substitute into $x^2 + y^2 = 8$.
Full solution:
From $y = 2\lambda x$ and $x = 2\lambda y$, multiplying gives $x^2 = y^2 \implies y = \pm x$. On $x^2 + y^2 = 8$, we get $2x^2 = 8 \implies x = \pm 2$.
• Maximum value $f(2, 2) = f(-2, -2) = 4$.
• Minimum value $f(2, -2) = f(-2, 2) = -4$.

Chapter 5: ODE Systems & Dynamical Systems Stage 3

Scheduled for Stage 3: Second-order linear ODEs, coupled systems $\vec{x}' = A\vec{x}$, matrix exponential $e^{At}$, trace-determinant stability classification, and the interactive Phase Portrait Lab.

Chapter 6: Metric Spaces, Functional Analysis & Manifolds Stage 3

Scheduled for Stage 3: Norms & $L^p$ metrics, Cauchy sequences, Banach & Hilbert spaces, Fourier series in $L^2$, bounded linear operators, smooth manifolds & tangent spaces, and the interactive $L^p$ Unit Ball & Fourier Lab.

University Bridge — Proof & Theorem Index

Chapter Theorem / Proof Shortcut
Chapter 1Irrationality of $\sqrt{2}$ (Proof by contradiction)
Chapter 1$\varepsilon$-$\delta$ limit definition & Taylor's Theorem with remainder
Chapter 2Rank-Nullity Theorem ($\dim V = \dim \ker T + \dim \operatorname{im} T$)
Chapter 3Spectral Theorem: Symmetric matrices have real eigenvalues & orthogonal eigenvectors
Chapter 4Lagrange Multipliers ($ abla f = \lambda abla g$) via constrained curve & chain rule
Chapters 5–6ODE Phase Stability & Cauchy-Schwarz Inequality in Hilbert SpacesStage 3