Limits, continuity & first principles
What a limit is, when a function is continuous and when it is differentiable, and how to find a derivative from first principles, including the harder cases and . Higher derivatives and their patterns.
1What you need to know
Tick these off as you go. By the end of the page you should be able to do all of them without notes.
- Find limits informally, including one-sided limits and limits as AHL 5.12
- Decide whether a function is continuous at a pointAHL 5.12
- Decide whether a function is differentiable at a pointAHL 5.12
- Differentiate polynomials, and from first principlesAHL 5.12
- Find higher derivatives and spot patterns in AHL 5.12
2Notes & worked examples
Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.
The gradient of a curve at a point cannot be found from one point alone: a gradient needs two points. The trick is to take a second point a distance away, find the gradient of the chord, and ask what happens as shrinks to 0. That "what happens as" is a limit, and it is the foundation of all of calculus.
2.1 Limits
means that can be made as close to as we like by taking close enough to (but not equal to ). The value itself does not matter, and may not even exist.
A limit exists only if the left-hand limit and the right-hand limit are equal. For example, is for and for , so does not exist.
For limits as , divide top and bottom by the highest power of : . A limit that is a finite number converges; one that grows without bound diverges.
2.2 Continuity
is continuous at if is defined and . Informally: the graph can be drawn through without lifting the pen.
Polynomials, , and are continuous everywhere. Problems arise at the joins of piecewise functions and where a function is undefined.
2.3 Differentiability
is differentiable at if the graph has a well-defined tangent there: the gradient from the left equals the gradient from the right. Differentiable implies continuous, but not the other way round: is continuous at 0 but has a corner there (gradient on the left, on the right), so it is not differentiable at 0.
For a piecewise function to be differentiable at a join , two things must hold: the pieces have the same value at (continuity) and the same derivative at .
2.4 Differentiation from first principles
This is the gradient of the chord from to , in the limit as the chord shrinks to a tangent. The method is always the same: substitute, simplify the numerator until every term has a factor of , cancel , and only then let .
The two harder cases need an algebra trick before can be cancelled. These are the ones examiners like.
Notation matters in first-principles proofs. Write "" on every line until the limit is actually taken, and do not substitute while is still in a denominator. Markschemes often give the final A1 only if the limit is written correctly.
2.5 Higher derivatives
Differentiating again gives the second derivative , and so on. The th derivative is written or . Patterns in higher derivatives are often proved by induction.
A table of values shows a limit numerically: enter in a Lists & Spreadsheet or table and use and . The limit( template in the Calculus menu gives the exact limit. For a derivative at a point use Calculus → Numerical derivative at a point.
3Explore it
The red line is the chord from to . Shrink towards 0 and watch the chord gradient approach the gradient of the tangent (green).
4Common mistakes & exam tips
Common mistakes
- Substituting before cancelling, which gives .
- Dropping "" from the working, or writing it after the limit has been taken.
- Expanding as .
- Checking only continuity when the question asks for differentiability, or only the gradients and not the values.
- Thinking that a function equal to at a point has no limit there.
Exam tips
- In first-principles questions, the final answer is usually known in advance: the marks are for the method, so show every line.
- For -type functions combine fractions; for roots multiply by the conjugate.
- For piecewise questions, write two equations clearly labelled "continuity" and "differentiability".
- If asked for , write out at least three derivatives so the pattern is clear.
5Practice
Fluency questions build the basics. Problem-solving questions make you think about which method to use.
6Exam-style questions
Original questions in the style of the IB exam, with full markschemes. Give yourself about 1 minute per mark.
Use differentiation from first principles to find the derivative of .
| M1 | |
| A1 | |
| A1 | |
| A1 |
The function is defined by , where . is differentiable at .
- (a)Find the value of .[3]
- (b)Find the value of .[3]
| (a) | |
| derivatives: and | M1 |
| A1 | |
| A1 | |
| (b) | |
| continuity: | M1 |
| A1 | |
| A1 | |
Use differentiation from first principles to show that the derivative of is .
| M1 | |
| M1 | |
| A1 | |
| A1 | |
| AG A1 |
7Check yourself
Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.
8Past-paper practice
Once you're scoring well above, try real IB questions. Your school or teacher will have these papers.
| Paper | Question | Focus | Difficulty |
|---|---|---|---|
| May 2024 · TZ1 · Paper 1 | Q11 | Limits of a function as tends to particular values | ★★ |
| Nov 2023 · TZ1 · Paper 1 | Q9 | Using a given limit to find an unknown constant | ★★★ |
