webmat.dk University Bridge

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

ML & Data Science 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 (Complete: Chapters 1–6 with interactive labs & full proofs).
Bridge Year 1 Core Proofs
Chapter 1: Logic, Proofs & Real Analysis

Quantifiers, proof methods, $\varepsilon$-$\delta$ limits, Taylor series, complex numbers & Euler's formula, integral calculus review, 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, Cartesian vs. spherical coordinates, double & triple integrals, moment of inertia, Divergence/Stokes' Theorems, and Vector Field Lab.

Year 1 Core Proofs
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
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 Complex Numbers, Polar Form & Euler's Formula

Definition & Theorem (Complex Numbers $\mathbb{C}$ & Euler's Formula • Bridge & Year 1 Core) The complex numbers extend $\mathbb{R}$ with the imaginary unit $i$ defined by $i^2 = -1$: $$z = a + bi \in \mathbb{C}, \qquad a = \operatorname{Re}(z),\quad b = \operatorname{Im}(z)$$ • Complex conjugate: $\bar{z} = a - bi$, satisfying $z \cdot \bar{z} = a^2 + b^2 = |z|^2$.
• Modulus & argument: $r = |z| = \sqrt{a^2 + b^2}$ and $\theta = \arg(z)$ (in radians), so $a = r\cos\theta$ and $b = r\sin\theta$.
• Euler's formula (follows directly from the Maclaurin series of $e^{i\theta}$, $\cos\theta$, and $\sin\theta$ in Section 1.4): $$e^{i\theta} = \cos\theta + i\sin\theta \quad \Longrightarrow \quad z = r e^{i\theta} = r(\cos\theta + i\sin\theta)$$ • Products, powers (de Moivre) & roots: $z_1 z_2 = r_1 r_2 e^{i(\theta_1 + \theta_2)}$ and $z^n = r^n e^{i n\theta}$.
Re(z) Im(z) θ z = a + bi = r·e^(iθ) r = |z| z̄ = a − bi = r·e^(−iθ) a = r cos θ b = r sin θ −b
Figure 1.2: Argand diagram (the complex plane). Rectangular form $a + bi$ and polar form $r e^{i\theta}$ represent the exact same point — just like Cartesian and polar coordinates in $\mathbb{R}^2$.
EXAMPLE 1.1 (Complex Powers & Roots) Compute $(1 + i)^8$ and solve $z^3 = 8i$ using Euler's formula
The calculation a) Compute $(1 + i)^8$:
Modulus $r = \sqrt{1^2 + 1^2} = \sqrt{2}$ and argument $\theta = \frac{\pi}{4}$, so $1 + i = \sqrt{2}\,e^{i\pi/4}$: $$(1 + i)^8 = \big(\sqrt{2}\big)^8 e^{i \cdot 8 \cdot \frac{\pi}{4}} = 2^4 e^{i 2\pi} = 16 \cdot 1 = 16$$ b) Solve $z^3 = 8i$:
Since $8i = 8 e^{i\left(\frac{\pi}{2} + 2\pi k\right)}$ ($k \in \mathbb{Z}$), setting $z = r e^{i\theta}$ gives $r^3 = 8 \Rightarrow r = 2$ and $3\theta = \frac{\pi}{2} + 2\pi k$: $$\theta_k = \frac{\pi}{6} + \frac{2\pi k}{3}, \qquad k = 0, 1, 2$$ The three roots are $z_0 = 2e^{i\pi/6} = \sqrt{3} + i$, $\ z_1 = 2e^{i 5\pi/6} = -\sqrt{3} + i$, and $z_2 = 2e^{i 3\pi/2} = -2i$.
Why switch to exponential form? Multiplying $(1 + i)$ by itself 8 times in rectangular form is tedious, whereas in polar form multiplication becomes angle addition and powers become simple exponent multiplication. For $n$-th roots, always include $+2\pi k$ ($k = 0, 1, \dots, n-1$) to capture all $n$ roots spaced evenly around a circle!

1.6 Review of Integral Calculus (Bridge from Level A to University)

Before tackling double and triple integrals in Chapter 4 and Fourier series in Chapter 6, the four core 1D integration techniques must be second nature. Here is a compact bridge from high school to Year 1 calculus:

Technique Formula / Principle When to Use
1. Substitution $\displaystyle \int f(g(x))\,g'(x)\,dx = \int f(u)\,du$ ($u = g(x)$) Composite integrands where the inner derivative appears (up to a constant) as a factor.
2. Integration by parts $\displaystyle \int u(x)\,v'(x)\,dx = u(x)v(x) - \int u'(x)v(x)\,dx$ Products like $x e^x$, $x \sin x$, $\ln x$. Choose $u$ via LIATE (Log, Inv. trig, Alg, Trig, Exp).
3. Partial fractions $\displaystyle \frac{P(x)}{(x-a)(x-b)} = \frac{A}{x-a} + \frac{B}{x-b}$ Rational functions (polynomial over polynomial) with $\deg(\text{num}) < \deg(\text{den})$.
4. Improper integrals $\displaystyle \int_a^{\infty} f(x)\,dx := \lim_{b \to \infty} \int_a^b f(x)\,dx$ Unbounded intervals or vertical asymptotes. Note: $\int_1^\infty x^{-p}\,dx$ converges $\iff p > 1$.
EXAMPLE 1.2 (Integration by Parts & Improper Integral) Evaluate the improper integral $\displaystyle \int_0^{\infty} x e^{-x}\,dx$
The calculation Step 1 (Antiderivative via integration by parts): Choose $u(x) = x$ ($u' = 1$) and $v'(x) = e^{-x}$ ($v = -e^{-x}$): $$\int x e^{-x}\,dx = -x e^{-x} - \int (-e^{-x})\,dx = -x e^{-x} - e^{-x} = -(x + 1)e^{-x}$$ Step 2 (Take the limit as $b \to \infty$): $$\int_0^{\infty} x e^{-x}\,dx = \lim_{b \to \infty} \Big[-(x + 1)e^{-x}\Big]_0^b = \lim_{b \to \infty} \left(-\frac{b + 1}{e^b} + 1\right) = 0 + 1 = 1$$
Why this integral shows up everywhere The exponential $e^b$ outgrows any polynomial $b+1$, so $\frac{b+1}{e^b} \to 0$. In probability and analysis, this is the mean of the unit exponential distribution and the Gamma function value $\Gamma(2) = 1! = 1$.

1.7 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$.
Bridge • Complex numbers

Exercise 1.4: Write $z = 1 + i\sqrt{3}$ in exponential form $r e^{i\theta}$, and compute $z^6$.

Hint: Compute $r = \sqrt{1^2 + (\sqrt{3})^2} = 2$ and $\theta = \arctan(\sqrt{3}) = \frac{\pi}{3}$, then use $(r e^{i\theta})^6 = r^6 e^{i 6\theta}$.
Full solution: $z = 2e^{i\pi/3} \implies z^6 = 2^6 e^{i \cdot 6 \cdot \frac{\pi}{3}} = 64 e^{i 2\pi} = 64$.
Year 1 Core • Integral calculus review

Exercise 1.5: Compute a) $\displaystyle \int x e^{2x}\,dx$ via integration by parts, and b) the improper integral $\displaystyle \int_1^{\infty} \frac{1}{x^2}\,dx$.

Hint: a) Choose $u = x$ and $v' = e^{2x} \Rightarrow v = \frac{1}{2}e^{2x}$. b) Evaluate $\lim_{b \to \infty} \Big[-\frac{1}{x}\Big]_1^b$.
Full solution:
a) $\int x e^{2x}\,dx = \frac{1}{2}x e^{2x} - \int \frac{1}{2}e^{2x}\,dx = \left(\frac{1}{2}x - \frac{1}{4}\right)e^{2x} + C$.
b) $\int_1^{\infty} x^{-2}\,dx = \lim_{b \to \infty} \left(-\frac{1}{b} - (-1)\right) = 1$.

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 Cartesian, Cylindrical & Spherical Coordinates

In $\mathbb{R}^3$, Cartesian coordinates $(x, y, z)$ are ideal for boxes and planes, but when a solid is round (a cylinder, cone, or sphere), Cartesian integration limits fill up with square roots $\sqrt{R^2 - x^2 - y^2}$. Switching to cylindrical or spherical coordinates turns those limits into simple constants — at the small price of multiplying by the Jacobian volume factor $|\det J_\Phi|$!

Cartesian coordinates (x, y, z) z y x P(x, y, z) Volume element: dV = dx dy dz Spherical coordinates (ρ, φ, θ) z y x P(ρ, φ, θ) φ θ ρ r = ρ sin φ Volume element: dV = ρ² sin φ dρ dφ dθ
Figure 4.1: Cartesian coordinates $(x, y, z)$ partition space into boxes, while spherical coordinates $(\rho, \phi, \theta)$ measure distance $\rho$ from the origin, polar angle $\phi \in [0, \pi]$ from the $+z$-axis, and azimuth $\theta \in [0, 2\pi]$ in the $xy$-plane.
Coordinate System Conversion to $(x, y, z)$ Area / Volume Element Best Suited For
Cartesian
$(x, y, z)$
$x = x,\quad y = y,\quad z = z$ $dA = dx\,dy$
$dV = dx\,dy\,dz$
Boxes, prisms, planar regions
Polar / Cylindrical
$(r, \theta, z)$
$x = r\cos\theta,\quad y = r\sin\theta,\quad z = z$$r \ge 0,\ \theta \in [0, 2\pi]$ $dA = r\,dr\,d\theta$
$dV = r\,dr\,d\theta\,dz$
Disks, cylinders, paraboloids
Spherical
$(\rho, \phi, \theta)$
$x = \rho\sin\phi\cos\theta,\quad y = \rho\sin\phi\sin\theta,\quad z = \rho\cos\phi$$\rho \ge 0,\ \phi \in [0, \pi],\ \theta \in [0, 2\pi]$ $dV = \rho^2\sin\phi\,d\rho\,d\phi\,d\theta$ Spheres, hemispheres, cones about the $z$-axis

4.5 Double Integrals & Triple Integrals

Theorem (Fubini's Theorem & Change of Variables • Year 1 Core) • Double integral: For a continuous function $f(x, y)$ over $D = \{(x, y) \mid a \le x \le b,\ g_1(x) \le y \le g_2(x)\}$, we evaluate as an iterated integral (inside out): $$\iint_D f(x, y)\,dA = \int_a^b \left(\int_{g_1(x)}^{g_2(x)} f(x, y)\,dy\right) dx$$ Under a smooth bijection $\Phi(u, v) = (x, y)$, area scales by $|\det J_\Phi|$: $\iint_{\Phi(R)} f\,dx\,dy = \iint_R f(\Phi(u, v))\,|\det J_\Phi|\,du\,dv$.
• Triple integral: Over a 3D solid $V$ with mass density $\delta(x, y, z)$, total mass is $M = \iiint_V \delta(x, y, z)\,dV$ and volume is $\operatorname{Vol}(V) = \iiint_V 1\,dV$.
EXAMPLE 4.1 (Double Integral in Polar Coordinates) Evaluate $\displaystyle \iint_D (x^2 + y^2)\,dA$ over the upper half-disk $x^2 + y^2 \le R^2,\ y \ge 0$
The calculation In polar coordinates, the half-disk is simply $0 \le r \le R$ and $0 \le \theta \le \pi$, with $x^2 + y^2 = r^2$ and $dA = r\,dr\,d\theta$: $$\iint_D (x^2 + y^2)\,dA = \int_0^{\pi} \int_0^R r^2 \cdot r\,dr\,d\theta = \left(\int_0^{\pi} 1\,d\theta\right)\left(\int_0^R r^3\,dr\right)$$ $$= \pi \cdot \Big[\frac{1}{4}r^4\Big]_0^R = \frac{\pi R^4}{4}$$
Why polar coordinates win here In Cartesian coordinates, the $y$-limits would be $[0, \sqrt{R^2 - x^2}]$. In polar coordinates, all limits are constants and the integrand separates into a $\theta$-factor and an $r$-factor! (Never forget the Jacobian factor $r$ in $dA = r\,dr\,d\theta$.)
EXAMPLE 4.2 (Triple Integral in Spherical Coordinates) Deriving the volume of a sphere $V = \frac{4}{3}\pi R^3$ via a triple integral
The calculation A solid ball $K$ of radius $R$ centered at the origin is described in spherical coordinates by $0 \le \rho \le R$, $0 \le \phi \le \pi$, and $0 \le \theta \le 2\pi$: $$\operatorname{Vol}(K) = \iiint_K 1\,dV = \int_0^{2\pi} \int_0^{\pi} \int_0^R \rho^2 \sin\phi\,d\rho\,d\phi\,d\theta$$ $$= \left(\int_0^{2\pi} d\theta\right)\left(\int_0^{\pi} \sin\phi\,d\phi\right)\left(\int_0^R \rho^2\,d\rho\right) = (2\pi) \cdot \Big[-\cos\phi\Big]_0^{\pi} \cdot \Big[\frac{\rho^3}{3}\Big]_0^R$$ $$= 2\pi \cdot (1 - (-1)) \cdot \frac{R^3}{3} = \frac{4}{3}\pi R^3$$
Geometric check on the limits Notice that $\phi$ only runs from $0$ (north pole) to $\pi$ (south pole), while $\theta$ sweeps a full $2\pi$ around the equator. Running $\phi$ to $2\pi$ would double-count the sphere!

4.6 Moment of Inertia (Physics Application of Multiple Integrals)

Definition (Moment of Inertia for Laminas & 3D Solids • Year 1 Core) A body's moment of inertia $I$ about a rotation axis measures its resistance to angular acceleration (the rotational analog of mass $M$ in $E_{\text{rot}} = \frac{1}{2}I\omega^2$). Each mass element $dm$ is weighted by the square of its perpendicular distance $r_\perp$ to the axis:
• 2D lamina with surface density $\sigma(x, y)$ about the $z$-axis: $$I_z = \iint_D r_\perp^2\,\sigma(x, y)\,dA = \iint_D (x^2 + y^2)\,\sigma(x, y)\,dA$$ • 3D solid with volume density $\delta(x, y, z)$ about the $z$-axis: $$I_z = \iiint_V (x^2 + y^2)\,\delta(x, y, z)\,dV$$ Key identity in spherical coordinates: The perpendicular distance to the $z$-axis is $r_\perp = \rho\sin\phi$, so $x^2 + y^2 = \rho^2\sin^2\phi$!
EXAMPLE 4.3 (Moment of Inertia of a Solid Cylinder & Solid Sphere) Deriving $I_z = \frac{1}{2}MR^2$ (cylinder) and $I_z = \frac{2}{5}MR^2$ (sphere)
The calculation a) Uniform solid disk / cylinder (mass $M$, radius $R$, height $H$, constant density $\delta = \frac{M}{\pi R^2 H}$):
In cylindrical coordinates, $r_\perp^2 = r^2$ and $dV = r\,dr\,d\theta\,dz$: $$I_z = \delta \int_0^H \int_0^{2\pi} \int_0^R r^2 \cdot r\,dr\,d\theta\,dz = \delta \cdot H \cdot 2\pi \cdot \frac{R^4}{4} = \frac{M}{\pi R^2 H} \cdot \frac{\pi H R^4}{2} = \frac{1}{2}MR^2$$ b) Uniform solid sphere (mass $M$, radius $R$, constant density $\delta = \frac{M}{\frac{4}{3}\pi R^3}$):
In spherical coordinates, $r_\perp^2 = \rho^2\sin^2\phi$ and $dV = \rho^2\sin\phi\,d\rho\,d\phi\,d\theta$: $$I_z = \delta \int_0^{2\pi} \int_0^{\pi} \int_0^R (\rho^2\sin^2\phi)\cdot \rho^2\sin\phi\,d\rho\,d\phi\,d\theta = \delta (2\pi) \left(\int_0^{\pi} \sin^3\phi\,d\phi\right) \left(\int_0^R \rho^4\,d\rho\right)$$ Using $\sin^3\phi = (1 - \cos^2\phi)\sin\phi$ ($u = \cos\phi$) gives $\int_0^{\pi} \sin^3\phi\,d\phi = \Big[-u + \frac{u^3}{3}\Big]_{1}^{-1} = \frac{4}{3}$: $$I_z = \frac{3M}{4\pi R^3} \cdot 2\pi \cdot \frac{4}{3} \cdot \frac{R^5}{5} = \frac{2}{5}MR^2$$
Physical intuition: Why does a sphere roll faster than a cylinder? Because $\frac{2}{5} = 0.40 < \frac{1}{2} = 0.50$, a solid sphere concentrates more of its mass closer to the rotation axis than a solid cylinder of equal mass and radius. Thus the sphere puts less kinetic energy into spinning — and always wins a race down an incline!

4.7 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.8 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$.
Year 1 Core • Double Integral (Cartesian)

Exercise 4.3: Evaluate the double integral $\displaystyle \iint_D 6xy\,dA$ over the triangle $D = \{(x, y) \mid 0 \le x \le 1,\ 0 \le y \le x\}$.

Hint: Integrate first with respect to $y$ from $0$ to $x$ (treating $x$ as constant), then integrate the result with respect to $x$ from $0$ to $1$.
Full solution: $\int_0^1 \left(\int_0^x 6xy\,dy\right)dx = \int_0^1 \Big[3xy^2\Big]_0^x dx = \int_0^1 3x^3\,dx = \Big[\frac{3}{4}x^4\Big]_0^1 = \frac{3}{4}$.
Year 1 Core • Triple Integral (Spherical Coordinates)

Exercise 4.4: A solid hemisphere $H$ of radius $R = 2$ ($z \ge 0$) has volume density $\delta(\rho) = \rho$ (densest near the outer shell). Find its total mass $M = \iiint_H \rho\,dV$.

Hint: For the upper hemisphere ($z \ge 0$), $0 \le \rho \le 2$, $0 \le \phi \le \frac{\pi}{2}$, and $0 \le \theta \le 2\pi$, with $\rho \cdot dV = \rho^3 \sin\phi\,d\rho\,d\phi\,d\theta$.
Full solution: $M = \left(\int_0^{2\pi} d\theta\right)\left(\int_0^{\pi/2} \sin\phi\,d\phi\right)\left(\int_0^2 \rho^3\,d\rho\right) = (2\pi)(1)\left(\frac{2^4}{4}\right) = 8\pi$.
Year 1 Core • Moment of Inertia

Exercise 4.5: A uniform annular disk (surface density $\sigma = 1$) lies between radii $r = 1$ and $r = 2$ in the $xy$-plane. Compute its moment of inertia $I_z = \iint_D (x^2 + y^2)\,dA$ about the $z$-axis.

Hint: Switch to polar coordinates with $1 \le r \le 2$ and $0 \le \theta \le 2\pi$, giving $I_z = \int_0^{2\pi} \int_1^2 r^3\,dr\,d\theta$.
Full solution: $I_z = 2\pi \cdot \Big[\frac{1}{4}r^4\Big]_1^2 = 2\pi \cdot \frac{16 - 1}{4} = \frac{15\pi}{2}$.

Chapter 5: ODE Systems & Dynamical Systems

Year 1 Core: 2nd-Order ODEs & $\vec{x}' = A\vec{x}$ Honors: Matrix Exponential $e^{At}$ & Phase Stability

5.1 Second-Order Linear ODEs & Oscillators

Theorem (Constant-Coefficient Homogeneous ODE • Year 1 Core) For $ay'' + by' + cy = 0$ ($a \neq 0$), form the characteristic equation $ar^2 + br + c = 0$ with discriminant $\Delta = b^2 - 4ac$:
• $\Delta > 0$ (Overdamped, two real roots $r_1 \neq r_2$): $y(t) = c_1 e^{r_1 t} + c_2 e^{r_2 t}$.
• $\Delta = 0$ (Critically damped, double root $r$): $y(t) = (c_1 + c_2 t)e^{rt}$.
• $\Delta < 0$ (Underdamped, complex roots $\alpha \pm i\beta$): $y(t) = e^{\alpha t}\big(c_1 \cos(\beta t) + c_2 \sin(\beta t)\big)$.

5.2 Coupled Linear Systems $\vec{x}' = A\vec{x}$ & the Matrix Exponential

Definition & Theorem (Matrix Exponential $e^{At}$ • Year 1 Core & Honors) Any $n$-th order scalar ODE can be rewritten as a first-order system $\vec{x}'(t) = A\vec{x}(t)$ with initial condition $\vec{x}(0) = \vec{x}_0$. Its unique solution is given by the matrix exponential: $$\vec{x}(t) = e^{At}\vec{x}_0, \qquad e^{At} := \sum_{k=0}^{\infty} \frac{t^k}{k!} A^k = I + tA + \frac{t^2}{2!}A^2 + \cdots$$ When $A = P D P^{-1}$ is diagonalizable with $D = \operatorname{diag}(\lambda_1, \dots, \lambda_n)$, we obtain $e^{At} = P \operatorname{diag}(e^{\lambda_1 t}, \dots, e^{\lambda_n t}) P^{-1}$.

5.3 Eigenbasis Solution & Trace-Determinant Stability (Proof)

UNIVERSITY EXAM PROOF (Year 1 Core & Honors) Solving $\vec{x}' = A\vec{x}$ via eigenbasis & classifying equilibrium stability
The proof (for diagonalizable $A = PDP^{-1}$) Step 1 (Change to eigenbasis coordinates): Let $\vec{x}(t) = P\vec{y}(t)$, where the columns of $P$ are linearly independent eigenvectors $\vec{v}_1, \dots, \vec{v}_n$ of $A$. Substituting into $\vec{x}' = A\vec{x}$ gives: $$P\vec{y}'(t) = A P \vec{y}(t) \;\Longleftrightarrow\; \vec{y}'(t) = P^{-1}AP\,\vec{y}(t) = D\vec{y}(t)$$ Step 2 (Decoupled scalar ODEs): Since $D = \operatorname{diag}(\lambda_1, \dots, \lambda_n)$, each component satisfies $y_i'(t) = \lambda_i y_i(t)$, whose unique solution is $y_i(t) = c_i e^{\lambda_i t}$.
Step 3 (Transform back): Multiplying by $P$ yields the general solution: $$\vec{x}(t) = P\vec{y}(t) = \sum_{i=1}^{n} c_i e^{\lambda_i t}\,\vec{v}_i$$ Step 4 (2D Trace-Determinant Classification): For a $2 \times 2$ matrix $A$ with $\tau = \operatorname{tr}(A) = \lambda_1 + \lambda_2$, $\delta = \det(A) = \lambda_1\lambda_2$, and $\Delta = \tau^2 - 4\delta$:
• $\delta < 0$: $\lambda_1, \lambda_2$ real with opposite signs $\implies$ Saddle point (unstable).
• $\delta > 0, \Delta > 0$: real eigenvalues of same sign as $\tau$ $\implies$ Stable node ($\tau < 0$) or Unstable node ($\tau > 0$).
• $\delta > 0, \Delta < 0$: complex roots $\frac{\tau}{2} \pm i\frac{\sqrt{-\Delta}}{2}$ $\implies$ Stable spiral ($\tau < 0$), Center ($\tau = 0$), or Unstable spiral ($\tau > 0$). $\blacksquare$
Why diagonalization unifies Linear Algebra & ODEs In standard coordinates, the variables in $\vec{x}' = A\vec{x}$ are tangled together. Switching to the eigenbasis $P$ untangles them into $n$ completely independent 1D exponential equations $y_i' = \lambda_i y_i$!

Interactive Phase Portrait Lab: $\vec{x}' = A\vec{x}$ & Stability Classification

5.4 Exercises for Chapter 5

Year 1 Core • Damped Harmonic Oscillator

Exercise 5.1: Solve the initial value problem $y'' + 4y' + 13y = 0$ with $y(0) = 2$ and $y'(0) = -1$.

Hint: Solve $r^2 + 4r + 13 = 0$ to get $r = -2 \pm 3i$, write $y(t) = e^{-2t}(c_1\cos 3t + c_2\sin 3t)$, and apply $y(0)$ and $y'(0)$.
Full solution:
1. $r = \frac{-4 \pm \sqrt{16 - 52}}{2} = -2 \pm 3i \implies y(t) = e^{-2t}(c_1\cos 3t + c_2\sin 3t)$.
2. $y(0) = c_1 = 2$. Differentiating: $y'(0) = -2c_1 + 3c_2 = -4 + 3c_2 = -1 \implies c_2 = 1$.
3. Solution: $y(t) = e^{-2t}(2\cos 3t + \sin 3t)$ (exponentially decaying oscillation).
Year 1 Core • Linear System $\vec{x}' = A\vec{x}$

Exercise 5.2: Find the general solution and classify the origin for $\vec{x}' = \begin{pmatrix} 1 & 2 \\ 2 & 1 \end{pmatrix}\vec{x}$.

Hint: $\operatorname{tr}(A) = 2$, $\det(A) = -3$, so $\lambda^2 - 2\lambda - 3 = 0 \implies \lambda_1 = 3, \lambda_2 = -1$.
Full solution:
Eigenvalues $\lambda_1 = 3$ with $\vec{v}_1 = \begin{pmatrix} 1 \\ 1 \end{pmatrix}$ and $\lambda_2 = -1$ with $\vec{v}_2 = \begin{pmatrix} 1 \\ -1 \end{pmatrix}$.
General solution: $\vec{x}(t) = c_1 e^{3t}\begin{pmatrix} 1 \\ 1 \end{pmatrix} + c_2 e^{-t}\begin{pmatrix} 1 \\ -1 \end{pmatrix}$. Since $\det(A) = -3 < 0$, the origin is an unstable saddle point.

Chapter 6: Metric Spaces, Functional Analysis & Smooth Manifolds

Honors / Proofs: Banach & Hilbert Spaces Fourier Analysis in $L^2$ & Differential Geometry

6.1 Metric Spaces, Norms & $L^p$ Geometry

Definition (Metric, Norm & $L^p$ Norms • Honors) A norm $\|\cdot\|$ on a vector space $V$ satisfies positivity ($\|v\| \ge 0$, $=0 \iff v=0$), homogeneity ($\|\alpha v\| = |\alpha|\|v\|$), and the triangle inequality ($\|u + v\| \le \|u\| + \|v\|$). Every norm induces a metric $d(u, v) = \|u - v\|$.
On $\mathbb{R}^n$, the $\ell^p$ norms ($p \ge 1$) are: $$\|\vec{x}\|_p = \left(\sum_{i=1}^{n} |x_i|^p\right)^{1/p}, \qquad \|\vec{x}\|_\infty = \max_{1 \le i \le n} |x_i|$$ • $p = 1$: Manhattan (taxicab) norm (diamond unit ball; promotes sparsity in ML).
• $p = 2$: Euclidean norm (round circle; the only $p$ induced by an inner product).
• $p = \infty$: Supremum norm (square unit ball).

6.2 Completeness, Banach Spaces & Hilbert Spaces

Definition (Cauchy Sequence, Banach & Hilbert Space • Honors) A sequence $(x_n)$ is Cauchy if $\forall \varepsilon > 0,\ \exists N$ such that $m, n \ge N \implies d(x_m, x_n) < \varepsilon$. A metric space is complete if every Cauchy sequence converges to a limit inside the space.
• Banach space: A complete normed vector space (e.g. $C([a, b])$ with $\|f\|_\infty$).
• Hilbert space: A complete inner product space $\mathcal{H}$ with $\|f\| = \sqrt{\langle f, f \rangle}$ (e.g. $L^2[-\pi, \pi]$ with $\langle f, g \rangle = \int_{-\pi}^{\pi} f(x)g(x)\,dx$).
• Bounded linear operator: $T: V \to W$ is continuous $\iff$ bounded: $\|T\| = \sup_{\|v\|=1} \|Tv\| < \infty$.

6.3 The Cauchy-Schwarz Inequality (Full Proof)

UNIVERSITY EXAM PROOF (Honors & Functional Analysis) Theorem: $|\langle u, v \rangle| \le \|u\|\,\|v\|$ in any real inner product space
The proof (using a non-negative quadratic in $t \in \mathbb{R}$) Case 1 ($v = 0$): Both sides equal $0$, so the inequality holds trivially.
Case 2 ($v \neq 0$): For every scalar $t \in \mathbb{R}$, positivity of the inner product guarantees: $$0 \le \|u - tv\|^2 = \langle u - tv,\ u - tv \rangle = \|u\|^2 - 2t\langle u, v \rangle + t^2\|v\|^2$$ This is a quadratic polynomial $q(t) = a t^2 + b t + c \ge 0$ with $a = \|v\|^2 > 0$, $b = -2\langle u, v \rangle$, and $c = \|u\|^2$.
Since $q(t) \ge 0$ for all $t \in \mathbb{R}$, its discriminant cannot be strictly positive ($b^2 - 4ac \le 0$): $$4\langle u, v \rangle^2 - 4\|v\|^2\|u\|^2 \le 0 \;\Longleftrightarrow\; \langle u, v \rangle^2 \le \|u\|^2\|v\|^2$$ Taking square roots of both sides yields $|\langle u, v \rangle| \le \|u\|\,\|v\|$, with equality iff $u$ and $v$ are linearly dependent. $\blacksquare$
Why this 4-line proof is universal Notice that we never used coordinates! The exact same proof works in $\mathbb{R}^n$, in $L^2[-\pi, \pi]$ (giving $\left|\int f g\right| \le \sqrt{\int f^2}\sqrt{\int g^2}$), and in quantum Hilbert spaces (where it yields the Heisenberg Uncertainty Principle).

6.4 Fourier Series in $L^2[-\pi, \pi]$

Theorem (Orthogonal Fourier Expansion • Honors) In $L^2[-\pi, \pi]$, the functions $\{1, \cos(nx), \sin(nx)\}_{n=1}^{\infty}$ form a complete orthogonal basis. Any $2\pi$-periodic square-integrable function $f$ expands as: $$f(x) \sim \frac{a_0}{2} + \sum_{n=1}^{\infty} \big(a_n \cos(nx) + b_n \sin(nx)\big)$$ where $a_n = \frac{1}{\pi}\int_{-\pi}^{\pi} f(x)\cos(nx)\,dx$ and $b_n = \frac{1}{\pi}\int_{-\pi}^{\pi} f(x)\sin(nx)\,dx$ are simply orthogonal projections of $f$ onto each harmonic!

6.5 Introduction to Smooth Manifolds & Tangent Spaces

Definition (Topological & Smooth $n$-Manifold • Honors) An $n$-dimensional smooth manifold $M$ is a space that locally looks like Euclidean space $\mathbb{R}^n$:
• Chart: A homeomorphism $\varphi_\alpha: U_\alpha \to V_\alpha \subseteq \mathbb{R}^n$ mapping an open patch $U_\alpha \subseteq M$ to flat coordinates.
• Smooth atlas: Whenever two patches overlap ($U_\alpha \cap U_\beta \neq \emptyset$), the transition map $\varphi_\beta \circ \varphi_\alpha^{-1}$ is infinitely differentiable ($C^\infty$).
• Tangent space $T_p M$: The $n$-dimensional vector space of velocity vectors $\gamma'(0)$ of smooth curves $\gamma: (-\varepsilon, \varepsilon) \to M$ passing through $p = \gamma(0)$. For an embedded surface $g(x,y,z) = c$, $T_p M = (\nabla g(p))^\perp$.

Interactive Lab 6A: $L^p$ Unit Ball Morphing ($\|\vec{x}\|_p = 1$)

Interactive Lab 6B: Fourier Series Synthesizer in $L^2[-\pi, \pi]$

6.6 Exercises for Chapter 6

Honors • $L^p$ Norms

Exercise 6.1: For $\vec{x} = (3, -4)^T \in \mathbb{R}^2$, compute $\|\vec{x}\|_1$, $\|\vec{x}\|_2$, and $\|\vec{x}\|_\infty$, and verify $\|\vec{x}\|_\infty \le \|\vec{x}\|_2 \le \|\vec{x}\|_1$.

Hint: $\|\vec{x}\|_1 = |3| + |-4|$, $\|\vec{x}\|_2 = \sqrt{3^2 + (-4)^2}$, and $\|\vec{x}\|_\infty = \max(|3|, |-4|)$.
Full solution: $\|\vec{x}\|_1 = 7$, $\|\vec{x}\|_2 = 5$, $\|\vec{x}\|_\infty = 4$. Indeed $4 \le 5 \le 7$.
Honors • Orthogonality in $L^2[-\pi, \pi]$

Exercise 6.2: Show that $\sin(x)$ and $\cos(x)$ are orthogonal in $L^2[-\pi, \pi]$ under $\langle f, g \rangle = \int_{-\pi}^{\pi} f(x)g(x)\,dx$.

Hint: Notice that $h(x) = \sin(x)\cos(x) = \frac{1}{2}\sin(2x)$ is an odd function integrated over the symmetric interval $[-\pi, \pi]$.
Full proof: $\langle \sin, \cos \rangle = \int_{-\pi}^{\pi} \frac{1}{2}\sin(2x)\,dx = \Big[-\frac{1}{4}\cos(2x)\Big]_{-\pi}^{\pi} = -\frac{1}{4}(1 - 1) = 0$. $\blacksquare$

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 ($\nabla f = \lambda \nabla g$) via constrained curve & chain rule
Chapter 5Eigenbasis solution of $\vec{x}' = A\vec{x}$ & trace-determinant phase stability
Chapter 6Cauchy-Schwarz Inequality ($|\langle u, v \rangle| \le \|u\|\|v\|$) in inner product spaces

Interactive University Drill Trainer

Randomized Year 1 Drills with Instant Feedback & Solutions

Correct streak: 0