0.1 Pre-Calculus Review
The algebra, function and trigonometry toolkit that every page of calculus leans on — with labs to make each idea visible.
Calculus is built on a small set of algebra, function and trigonometry skills. Every derivative rule, limit trick and integration technique in this course reuses them. This review collects exactly what you need — no more — with interactive labs so you can see each idea. Skim what you know, slow down where you don't, and try the exercises at the end.
- Took the diagnostic on the Chapter 0 introduction? Jump straight to the topics it suggested.
- Hover (or tap) any dotted word for its Arabic name and a plain-English meaning; press ع (bottom-right) to show Arabic beside every term.
- Topics: 1 Numbers & intervals · 2 Functions · 3 Graphs & transformations · 4 Combining functions · 5 Lines & quadratics · 6 Factoring & fractions · 7 Exponents & logarithms · 8 Inverse functions · 9 Trigonometry · Exercises
1. Real Numbers and Intervals
We work with the real numbers $\mathbb R$: every point on the number line. Sets of real numbers between two end points are written in interval notation. A round bracket means the end point is excluded; a square bracket means it is included. Infinity always gets a round bracket, because $\infty$ is not a number you can reach.
| Interval | Inequality | Picture |
|---|---|---|
| $(a,b)$ | $a<x<b$ | open at both ends ○—○ |
| $[a,b]$ | $a\le x\le b$ | closed at both ends ●—● |
| $[a,b)$ | $a\le x<b$ | ●—○ |
| $(a,\infty)$ | $x>a$ | ○———→ |
| $(-\infty,b]$ | $x\le b$ | ←———● |
| $(-\infty,\infty)$ | all real $x$ | ←———→ |
The absolute value $|x|$ is the distance from $x$ to $0$: $|x|=x$ if $x\ge0$ and $|x|=-x$ if $x<0$. So $|x-a|<\delta$ means “$x$ is within $\delta$ of $a$”, i.e. $a-\delta<x<a+\delta$ — the language of limits.
2. Functions, Domain and Range
- Division: the denominator cannot be $0$.
- Even roots: $\sqrt{\;\cdot\;}$ needs the inside $\ge0$.
- Logarithms: $\ln(\;\cdot\;)$ needs the inside $>0$.
- $\tan x$ and $\sec x$ exclude $x=\tfrac\pi2+k\pi$; $\cot x$ and $\csc x$ exclude $x=k\pi$.
3. The Function Library and Transformations
A handful of basic graphs appear again and again. Know their shapes, domains and key points by heart: $x^2$ (parabola), $x^3$, $\sqrt x$, $\dfrac1x$, $|x|$, $e^x$, $\ln x$, $\sin x$, $\cos x$. Every other graph in this course is built from these by transformations:
| Formula | Effect on the graph of $y=f(x)$ |
|---|---|
| $f(x)+k$ | shift up $k$ (down if $k<0$) |
| $f(x-h)$ | shift right $h$ (left if $h<0$) — note the minus sign! |
| $a\,f(x)$ | vertical stretch by $|a|$; reflect in the $x$-axis if $a<0$ |
| $f(bx)$ | horizontal compression by $|b|$; reflect in the $y$-axis if $b<0$ |
4. Combining Functions: Composition
Functions can be added, subtracted, multiplied and divided pointwise: $(f+g)(x)=f(x)+g(x)$, $(fg)(x)=f(x)g(x)$, and so on. More important for calculus is composition: feed the output of one function into another, $$(f\circ g)(x)=f\big(g(x)\big).$$ First apply $g$ (the inner function), then $f$ (the outer function). In general $f\circ g\ne g\circ f$. Recognising inner and outer functions is exactly the skill the chain rule and substitution need.
5. Lines and Quadratics
The slope of the line through $(x_1,y_1)$ and $(x_2,y_2)$ is $m=\dfrac{y_2-y_1}{x_2-x_1}$ (rise over run). Useful forms of a line:
A quadratic $ax^2+bx+c$ ($a\ne0$) has a parabola as its graph, with vertex at $x=-\dfrac{b}{2a}$. Its roots come from factoring or from the quadratic formula $$x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}.$$ The discriminant $b^2-4ac$ tells you how many real roots: two ($>0$), one ($=0$) or none ($<0$).
6. Factoring, Fractions and Conjugates
Most $\tfrac00$ limits in Chapter 1 are resolved with three algebra moves. Keep these patterns handy:
| Pattern | Factorisation |
|---|---|
| Difference of squares | $a^2-b^2=(a-b)(a+b)$ |
| Perfect squares | $a^2\pm2ab+b^2=(a\pm b)^2$ |
| Difference / sum of cubes | $a^3-b^3=(a-b)(a^2+ab+b^2)$, $\;a^3+b^3=(a+b)(a^2-ab+b^2)$ |
| Grouping | $x^3+x^2-4x-4=x^2(x+1)-4(x+1)=(x+1)(x-2)(x+2)$ |
| Trinomial $ax^2+bx+c$ | find two numbers with product $ac$ and sum $b$ |
7. Exponents and Logarithms
$(ab)^x=a^xb^x$, $\quad a^0=1$, $\quad a^{-x}=\dfrac1{a^x}$, $\quad a^{m/n}=\sqrt[n]{a^m}$
$\log_b(x^r)=r\log_bx$, $\quad\log_bx=\dfrac{\ln x}{\ln b}$ (change of base)
The logarithm undoes the exponential: $y=\log_bx\iff b^y=x$. With the special base $e\approx2.71828$ we write $\ln x=\log_ex$, so $e^{\ln x}=x$ ($x>0$) and $\ln(e^x)=x$. The graphs of $b^x$ and $\log_bx$ are mirror images in the line $y=x$ — see below.
8. Inverse Functions
9. Trigonometry
In calculus, angles are measured in radians: an angle of $\theta$ radians cuts off an arc of length $\theta$ on the unit circle. Since the circumference is $2\pi$, $$360^\circ=2\pi\ \text{rad},\qquad 1^\circ=\frac{\pi}{180}\ \text{rad},\qquad 1\ \text{rad}=\frac{180^\circ}{\pi}\approx57.3^\circ.$$ The point on the unit circle at angle $\theta$ is $(\cos\theta,\sin\theta)$, and $\tan\theta=\dfrac{\sin\theta}{\cos\theta}$, $\sec\theta=\dfrac1{\cos\theta}$, $\csc\theta=\dfrac1{\sin\theta}$, $\cot\theta=\dfrac{\cos\theta}{\sin\theta}$.
| $\theta$ | $0$ | $\frac\pi6$ | $\frac\pi4$ | $\frac\pi3$ | $\frac\pi2$ | $\pi$ | $\frac{3\pi}2$ |
|---|---|---|---|---|---|---|---|
| $\sin\theta$ | $0$ | $\frac12$ | $\frac{\sqrt2}2$ | $\frac{\sqrt3}2$ | $1$ | $0$ | $-1$ |
| $\cos\theta$ | $1$ | $\frac{\sqrt3}2$ | $\frac{\sqrt2}2$ | $\frac12$ | $0$ | $-1$ | $0$ |
| $\tan\theta$ | $0$ | $\frac{\sqrt3}3$ | $1$ | $\sqrt3$ | undefined | $0$ | undefined |
Memory aid: $\sin$ at $0,\frac\pi6,\frac\pi4,\frac\pi3,\frac\pi2$ is $\frac{\sqrt0}2,\frac{\sqrt1}2,\frac{\sqrt2}2,\frac{\sqrt3}2,\frac{\sqrt4}2$; cosine runs the same list backwards. Signs by quadrant: All positive (I), Sine (II), Tangent (III), Cosine (IV).
- $\sin^{-1}x$ (arcsine): domain $[-1,1]$, range $\left[-\frac\pi2,\frac\pi2\right]$.
- $\cos^{-1}x$ (arccosine): domain $[-1,1]$, range $[0,\pi]$.
- $\tan^{-1}x$ (arctangent): domain $\mathbb R$, range $\left(-\frac\pi2,\frac\pi2\right)$.
Exercises
- 1 $f(x)=\sqrt{x-3}$ (domain and range)
- 2 $f(x)=\dfrac{1}{x^2-9}$
- 3 $f(x)=\ln(2x+4)$
- 4 $f(x)=\sqrt{9-x^2}$ (domain and range)
- 5 $f(x)=\dfrac{x+1}{x^2-x-6}$
- 1 $f\big(g(4)\big)$
- 2 $g\big(f(3)\big)$
- 3 $f(a+h)-f(a)$
- 4 $(f\circ g)(x)$ and its domain
- 5 Write $h(x)=(3x-1)^5$ as $F\big(G(x)\big)$.
- 1 Line through $(1,2)$ and $(3,8)$.
- 2 Line through $(-2,5)$ parallel to $y=4x+1$.
- 3 Solve $x^2-5x+6=0$.
- 4 Solve $2x^2+3x-2=0$.
- 5 Vertex of $y=x^2-4x+1$.
- 1 $x^3-8$
- 2 $\dfrac{x^2-9}{x^2+x-6}$
- 3 $x^3+x^2-4x-4$
- 4 Rationalise $\dfrac{\sqrt{x+4}-2}{x}$
- 5 $\dfrac{\frac1x-\frac1{x+h}}{h}$
- 1 Simplify $\dfrac{\left(x^3y^{-2}\right)^2}{x^4y}$.
- 2 Evaluate $\log_232$.
- 3 Solve $e^{2x}=7$.
- 4 Expand $\ln\dfrac{x^2\sqrt{x+1}}{x-3}$.
- 5 Solve $\log_3x+\log_3(x-8)=2$.
- 1 Convert $150^\circ$ to radians and $\tfrac{7\pi}4$ to degrees.
- 2 Exact values: $\sin\tfrac{5\pi}6$, $\cos\tfrac{4\pi}3$, $\tan\tfrac{3\pi}4$.
- 3 Solve $2\sin x=1$ on $[0,2\pi)$.
- 4 Show that $\sec^2x-\tan^2x=1$.
- 5 Evaluate $\sin^{-1}\tfrac{\sqrt3}2$, $\tan^{-1}(-1)$, $\cos^{-1}\left(-\tfrac12\right)$.
- 1 Find $f^{-1}$ for $f(x)=\dfrac{2x+1}{x-3}$.
- 2 Find $f^{-1}$ for $f(x)=e^{x-1}+2$ and state its domain.
- 3 Is $f(x)=x^2$ one-to-one on $\mathbb R$? If not, restrict it and find the inverse.
- 1 Let $f(x)=2x-1$ and $g(x)=x^2$. Find $(f\circ g)(x)$ and $(g\circ f)(x)$, then evaluate both at $x=2$.
- 2 Let $f(x)=\sqrt x$ and $g(x)=x-5$. Find $f\circ g$ and $g\circ f$ together with their domains.
- 3 Let $f(x)=\dfrac1x$ and $g(x)=x+1$. Find $f\circ g$ and $g\circ f$ and the $x$-values each excludes.
- 4 Simplify $e^{\ln x}$ and $\ln\left(e^{x}\right)$, stating where each simplification is valid.
- 5 Show that $f(x)=3x+2$ and $g(x)=\dfrac{x-2}{3}$ are inverse functions.
- 6 Classify each as even, odd or neither: $f(x)=x^3-x$, $\;g(x)=x^2\cos x$, $\;h(x)=x^2+x$.
- 1 Solve $3^{2x-1}=27$.
- 2 Solve $5e^{0.2t}=40$ (exact and to two decimals).
- 3 Solve $\ln(x+2)-\ln x=\ln3$.
- 4 Solve $e^{2x}-5e^{x}+6=0$.
- 5 Write $2\ln x-3\ln y+\tfrac12\ln z$ as a single logarithm.
- 6 Evaluate $\log_48$ and $\log_{1/2}16$.
- 7 A culture starts with $500$ bacteria and doubles every $3$ hours, so $N(t)=500\cdot2^{t/3}$. When will there be $8000$ bacteria?
- 1 Exact values: $\sin\tfrac{7\pi}6$, $\cos\left(-\tfrac\pi3\right)$, $\sec\tfrac{3\pi}4$, $\cot\tfrac{5\pi}3$.
- 2 If $\sin\theta=\tfrac35$ and $\theta$ is in quadrant II, find $\cos\theta$, $\tan\theta$ and $\sin2\theta$.
- 3 Solve $2\cos^2x-\cos x-1=0$ on $[0,2\pi)$.
- 4 Solve $\sin2x=\cos x$ on $[0,2\pi)$.
- 5 Show that $\left(1-\cos^2x\right)\left(1+\cot^2x\right)=1$.
- 6 A $6$ m ladder leans against a wall, making an angle of $\tfrac\pi3$ with the ground. How high up the wall does it reach?
- 7 Explain why $\sin^{-1}\left(\sin\tfrac{5\pi}6\right)=\tfrac\pi6$ and not $\tfrac{5\pi}6$.
🧪 Self-check quiz
Q1. The domain of $\dfrac{1}{\sqrt{x-1}}$ is
Q2. The graph of $y=(x-2)^2+3$ is $y=x^2$ shifted
Q3. $(f\circ g)(x)$ means
Q4. $\ln\left(e^3\cdot e^{-5}\right)=$
Q5. $\cos\tfrac{2\pi}3=$
Q6. $\sin^{-1}x$ equals