All revision notes topics

5.12 Continuity, differentiability and first principlesIB Maths: Analysis and Approaches HL: Revision notes

Section 1

What do continuity and differentiability mean?

A function is continuous at x=ax = a if its graph has no break there: f(a)f(a) is defined and f(x)→f(a)f(x) \to f(a) as x→ax \to a from both sides. Informally, you can draw through x=ax = a without lifting your pen.

A function is differentiable at x=ax = a if the curve has a single, well-defined tangent there, so f′(a)f'(a) exists.

  • y=x2y = x^{2} is continuous and differentiable everywhere.
  • y=∣x∣y = |x| is continuous at 00 but not differentiable there: the gradient is −1-1 on the left and +1+1 on the right, giving a corner.
  • y=1xy = \dfrac{1}{x} is not continuous at 00 (it is not even defined there).

Differentiable ⇒\Rightarrow continuous, but continuous does not imply differentiable. At IB you need this informal understanding; you will not be asked to test formally for continuity or differentiability.

Key termscontinuousdifferentiablecorner
Common mistake

Thinking every continuous function can be differentiated everywhere. ∣x−3∣|x - 3| is continuous at x=3x = 3 but has no derivative there.

Section 2

Limits: convergence and divergence

lim⁡x→af(x)=L\lim_{x \to a} f(x) = L means f(x)f(x) gets as close as we like to the single finite value LL as xx approaches aa from both sides. The limit then converges. The value of f(a)f(a) itself does not matter — ff need not even be defined at aa: lim⁡x→3x2−9x−3=lim⁡x→3(x+3)=6.\lim_{x \to 3}\frac{x^{2} - 9}{x - 3} = \lim_{x \to 3}(x + 3) = 6. A limit diverges (does not exist) if f(x)f(x) grows without bound, for example 1(x−3)2→∞\dfrac{1}{(x-3)^{2}} \to \infty as x→3x \to 3, or if it approaches different values from the left and right, or if it keeps oscillating.

The same ideas apply as x→∞x \to \infty: 1x→0\dfrac{1}{x} \to 0 converges, but x2x^{2} diverges.

Key termslimitconvergediverge
Exam tip

If substitution gives 00\dfrac{0}{0}, factorise and cancel the common factor before letting x→ax \to a.

Section 3

The derivative from first principles

The derivative is defined as the limit of the gradient of a chord: f′(x)=lim⁡h→0f(x+h)−f(x)h.f'(x) = \lim_{h \to 0}\frac{f(x+h) - f(x)}{h}. At IB this is used for polynomials only. The method:

  1. Write f(x+h)f(x+h) and expand fully.
  2. Subtract f(x)f(x) — every term without hh cancels.
  3. Divide every term by hh.
  4. Let h→0h \to 0.

Example: f(x)=2x3−5xf(x) = 2x^{3} - 5x. Then f(x+h)−f(x)=6x2h+6xh2+2h3−5hf(x+h) - f(x) = 6x^{2}h + 6xh^{2} + 2h^{3} - 5h, so the quotient is 6x2+6xh+2h2−5→6x2−56x^{2} + 6xh + 2h^{2} - 5 \to 6x^{2} - 5.

Key termsfirst principlesdifference quotient
Common mistake

Letting h→0h \to 0 before dividing by hh gives 00\dfrac{0}{0}. Always cancel the hh first.

Common mistake

Using the power rule when the question says 'from first principles' earns no marks for the method.

Section 4

Rates of change as limits

The difference quotient is an average rate of change over [x,x+h][x, x+h]. The derivative is the instantaneous rate of change, the value it converges to as h→0h \to 0.

For a ball with height s(t)=20t−5t2s(t) = 20t - 5t^{2}, the average velocity over [2,2+h][2, 2+h] is −5h-5h: −0.5-0.5 for h=0.1h = 0.1 and 0.50.5 for h=−0.1h = -0.1. Both approach 00, so the velocity at t=2t = 2 is 00 — the ball is momentarily at rest at the top of its flight.

Key termsaverage rate of changeinstantaneous rate of change

Section 5

Higher derivatives

Differentiating repeatedly gives higher derivatives. The nnth derivative is written dnydxn\dfrac{d^{n}y}{dx^{n}} or f(n)(x)f^{(n)}(x), so f′′′(x)=f(3)(x)f'''(x) = f^{(3)}(x).

Some functions give a pattern. For f(x)=x e2xf(x) = x\,e^{2x}: f′(x)=(2x+1)e2x,f′′(x)=(4x+4)e2x,f′′′(x)=(8x+12)e2x,f'(x) = (2x+1)e^{2x},\quad f''(x) = (4x+4)e^{2x},\quad f'''(x) = (8x+12)e^{2x}, suggesting f(n)(x)=2n−1(2x+n)e2xf^{(n)}(x) = 2^{n-1}(2x + n)e^{2x}, which can be proved by induction.

For a polynomial of degree mm, f(m)f^{(m)} is a constant and every higher derivative is 00.

Key termshigher derivativenth derivative
Exam tip

When a question asks you to spot a pattern, write each derivative in the same factorised form so the pattern is visible.

Must know

  • Continuous: no break, f(x)→f(a)f(x) \to f(a). Differentiable: a single tangent exists. Differentiable implies continuous; not the other way round (∣x∣|x| at 00).
  • A limit converges to one finite value from both sides; otherwise it diverges. f(a)f(a) need not exist.
  • f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \to 0}\dfrac{f(x+h) - f(x)}{h}: expand, subtract, divide by hh, then let h→0h \to 0.
  • f(n)(x)f^{(n)}(x) and dnydxn\dfrac{d^{n}y}{dx^{n}} denote the nnth derivative.

That's the notes covered.

Carry on to the next subtopic.