Year 1 · Notes: Principles of Calculus – Limits, Continuity and the Derivative
Topic: S.S1 Y1 PRINCIPLES OF CALCULUS
What a limit is, evaluating limits, left-hand and right-hand limits, continuous and discontinuous functions, the derivative from first principles, rates of change and motion.
Year 1 · Notes: Principles of Calculus – Limits, Continuity and the Derivative
A trotro's speedometer shows 60 km/h. But speed is distance divided by time, and at one single instant no time passes and no distance is covered. So what does "60 km/h at this instant" mean? Calculus answers this with the idea of a limit: we look at what happens over shorter and shorter time intervals and see what value the speed settles towards. That one idea leads to the derivative, the main tool of calculus.
IN THIS NOTE
The meaning of a limit and how to evaluate one.
Left-hand and right-hand limits.
Continuous and discontinuous functions.
Finding the derivative from first principles.
Average and instantaneous rates of change, and motion along a line.
1. What is a limit?
Look at \(f(x) = \dfrac{x^2 - 4}{x - 2}\). At \(x = 2\) it gives \(\tfrac{0}{0}\), which has no meaning. But try values close to 2: \(f(1.9) = 3.9\), \(f(1.99) = 3.99\), \(f(2.01) = 4.01\), \(f(2.1) = 4.1\). As \(x\) gets closer to 2 from either side, \(f(x)\) gets closer to 4. We write \[\lim_{x \to 2} \frac{x^2 - 4}{x - 2} = 4.\]
A limit describes where a function is heading as \(x\) approaches a value, even if the function is not defined exactly there.
2. Evaluating limits
Try direct substitution first. If you get a proper number, that is the limit. If you get \(\tfrac{0}{0}\), simplify first by factorising or rationalising, then substitute.
WORKED EXAMPLE · Three limits
(a) \(\displaystyle\lim_{x \to 3}(2x^2 + 1) = 2(9) + 1 = 19\) (direct substitution).
(b) \(\displaystyle\lim_{x \to 2}\frac{x^2 - 4}{x - 2} = \lim_{x \to 2}\frac{(x - 2)(x + 2)}{x - 2} = \lim_{x \to 2}(x + 2) = 4\).
(c) \(\displaystyle\lim_{x \to 9}\frac{\sqrt{x} - 3}{x - 9}\): multiply top and bottom by \(\sqrt{x} + 3\): \(\dfrac{x - 9}{(x - 9)(\sqrt{x} + 3)} = \dfrac{1}{\sqrt{x} + 3} \to \dfrac{1}{6}\).
3. Left-hand and right-hand limits
Sometimes a function heads to different values depending on the side you approach from. The left-hand limit \(\lim_{x \to a^-} f(x)\) uses values just below \(a\); the right-hand limit \(\lim_{x \to a^+} f(x)\) uses values just above \(a\). The limit \(\lim_{x \to a} f(x)\) exists only when both one-sided limits exist and are equal.
WORKED EXAMPLE · One-sided limits
Let \(f(x) = x + 1\) for \(x \lt 2\) and \(f(x) = x^2\) for \(x \ge 2\). Left-hand limit at 2: \(2 + 1 = 3\). Right-hand limit: \(2^2 = 4\). They differ, so \(\lim_{x \to 2} f(x)\) does not exist: the graph has a jump at \(x = 2\).
4. Continuity
Informally, a function is continuous at \(x = a\) if you can draw its graph through that point without lifting your pen. Formally, three things must all be true: \(f(a)\) is defined; \(\lim_{x \to a} f(x)\) exists; and the two are equal.
Polynomials are continuous everywhere. A rational function such as \(\dfrac{1}{x - 3}\) is discontinuous where its denominator is zero (here \(x = 3\)). The piecewise function above is discontinuous at \(x = 2\) because the limit does not exist.
5. The derivative from first principles
The gradient of a straight line is the same everywhere, but a curve gets steeper or flatter as you move along it. To find the gradient of the curve \(y = f(x)\) at a point, take a second point a tiny distance \(h\) further along. The straight line through the two points (a chord) has gradient \[\frac{f(x + h) - f(x)}{h}.\] As \(h\) shrinks to zero, the chord turns into the tangent, and its gradient becomes the gradient of the curve. This limit is the derivative: \[f'(x) = \frac{dy}{dx} = \lim_{h \to 0}\frac{f(x + h) - f(x)}{h}.\]
WORKED EXAMPLE · First principles
Find the derivative of \(f(x) = x^2\).
\(f(x + h) - f(x) = (x + h)^2 - x^2 = 2xh + h^2\). Divide by \(h\): \(2x + h\). Let \(h \to 0\): \(f'(x) = 2x\).
For \(f(x) = 3x^2 - 2x\), the same steps give \(f'(x) = 6x - 2\). For \(f(x) = \dfrac{1}{x}\): \(\dfrac{1}{x + h} - \dfrac{1}{x} = \dfrac{-h}{x(x + h)}\), so \(f'(x) = \lim_{h \to 0}\dfrac{-1}{x(x + h)} = -\dfrac{1}{x^2}\).
KEY IDEA
Working out \(x^2 \to 2x\), \(x^3 \to 3x^2\) and \(\tfrac{1}{x} = x^{-1} \to -x^{-2}\) shows a pattern: the derivative of \(x^n\) is \(nx^{n-1}\). You will use this rule fully in Year 2.
6. Rates of change and motion
The average rate of change of \(f\) from \(x = a\) to \(x = b\) is \(\dfrac{f(b) - f(a)}{b - a}\), the gradient of the chord. The instantaneous rate of change at a point is the derivative there. For \(f(x) = x^2\), the average rate from 1 to 3 is \(\dfrac{9 - 1}{2} = 4\), and the instantaneous rate at \(x = 2\) is \(f'(2) = 4\).
For a body moving along a line with displacement \(s(t)\), the velocity is the rate of change of displacement, \(v = \dfrac{ds}{dt}\), and the acceleration is the rate of change of velocity, \(a = \dfrac{dv}{dt}\).
WORKED EXAMPLE · Motion
A particle moves so that \(s = t^2 + 3t\) metres after \(t\) seconds. Its velocity is \(v = 2t + 3\) m/s, so at \(t = 2\) it is moving at 7 m/s. Its acceleration is \(a = 2\) m/s², the same at all times.
Additional Mathematics
Senior High
More on PRINCIPLES OF CALCULUS
Other resources you can find on TudHub.