Welcome to webmat.dk — High School Mathematics (C, B & A)
This digital textbook covers the entire upper-secondary mathematics curriculum at Levels C, B, and A (corresponding to Danish STX C/B/A, A-Levels, IB Math, and AP Pre-Calculus/Calculus) — from introductory algebra to advanced calculus, differential equations, and 3D vectors. Choose your level below to highlight the chapters that fit your course.
Leder du efter den danske udgave? Åbn webmat.dk på dansk (DA) →
Level C (Intro)
Year 1 / StartBridges directly from middle school to symbolic algebra, linear functions, parabolas, percentage growth, right-angled triangles, and basic statistics.
Level B (Standard)
Year 2 / 3Core curriculum in differential and integral calculus, 2D vectors, CAS regression, general triangles, circles, and binomial & normal distributions.
Level A (Advanced)
Year 3 / HonorsEverything from C and B plus differential equations (integrating factor, logistic growth), 3D vectors, vector functions, multivariable calculus, solids of revolution, and χ2 tests.
• From arithmetic to functions: Instead of writing "price = 25 + 15 per km", we write a function rule f(x) = 15x + 25 so we can graph, analyze, and solve generally.
• From "guess and check" to symbolic algebra: We use algebraic rules (parentheses and binomial identities) to simplify expressions and solve equations reliably.
• From data points to models: We learn to spot whether data grows steadily (linear), curves in an arc (parabola), or grows by a fixed percentage (exponential).
Exam Overview: High School Mathematics C, B & A
Chapters in the Textbook
Number sets (ℕ, ℤ, ℚ, ℝ), parentheses, binomial identities with geometric proof, warm-up exercises, and polynomial division.
From lines to parabolas, coefficients a, b, c, vertex, roots, line-parabola intersection, show jumping model, and interactive parabola lab.
Three-step rule, differentiation rules, monotonicity & extrema, optimization, and interactive tangent lab (plus chain rule at Level A).
Antiderivatives, definite integrals, area under and between curves, solids of revolution (A), and interactive integral lab.
Separable and linear first-order ODEs, integrating factor, complete proofs, logistic growth, and interactive slope field lab.
Dot product, projection, line equations, cross product, planes in 3D, and vector functions (A) with step-by-step proofs and vector lab.
Linear, exponential, power, and polynomial regression, R2, residual plots, CAS guides, and interactive regression lab.
Partial derivatives, gradient, tangent plane, stationary points, least-squares proof, and interactive contour lab.
Percentage growth f(x) = b · ax, doubling/halving time, logarithm proofs, annuities & compound interest, and growth lab.
Unit circle, law of sines & cosines with proofs, area formula, harmonic waves A sin(ωx + φ) + c, and derivatives of sin/cos (A).
Circle equation, tangent, interactive circle lab, plus sphere equation, 3D parametric lines, and line-plane intersections (A).
From averages & probability trees (C) to combinatorics, binomial & normal distributions, QQ plots, confidence intervals, and χ2 tests (A).
Chapter 1: Number Sets, Algebra & Polynomial Division
• Minus sign before parentheses: Flip the sign of every term inside: $-(3x - 2) = -3x + 2$.
• Checking an identity with numbers: $(10 + 2)^2 = 12^2 = 144$ — and using the first binomial identity gives the exact same result: $10^2 + 2^2 + 2 \cdot 10 \cdot 2 = 100 + 4 + 40 = 144$.
1.1 Number Sets
In mathematics, numbers are organized into progressively larger sets as we need to solve new types of equations: $$\mathbb{N} \subset \mathbb{Z} \subset \mathbb{Q} \subset \mathbb{R}$$
$$3(x + 4) = 3 \cdot x + 3 \cdot 4 = 3x + 12$$ b) Solve the equation:
$$2x + 3 = 11$$ $$2x = 11 - 3 = 8$$ $$x = \frac{8}{2} = 4$$
• In the equation on the right, the equals sign is a balanced scale: subtracting $3$ from both sides and then dividing both sides by $2$ keeps it balanced.
1.2 Binomial Identities
2nd identity (square of a difference): $(a - b)^2 = a^2 + b^2 - 2ab$
3rd identity (difference of squares): $(a + b)(a - b) = a^2 - b^2$
Then remove the minus parentheses by flipping the sign of every term inside, and collect like terms.
1.3 Polynomial Division
Interactive Lab: Polynomial Division $(ax^3 + bx^2 + cx + d) \div (x - x_0)$
1.4 Exercises for Chapter 1
Exercise 1.0 (Parentheses & simplification):
a) Remove the parentheses and simplify: $5x + (3x - 4) - (2x - 7)$.
b) Expand using the 1st binomial identity: $(x + 5)^2$.
a) A plus sign before parentheses leaves signs unchanged. For $-(2x - 7)$, flip both signs to $-2x + 7$.
b) Use $(a + b)^2 = a^2 + b^2 + 2ab$ with $a = x$ and $b = 5$.
a) $5x + (3x - 4) - (2x - 7) = 5x + 3x - 4 - 2x + 7 = 6x + 3$.
b) $(x + 5)^2 = x^2 + 5^2 + 2 \cdot x \cdot 5 = x^2 + 10x + 25$.
Exercise 1.1: Given the polynomial $P(x) = x^3 - 4x^2 + x + 6$, verify that $x_0 = 2$ is a root of $P(x)$ and find all roots using polynomial division.
1. $P(2) = 2^3 - 4 \cdot 2^2 + 2 + 6 = 8 - 16 + 2 + 6 = 0$, so $x_0 = 2$ is a root.
2. Polynomial division gives $(x^3 - 4x^2 + x + 6) \div (x - 2) = x^2 - 2x - 3$.
3. Solving $x^2 - 2x - 3 = 0$: $d = (-2)^2 - 4(1)(-3) = 16$, giving $x = \frac{2 \pm 4}{2}$, so $x = -1$ and $x = 3$. All roots are $\{-1, 2, 3\}$.
Exercise 1.2 (Identities & equation): Simplify the left-hand side and solve $(x + 4)^2 - (x - 2)(x + 2) = 36$.
$$(x^2 + 8x + 16) - (x^2 - 4) = 36 \quad \Longleftrightarrow \quad x^2 + 8x + 16 - x^2 + 4 = 36$$ $$8x + 20 = 36 \quad \Longleftrightarrow \quad 8x = 16 \quad \Longleftrightarrow \quad x = 2$$
Chapter 2: Quadratic Polynomials & Parabolas
• $a$ determines whether the parabola opens upward ($a > 0$, minimum) or downward ($a < 0$, maximum).
• $c$ is the $y$-intercept at $(0, c)$ (the value when $x = 0$).
2.1 The Quadratic Formula, Discriminant & Vertex
• Discriminant: $d = b^2 - 4ac$
• Roots ($ax^2 + bx + c = 0$): If $d > 0$, two roots $x = \frac{-b \pm \sqrt{d}}{2a}$; if $d = 0$, one double root $x = -\frac{b}{2a}$; if $d < 0$, no real roots.
• Vertex: $T = \left(-\frac{b}{2a},\ -\frac{d}{4a}\right)$
$$f(0) = 0^2 - 2 \cdot 0 - 3 = -3 \quad \Rightarrow \quad (0, -3)$$ Check if $x = 3$ is a root:
$$f(3) = 3^2 - 2 \cdot 3 - 3 = 9 - 6 - 3 = 0 \quad \checkmark$$ Minimum (vertex) at $x = 1$:
$$f(1) = 1^2 - 2 \cdot 1 - 3 = 1 - 2 - 3 = -4 \quad \Rightarrow \quad T(1, -4)$$
1. Sign of $a$: Since $a = 1 > 0$, the graph opens upward.
2. Constant $c$: Here $c = -3$, so it crosses the $y$-axis at $(0, -3)$.
3. Symmetry: The vertex $x_T = 1$ always sits exactly halfway between the roots $x_1 = -1$ and $x_2 = 3$.
2.2 Exam Proofs: Quadratic Formula & Vertex Formula
$$ax^2 + bx + c = 0 \quad \Longleftrightarrow \quad 4a^2x^2 + 4abx + 4ac = 0$$ $$4a^2x^2 + 4abx = -4ac$$ Step 2 (Add $b^2$ to both sides):
$$4a^2x^2 + 4abx + b^2 = b^2 - 4ac$$ Step 3 (Factor left side and substitute $d = b^2 - 4ac$):
$$(2ax + b)^2 = d$$ Step 4 (Analyze by the sign of $d$):
• Case 1 ($d > 0$): Two real solutions: $$2ax + b = \pm\sqrt{d} \quad \Longleftrightarrow \quad 2ax = -b \pm \sqrt{d} \quad \Longleftrightarrow \quad x = \frac{-b \pm \sqrt{d}}{2a}$$ • Case 2 ($d = 0$ — double root): Substituting $d = 0$ gives: $$(2ax + b)^2 = 0 \quad \Longleftrightarrow \quad (2ax + b)(2ax + b) = 0$$ By the zero-product property, $2ax + b = 0$. Subtracting $b$ and dividing by $2a$ (valid since $a \neq 0$) gives the unique double root: $$2ax = -b \quad \Longleftrightarrow \quad x = -\frac{b}{2a}$$ • Case 3 ($d < 0$): Since $(2ax + b)^2 \ge 0$ for all $x \in \mathbb{R}$ while $d < 0$, there are no real solutions.
2. Adding $b^2$ completes the square $(2ax + b)^2$ on the left while producing the discriminant $d = b^2 - 4ac$ on the right.
3. Because a square is never negative, the sign of $d$ directly controls the number of real roots.
$$f(x_0 + h) = f(x_0 - h)$$ $$a(x_0 + h)^2 + b(x_0 + h) + c = a(x_0 - h)^2 + b(x_0 - h) + c$$ Step 2 (Expand and cancel identical terms):
$$\begin{aligned} ax_0^2 + ah^2 + 2ax_0 h + bx_0 + bh + c &= ax_0^2 + ah^2 - 2ax_0 h + bx_0 - bh + c \end{aligned}$$ $$2ax_0 h + bh = -2ax_0 h - bh \quad \Longleftrightarrow \quad 4ax_0 h = -2bh$$ Step 3 (Isolate $x_0$ and compute $y_0 = f(x_0)$):
Dividing by $4ah \neq 0$ gives $x_0 = -\frac{b}{2a}$. Substituting into $f(x)$:
$$\begin{aligned} y_0 = f\!\left(-\frac{b}{2a}\right) &= a\left(-\frac{b}{2a}\right)^2 + b\left(-\frac{b}{2a}\right) + c \\ &= \frac{b^2}{4a} - \frac{2b^2}{4a} + \frac{4ac}{4a} = -\frac{b^2 - 4ac}{4a} = -\frac{d}{4a} \end{aligned}$$
2.4 Intersection of a Parabola and a Straight Line
• $d > 0$: Two intersection points (secant line).
• $d = 0$: One touching point (tangent line).
• $d < 0$: No intersection points.
$$x^2 - 3x + 2 = x - 1 \quad \Longleftrightarrow \quad x^2 - 4x + 3 = 0$$ Step 2 (Solve the quadratic):
$$d = (-4)^2 - 4 \cdot 1 \cdot 3 = 4 \quad \Rightarrow \quad x = \frac{4 \pm 2}{2} \quad \Rightarrow \quad x_1 = 1 \ \lor \ x_2 = 3$$ Step 3 (Find $y$-coordinates via $g(x) = x - 1$):
$$g(1) = 0 \quad \text{and} \quad g(3) = 2 \quad \Rightarrow \quad P_1(1, 0) \text{ and } P_2(3, 2)$$
Interactive Parabola Lab: $f(x) = ax^2 + bx + c$
2.5 Exercises for Chapter 2
Exercise 2.0 (Reading a quadratic): Consider $f(x) = -2x^2 + 4x + 6$.
a) Does the parabola open upward or downward? Explain using $a$.
b) Where does it cross the $y$-axis?
c) Evaluate $f(1)$ and $f(3)$.
a) Since $a = -2 < 0$, it opens downward (maximum).
b) $c = 6$, so the $y$-intercept is $(0, 6)$.
c) $f(1) = -2(1)^2 + 4(1) + 6 = 8$, and $f(3) = -2(9) + 12 + 6 = 0$ (so $x = 3$ is a root).
Exercise 2.1: Find the roots and vertex of $f(x) = 2x^2 - 8x + 6$.
$d = (-8)^2 - 4(2)(6) = 16$. Roots: $x = \frac{8 \pm 4}{4} \Rightarrow x_1 = 1, x_2 = 3$. Vertex: $T = \left(\frac{8}{4}, -\frac{16}{8}\right) = (2, -2)$.
Exercise 2.2 (Line-parabola intersection): Find the intersection points of $f(x) = x^2 - 2x - 1$ and $g(x) = 2x + 4$.
$x^2 - 4x - 5 = 0$ gives $d = 36$ and $x_1 = -1, x_2 = 5$. Thus $g(-1) = 2$ and $g(5) = 14$, giving $(-1, 2)$ and $(5, 14)$.
Chapter 3: Differential Calculus, Tangents & Curve Analysis
3.1 Difference Quotient, Derivative & Tangent Line
Step 2: $\frac{\Delta y}{\Delta x} = \frac{2x_0 \Delta x + (\Delta x)^2}{\Delta x} = 2x_0 + \Delta x$
Step 3: $\lim_{\Delta x \to 0} (2x_0 + \Delta x) = 2x_0$
3.2 Differentiation Rules
| Function $f(x)$ | Derivative $f'(x)$ | Rule / Note |
|---|---|---|
| $f(x) = k$ (constant) | $f'(x) = 0$ | A horizontal line has slope $0$ |
| $f(x) = x^n$ | $f'(x) = n \cdot x^{n-1}$ | Power rule for all real $n$ (for $x > 0$) |
| $f(x) = \frac{1}{x} = x^{-1}$ | $f'(x) = -\frac{1}{x^2}$ | Special case $n = -1$ ($x \neq 0$) |
| $f(x) = \sqrt{x} = x^{1/2}$ | $f'(x) = \frac{1}{2\sqrt{x}}$ | Defined for $x > 0$ |
| $f(x) = e^x$ and $f(x) = \ln(x)$ | $f'(x) = e^x$ and $f'(x) = \frac{1}{x}$ | Natural exponential and logarithm |
| $h(x) = f(g(x))$ Level A only | $h'(x) = f'(g(x)) \cdot g'(x)$ | Chain rule for composite functions |
3.3 Monotonicity and Local Extrema
The sign of the derivative $f'(x)$ directly tells us whether $f$ is rising or falling:
- If $f'(x_0) = 0$, the graph has a horizontal tangent at $x_0$ (either a local extremum or a horizontal inflection point).
- If $f'(x) > 0$ on an interval, $f$ is increasing there.
- If $f'(x) < 0$ on an interval, $f$ is decreasing there.
- If $f'(x_0) = 0$ and the sign does not change across $x_0$, the graph has a horizontal inflection point (no local extremum).
Step 2: $f'(x_0) = 0 \Longleftrightarrow 2ax_0 + b = 0 \Longleftrightarrow x_0 = -\frac{b}{2a}$.
Step 3: Substituting $x_0 = -\frac{b}{2a}$ into $f(x)$ gives $y_0 = -\frac{b^2 - 4ac}{4a} = -\frac{d}{4a}$.
3.4 Optimization and Instantaneous Rate of Change
In applied problems, $f'(t)$ gives the instantaneous rate of change at time $t$. In optimization, we express the target quantity as a function of one variable using a constraint, solve $V'(x) = 0$, and check the domain endpoints.
Interactive Tangent & Monotonicity Lab
3.5 Exercises for Chapter 3
Exercise 3.1: Find the equation of the tangent line to $f(x) = x^3 - 4x + 2$ at $P(2, f(2))$.
$f(2) = 2$, $f'(x) = 3x^2 - 4 \Rightarrow f'(2) = 8$. Tangent line: $y = 8(x - 2) + 2 = 8x - 14$.
Exercise 3.2: Determine the intervals of increase/decrease and local extrema of $f(x) = \frac{1}{3}x^3 - x^2 - 3x + 4$.
$f'(x) = x^2 - 2x - 3 = 0 \Rightarrow x_1 = -1, x_2 = 3$. $f$ is increasing on $(-\infty, -1]$ and $[3, \infty)$, and decreasing on $[-1, 3]$. Local max at $x = -1$ ($f(-1) = \frac{17}{3}$), local min at $x = 3$ ($f(3) = -5$).
Exercise 3.3 (Optimization): An open box is made from a $30\text{ cm} \times 30\text{ cm}$ square of cardboard by cutting out squares of side $x$ from each corner and folding up the sides. Find $x$ that maximizes the volume.
$V'(x) = 12x^2 - 240x + 900 = 0 \Rightarrow x = 5$ or $x = 15$. Maximum volume occurs at $x = 5\text{ cm}$ with $V(5) = 2000\text{ cm}^3$.
Chapter 4: Integral Calculus & Area
4.1 Antiderivatives and Indefinite Integrals
| Function $f(x)$ | Antiderivative $F(x)$ | Note |
|---|---|---|
| $f(x) = a$ (constant) | $F(x) = a \cdot x$ | Check: $(ax)' = a$ |
| $f(x) = x^n$ ($n \neq -1$) | $F(x) = \frac{1}{n+1} x^{n+1}$ | Add $1$ to the exponent and divide by the new exponent |
| $f(x) = \frac{1}{x}$ | $F(x) = \ln(|x|)$ | Often for $x > 0$, where $F(x) = \ln(x)$ |
| $f(x) = e^x$ | $F(x) = e^x$ | The natural exponential function is its own antiderivative |
| $f(x) = e^{k \cdot x}$ ($k \neq 0$) | $F(x) = \frac{1}{k} e^{k \cdot x}$ | Remember to divide by the inner constant $k$ |
4.2 Definite Integral and Area Under a Curve
$$f(x_0) \cdot \Delta x \le \Delta A \le f(x_0 + \Delta x) \cdot \Delta x$$ Step 2 (Difference quotient): Divide by $\Delta x > 0$:
$$f(x_0) \le \frac{\Delta A}{\Delta x} \le f(x_0 + \Delta x)$$ Step 3 (Limit): Let $\Delta x \to 0$. Since $f$ is continuous, $f(x_0 + \Delta x) \to f(x_0)$:
$$A'(x_0) = \lim_{\Delta x \to 0} \frac{\Delta A}{\Delta x} = f(x_0)$$ Step 4 (Antiderivative): Since two antiderivatives differ only by a constant $k$, $A(x) = F(x) + k$. With $A(a) = 0$, $k = -F(a)$, so:
$$\int_a^b f(x)\,dx = A(b) = F(b) - F(a)$$
4.3 Integration Rules & Proofs
1. Sum/Difference rule: $\int \big(f(x) \pm g(x)\big)\,dx = \int f(x)\,dx \pm \int g(x)\,dx$
2. Constant multiple rule: $\int k \cdot f(x)\,dx = k \cdot \int f(x)\,dx$
3. Additivity: $\int_a^b f(x)\,dx = \int_a^c f(x)\,dx + \int_c^b f(x)\,dx$
4.4 Area Between Two Curves
4.5 Integration by Substitution & Integration by Parts Level A only
• Integration by parts: $\int u(x) \cdot v'(x)\,dx = u(x) \cdot v(x) - \int u'(x) \cdot v(x)\,dx$.
$$H'(x) = F'(g(x)) \cdot g'(x) = f(g(x)) \cdot g'(x)$$ 2. Integration by parts: From the product rule $(u \cdot v)' = u' v + u v'$, rearrange and integrate:
$$\int u(x) \cdot v'(x)\,dx = u(x) \cdot v(x) - \int u'(x) \cdot v(x)\,dx$$
4.6 Solids of Revolution About the $x$-axis and $y$-axis Level A only
Interactive Integral Lab: $\int_a^b f(x)\,dx$ vs. Geometric Area
4.7 Exercises for Chapter 4
Exercise 4.1: Evaluate the definite integral $\int_0^2 (3x^2 + 2x + 1)\,dx$.
Exercise 4.2: Find the area enclosed by the graphs of $f(x) = -x^2 + 4x$ and $g(x) = x$.
Exercise 4.3 (Substitution): Find the indefinite integral $\int 2x \cdot e^{x^2}\,dx$ using substitution.
Chapter 5: Differential Equations & Level A Proofs
5.1 What is a Differential Equation?
• The general solution describes all functions $y$ satisfying the equation (with an arbitrary constant $c$).
• A particular solution is found by applying an initial condition $y(x_0) = y_0$ to determine $c$.
5.2 Exponential ($y' = ky$), Shifted ($y' = b - ay$) & Logistic Growth
| Differential Equation | General Solution | Typical Application |
|---|---|---|
| $y' = k \cdot y$ | $y = c \cdot e^{kx}$$c \in \mathbb{R}$ | Unbounded exponential growth or radioactive decay |
| $y' = b - a \cdot y$$a \neq 0$ | $y = \dfrac{b}{a} + c \cdot e^{-ax}$$c \in \mathbb{R}$ | Newton's law of cooling, skydiving terminal velocity, approach to equilibrium $\frac{b}{a}$ |
| $y' = a \cdot y(M - y)$ | $y = \dfrac{M}{1 + c \cdot e^{-aMx}}$$c > 0$ | Logistic population growth with carrying capacity $M$ |
5.3 Proof of Logistic Growth Level A
5.4 Linear First-Order ODEs: The Integrating Factor Level A
Interactive Slope Field Lab: $y' = b - a \cdot y$ Level A
5.5 Exercises for Chapter 5 (Level A)
Exercise 5.1: Find the particular solution to $y' = 4 - 2y$ passing through $P(0, 5)$.
Exercise 5.2 (Logistic growth): A bacterial culture obeys $\frac{dN}{dt} = 0.002 \cdot N \cdot (500 - N)$ with $N(0) = 20$. Find $N(t)$ and the time of maximum growth rate.
Chapter 6: Vectors in the Plane (2D) & in Space (3D)
6.1 2D Vectors, Norm, Orthogonal Vector & Determinant
• Vector from $P(x_1, y_1)$ to $Q(x_2, y_2)$: $\overrightarrow{PQ} = \begin{pmatrix} x_2 - x_1 \\ y_2 - y_1 \end{pmatrix}$
• Length (norm): $|\vec{a}| = \sqrt{a_1^2 + a_2^2}$
• Perpendicular (hat) vector ($90\,{}^\circ$ counter-clockwise): $\hat{a} = \begin{pmatrix} -a_2 \\ a_1 \end{pmatrix}$
• Determinant: $\det(\vec{a}, \vec{b}) = a_1 b_2 - a_2 b_1 = \hat{a} \cdot \vec{b}$
6.2 Dot Product & Angle Formula
6.3 Orthogonal Projection of a Vector
6.4 Line Equation & Point-to-Line Distance in 2D
2. Distance from $P_1(x_1, y_1)$ to $l$: $$\text{dist}(P_1, l) = \frac{|a x_1 + b y_1 + c|}{\sqrt{a^2 + b^2}}$$
6.5 3D Vectors, Cross Product & Plane Equation Level A only
• Plane equation: $a(x - x_0) + b(y - y_0) + c(z - z_0) = 0 \Leftrightarrow ax + by + cz + d = 0$ with normal vector $\vec{n} = \begin{pmatrix} a \\ b \\ c \end{pmatrix}$.
• Point-to-plane distance: $\text{dist}(P_1, \alpha) = \frac{|ax_1 + by_1 + cz_1 + d|}{\sqrt{a^2 + b^2 + c^2}}$.
6.6 Vector Functions, Tangents & Double Points Level A only
• Horizontal tangent: $y'(t_0) = 0 \ \land \ x'(t_0) \neq 0$.
• Vertical tangent: $x'(t_0) = 0 \ \land \ y'(t_0) \neq 0$.
• Double point: $\vec{r}(t_1) = \vec{r}(t_2)$ for $t_1 \neq t_2$.
Interactive Vector Lab: Dot Product, Angle & Projection $\vec{a}_b$
6.7 Exercises for Chapter 6
Exercise 6.1: Given $\vec{a} = \begin{pmatrix} 3 \\ 4 \end{pmatrix}$ and $\vec{b} = \begin{pmatrix} 4 \\ -3 \end{pmatrix}$, compute $|\vec{a}|$, $|\vec{b}|$, $\vec{a} \cdot \vec{b}$, and $\det(\vec{a}, \vec{b})$.
Exercise 6.2: Find a normal vector and equation for the plane through $P_0(1, 2, -1)$ spanned by $\vec{r}_1 = \begin{pmatrix} 2 \\ 1 \\ 0 \end{pmatrix}$ and $\vec{r}_2 = \begin{pmatrix} 1 \\ -1 \\ 3 \end{pmatrix}$.
Chapter 7: Regression & Mathematical Modeling
When we have real-world measurements $(x_1, y_1), (x_2, y_2), \dots, (x_n, y_n)$, we use regression (the method of least squares) in a CAS tool to find the function that best fits the data. At both Levels B and A, you must choose the right model type, run the regression in CAS, evaluate model quality, and interpret the parameters in context.
1. What do $18$ and $4$ mean?
• $a = 18$: The cyclist rides an average of $18\text{ km}$ per hour.
• $b = 4$: At the start ($x = 0$), the cyclist has already ridden $4\text{ km}$.
2. Distance after $5$ hours:
$$f(5) = 18 \cdot 5 + 4 = 90 + 4 = 94\text{ km}$$
7.1 The Four Classic Regression Models
| Regression Type | Model Formula | Meaning of Parameters | When to Choose |
|---|---|---|---|
| 1. Linear | $f(x) = a \cdot x + b$ | $a$: slope (constant change in $y$ per unit increase in $x$) $b$: initial value $f(0)$ |
When points follow a straight line with constant absolute change. |
| 2. Exponential | $f(x) = b \cdot a^x$ | $b$: initial value $f(0)$ $a = 1 + r$: growth factor ($r$ is the constant percentage rate) |
When $y$ changes by a fixed percentage per unit in $x$ (population, interest, decay). Requires $y > 0$. |
| 3. Power | $f(x) = b \cdot x^a$ | $a$: exponent — if $x$ grows by $p\,\%$, $y$ is multiplied by $(1 + p)^a$ $b = f(1)$ |
When $x > 0, y > 0$ follow a scaling law (braking distance, weight vs. length, Kepler's laws). |
| 4. Polynomial | $f(x) = a x^2 + b x + c$ (or degree 3/4) |
$c = f(0)$: $y$-intercept $a$: controls curvature and opening |
When data has a clear peak, valley, or inflection point (trajectories, daily temperature). |
7.2 Model Check: $R^2$ and Residual Plots
• $R^2 \in [0, 1]$: Measures the proportion of variance in $y$ explained by the model. Closer to $1$ ($100\,\%$) means a tighter fit.
• Residual plot: A plot of $(x_i, e_i)$. A good model has residuals scattered randomly around $0$ with no systematic U- or S-shape.
7.3 The Method of Least Squares
7.4 How to Run Regression in CAS (GeoGebra, Maple & WordMat)
| Model | GeoGebra | Maple (Gym package) | WordMat / Excel |
|---|---|---|---|
| Linear ($y = ax + b$) | FitLine(List) or Two-Variable Regression → Linear |
LineærRegression(X, Y) |
Regression → Linear |
| Exponential ($y = b \cdot a^x$) | FitGrowth(List) (note: FitExp uses $e^{kx}$) |
EksponentielRegression(X, Y) |
Regression → Exponential |
| Power ($y = b \cdot x^a$) | FitPow(List) |
PotensRegression(X, Y) |
Regression → Power |
| Polynomial ($y = ax^2 + bx + c$) | FitPoly(List, degree) |
PolynomielRegression(X, Y, deg) |
Regression → Polynomial |
7.5 Worked Exam Example (Part 2)
1. Exponential regression in CAS: $f(x) = 12.01 \cdot 1.256^x$ with $R^2 = 0.9999$.
2. Interpretation: $b = 12.01$ means ~12,010 solar panels in 2018; $a = 1.256 \Rightarrow r = 25.6\,\%$ annual growth.
3. Forecast for 2025 ($x = 7$): $f(7) = 12.01 \cdot 1.256^7 \approx 59.2$ (~59,200 panels).
Interactive Regression Lab: Compare All Four Models Live
7.6 Exercises for Chapter 7
Exercise 7.0: An ice-cream stand fits a linear model $f(x) = 12x - 110$ ($R^2 = 0.98$) relating temperature $x$ (${}^\circ\text{C}$) to daily ice creams sold $f(x)$.
a) What does the slope $a = 12$ mean?
b) Predict sales on a $25\,{}^\circ\text{C}$ day.
c) Does the model make sense at $5\,{}^\circ\text{C}$?
Exercise 7.1: Braking distance $L$ (m) vs. speed $v$ (km/h): $(20, 3.2), (40, 12.8), (60, 28.9), (80, 51.1), (100, 80.0)$. Fit a power model $L(v) = b \cdot v^a$ and explain what happens when speed doubles.
Chapter 8: Functions of Two Variables Level A only
8.1 Surfaces, Cross-Sections & Contour Curves
• The graph is a surface in 3D space.
• A contour (level) curve at height $k$ is the set of points $(x, y)$ where $f(x, y) = k$.
8.2 Partial Derivatives and the Gradient $\nabla f(x_0, y_0)$
• $f'_y(x_0, y_0) = \frac{\partial f}{\partial y}$: treat $x$ as a constant and differentiate with respect to $y$.
• Gradient vector: $\nabla f(x_0, y_0) = \begin{pmatrix} f'_x(x_0, y_0) \\ f'_y(x_0, y_0) \end{pmatrix}$ always points in the direction of steepest ascent and is perpendicular to the contour curve.
8.3 Tangent Plane to $z = f(x, y)$
8.4 Stationary Points & Proof of Least Squares
Step 2 ($\frac{\partial S}{\partial a} = 0$): Substituting $b = \bar{y} - a\bar{x}$ into $\sum -2x_i(y_i - ax_i - b) = 0$ yields: $$a = \frac{\sum_{i=1}^n (x_i - \bar{x})(y_i - \bar{y})}{\sum_{i=1}^n (x_i - \bar{x})^2}$$
Interactive Contour & Gradient Lab Level A
8.5 Exercises for Chapter 8 (Level A)
Exercise 8.1: For $f(x, y) = x^2 y + 3y^2 - 2x + 1$, find $\nabla f(1, 2)$ and the tangent plane at $(1, 2, f(1, 2))$.
Chapter 9: Exponential, Logarithmic & Financial Mathematics
• $+15\,\%$ growth $\Rightarrow r = 0.15$ and growth factor $a = 1 + 0.15 = 1.15$.
• $-20\,\%$ decay $\Rightarrow r = -0.20$ and factor $a = 1 - 0.20 = 0.80$.
9.1 Exponential Functions & Percentage Growth
• $a = 1 + r$ is the growth factor ($a > 1$: increasing; $0 < a < 1$: decreasing). The $x$-axis ($y = 0$) is a horizontal asymptote.
9.2 Two-Point Formula for Exponential Functions
9.3 Doubling Time $T_2$ and Half-Life $T_{1/2}$
• Half-life ($0 < a < 1$): $T_{1/2} = \frac{\ln(1/2)}{\ln(a)} = -\frac{\ln(2)}{\ln(a)}$
9.4 Logarithms & Logarithm Rules
1. $\ln(x \cdot y) = \ln(x) + \ln(y)$ 2. $\ln(x / y) = \ln(x) - \ln(y)$ 3. $\ln(x^p) = p \cdot \ln(x)$
9.5 Financial Mathematics: Compound Interest & Annuities Levels C & B
1. Compound interest: $K_n = K_0 \cdot (1 + r)^n$
2. Future value of an annuity (savings): $A_n = y \cdot \frac{(1 + r)^n - 1}{r}$
3. Annuity loan (payment formula): $G = y \cdot \frac{1 - (1 + r)^{-n}}{r} \Longleftrightarrow y = G \cdot \frac{r}{1 - (1 + r)^{-n}}$
Interactive Exponential Growth Lab: $f(x) = b \cdot a^x$
9.6 Exercises for Chapter 9
Exercise 9.1: Simplify $\ln(e^4) + \ln(8) - 3\ln(2)$ without a calculator.
Exercise 9.2 (Savings annuity): A student deposits $y = \$1500$ at the end of each year for $n = 10$ years at $r = 4\,\%$ ($0.04$) annual interest. Find the total balance right after the 10th deposit.
Chapter 10: Trigonometry & Harmonic Waves
• $\sin(A) = \frac{\text{opposite}}{\text{hypotenuse}}$ | $\cos(A) = \frac{\text{adjacent}}{\text{hypotenuse}}$ | $\tan(A) = \frac{\text{opposite}}{\text{adjacent}}$
2. Distance $b$ from wall (adjacent leg): $b = 5.0 \cdot \cos(65\,{}^\circ) \approx 2.11\text{ m}$
10.1 The Unit Circle & Pythagorean Identity
10.2 Area Formula, Law of Sines & Law of Cosines
2. Law of sines: $\frac{a}{\sin(A)} = \frac{b}{\sin(B)} = \frac{c}{\sin(C)}$
3. Law of cosines: $c^2 = a^2 + b^2 - 2ab\cos(C) \Longleftrightarrow \cos(C) = \frac{a^2 + b^2 - c^2}{2ab}$
10.3 Harmonic Waves & Differentiation Level A only
• Amplitude: $A = \frac{y_{\max} - y_{\min}}{2}$ | Midline: $c = \frac{y_{\max} + y_{\min}}{2}$ | Period: $T = \frac{2\pi}{\omega}$
• Derivatives (radians): $(\sin x)' = \cos x$ and $(\cos x)' = -\sin x$.
Interactive Unit Circle & Sine Wave Lab
10.4 Exercises for Chapter 10
Exercise 10.0: In a right triangle $\triangle ABC$ with $C = 90\,{}^\circ$, $c = 10.0\text{ cm}$, and $A = 30\,{}^\circ$, find the legs $a$ and $b$.
Exercise 10.1: In $\triangle ABC$, $a = 7.0$, $b = 9.0$, and $C = 60\,{}^\circ$. Find side $c$ and area $T$.
Chapter 11: Analytic 2D & 3D Geometry
11.1 Equation of a Circle
11.2 Tangent Line to a Circle
11.3 Spheres & Parametric Lines in 3D Level A only
2. Parametric line in 3D: $\begin{pmatrix} x \\ y \\ z \end{pmatrix} = \begin{pmatrix} x_0 \\ y_0 \\ z_0 \end{pmatrix} + t \begin{pmatrix} r_1 \\ r_2 \\ r_3 \end{pmatrix}$, $t \in \mathbb{R}$.
3. Line-plane intersection: Substitute $x(t), y(t), z(t)$ into $ax + by + cz + d = 0$ and solve for $t$.
Interactive Circle & Tangent Lab: $(x - a)^2 + (y - b)^2 = r^2$
11.4 Exercises for Chapter 11
Exercise 11.1: Verify that $P_0(4, 2)$ lies on $(x - 1)^2 + (y + 2)^2 = 25$ and find the tangent line at $P_0$.
Chapter 12: Probability & Statistics
12.1 Combinatorics & Binomial Distribution $X \sim b(n, p)$
12.2 Conditional Probability & Independence
12.3 Normal Distribution $X \sim N(\mu, \sigma^2)$
12.4 QQ Plot (Normal Quantile Plot)
12.5 Confidence Intervals & $\chi^2$ Tests Level A only
2. $\chi^2$ test statistic: $\chi^2 = \sum \frac{(O - E)^2}{E}$. Reject $H_0$ if $p$-value $< \alpha$ (typically $5\,\%$).
Interactive Binomial Distribution Lab: $X \sim b(n, p)$
Interactive Normal Distribution & Symmetry Lab: $X \sim N(\mu, \sigma^2)$
12.6 Exercises for Chapter 12
Exercise 12.0: a) Find the mean and median of $\{4, 7, 7, 10, 12\}$. b) What is the probability of rolling two sixes in a row with a fair die?
Exercise 12.1: Given $X \sim N(50, 8^2)$ and $P(X \le 42) = 0.1587$, find $P(X \ge 58)$ and $P(42 \le X \le 58)$ by symmetry.
Exam & Proof Overview (Levels C, B & A)
Oral Exam Proofs (Levels B & A)
| Chapter | Proof / Theorem | Shortcut |
|---|---|---|
| Chapter 1 | Geometric area proof of $(a + b)^2 = a^2 + b^2 + 2ab$ | |
| Chapter 2 | Quadratic formula $x = \frac{-b \pm \sqrt{d}}{2a}$ (incl. $d = 0$) & vertex formula | |
| Chapter 3 | Three-step rule for $f(x) = x^2$ & vertex via $f'(x_0) = 0$ | |
| Chapter 4 | Fundamental Theorem of Calculus $A'(x_0) = f(x_0)$ & linearity | |
| Chapter 6 | Dot product angle formula, projection & point-to-line distance | |
| Chapter 9 | Two-point formula, doubling time $T_2 = \frac{\ln 2}{\ln a}$ & log rules | |
| Chapter 10 | Triangle area $T = \frac{1}{2}bc\sin(A)$ & Law of Sines | |
| Chapter 11 | Circle equation $(x - a)^2 + (y - b)^2 = r^2$ | |
| Chapter 12 | Binomial formula $P(X = r)$ & normal distribution symmetry |
Oral Exam Proofs Level A only
| Chapter | Level A Proof / Theorem | Shortcut |
|---|---|---|
| Chapter 4 | Substitution, integration by parts & solids of revolution ($V_x, V_y$) | |
| Chapter 5 | Separation of variables, logistic growth & integrating factor | |
| Chapter 6 | Cross product orthogonality, 3D plane & vector functions | |
| Chapter 8 | Tangent plane & least-squares proof via partial derivatives |
Compact Formula Sheet for Part 1 (No Calculator)
| Topic | Core Formulas to Know by Heart |
|---|---|
| Algebra & Quadratics | $(a \pm b)^2 = a^2 + b^2 \pm 2ab$, $\ (a+b)(a-b) = a^2 - b^2$ $d = b^2 - 4ac$, $\ x = \dfrac{-b \pm \sqrt{d}}{2a}$, $\ T = \left(-\dfrac{b}{2a},\ -\dfrac{d}{4a}\right)$ |
| Differential Calculus | $(x^n)' = nx^{n-1}$, $\ \left(\frac{1}{x}\right)' = -\frac{1}{x^2}$, $\ (\sqrt{x})' = \frac{1}{2\sqrt{x}}$, $\ (e^x)' = e^x$, $\ (\ln x)' = \frac{1}{x}$ Tangent: $y = f'(x_0)(x - x_0) + f(x_0)$ |
| Integral Calculus | $\int x^n\,dx = \dfrac{1}{n+1}x^{n+1} + k$, $\ \int_a^b f(x)\,dx = F(b) - F(a)$, $\ A = \int_a^b (f(x) - g(x))\,dx$ |
| Vectors & Circles | $\vec{a} \cdot \vec{b} = a_1b_1 + a_2b_2 = |\vec{a}||\vec{b}|\cos(v)$, $\ \text{dist}(P_1, l) = \dfrac{|ax_1 + by_1 + c|}{\sqrt{a^2 + b^2}}$, $\ (x-a)^2+(y-b)^2=r^2$ |
| Exp, Log & Trig | $T_2 = \dfrac{\ln 2}{\ln a}$, $\ \ln(xy) = \ln x + \ln y$, $\ \ln(x^p) = p\ln x$, $\ \cos^2 v + \sin^2 v = 1$ |
Interactive Part 1 Trainer (No Calculator)
Quick Drills with Instant Feedback — Practice Mental Math for Part 1
Mini Practice Exam (Part 1 & Part 2)
Problem A (Tangent & Dot Product):
1. Find the tangent line to $f(x) = x^2 - 6x + 5$ at $P(4, f(4))$.
2. Find $t$ such that $\vec{a} = \begin{pmatrix} 2 \\ t \end{pmatrix}$ and $\vec{b} = \begin{pmatrix} 6 \\ -4 \end{pmatrix}$ are perpendicular.
Problem B (Exponential Growth & Integral): A town's population grows as $N(t) = 12\,000 \cdot 1.03^t$ ($t$ years after 2020).
1. Find the doubling time $T_2$ and growth rate $N'(5)$ in 2025.
2. (Levels B & A) Evaluate $\int_0^{10} (0.5x^2 + 2)\,dx$ and interpret geometrically.