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 → UniConnects 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 & LinAlgCovers the backbone of university Year 1: Taylor series, vector spaces, Rank-Nullity, eigenvalues, Jacobians, Lagrange multipliers, and linear ODE systems.
Honors / Proofs
Analysis & ManifoldsFull theorem-proof rigor: completeness, Spectral Theorem, Stokes' Theorem, Banach & Hilbert spaces, Fourier analysis in $L^2$, and smooth manifolds.
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
Quantifiers, contradiction & induction, $\varepsilon$-$\delta$ limits, sequences, convergence tests, Taylor series, and the interactive Taylor Series Lab.
Gaussian elimination (RREF), vector spaces, subspaces, basis & dimension, linear maps, Rank-Nullity proof, and the 2D Linear Map Lab.
Characteristic polynomial, diagonalization, Gram-Schmidt, orthogonal matrices, Spectral Theorem, and Eigen-Explorer Lab.
Jacobians, Hessians, Lagrange multipliers, multiple integrals, Divergence & Stokes' Theorems, and 2D Vector Field Lab.
Second-order linear ODEs, systems $\vec{x}' = A\vec{x}$, matrix exponential $e^{At}$, stability & trace-determinant phase portraits.
$L^p$ norms, Cauchy sequences, Banach & Hilbert spaces, Fourier series in $L^2$, bounded operators, and smooth manifolds.
Chapter 1: Logic, Proofs & Real Analysis
1.1 Quantifiers and the Three Core Proof Methods
• 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). |
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$
1.2 Formal $\varepsilon$-$\delta$ Limits and Continuity
1.3 Sequences, Series & Convergence Tests
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
| 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
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$.
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$
Exercise 1.2: Prove directly from the $\varepsilon$-$\delta$ definition that $\displaystyle \lim_{x \to 3} (4x - 5) = 7$.
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$.
Chapter 2: Linear Algebra I — Vector Spaces & Linear Maps
2.1 Linear Systems & Reduced Row Echelon Form (RREF)
• 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
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
2.4 Linear Transformations, Kernel & Image
• 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$).
2.5 The Rank-Nullity Theorem (Full Proof)
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$
Interactive 2D Linear Map Lab: $T(\vec{x}) = A\vec{x}$ & Grid Deformation
2.6 Exercises for Chapter 2
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$.
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.
• $\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
3.1 Characteristic Polynomial, Eigenvalues & Eigenvectors
• 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
• 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
3.4 The Real Spectral Theorem (Key Proofs)
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$
Interactive Eigen-Explorer Lab: Invariant Directions & Image of the Unit Circle
3.5 Exercises for Chapter 3
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}$.
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}$.
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\}$.
• $\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
4.1 The Jacobian Matrix & Multivariable Chain Rule
4.2 The Hessian Matrix & Second-Derivative Test
• $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)
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$$
4.4 Multiple Integrals & Change of Variables
• 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
Exercise 4.1: Find and classify all stationary points of $f(x, y) = x^3 - 3xy + y^3$ using the Hessian matrix.
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$).
Exercise 4.2: Find the maximum and minimum values of $f(x, y) = xy$ on the circle $x^2 + y^2 = 8$.
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 1 | Irrationality of $\sqrt{2}$ (Proof by contradiction) | |
| Chapter 1 | $\varepsilon$-$\delta$ limit definition & Taylor's Theorem with remainder | |
| Chapter 2 | Rank-Nullity Theorem ($\dim V = \dim \ker T + \dim \operatorname{im} T$) | |
| Chapter 3 | Spectral Theorem: Symmetric matrices have real eigenvalues & orthogonal eigenvectors | |
| Chapter 4 | Lagrange Multipliers ($ abla f = \lambda abla g$) via constrained curve & chain rule | |
| Chapters 5–6 | ODE Phase Stability & Cauchy-Schwarz Inequality in Hilbert Spaces | Stage 3 |