Differentiation | IB - Wyatt's Notes
Limits and Continuity
Intuitive Notion of a Limit
The limit of a function as approaches is the value that approaches, regardless Of whether is defined:
This means that as gets arbitrarily close to , gets arbitrarily close to .
Left-Hand and Right-Hand Limits
A two-sided limit exists if and only if both one-sided limits exist and are equal:
:::note Example Find .
Since the one-sided limits are not equal, the limit does not exist.
| Limit | Value |
|---|---|
The Squeeze Theorem
If for all near (except possibly at ), and:
Then . ::: :::note Example Show that .
Since We have .
Both and .
By the squeeze theorem, .
Continuity
A function is continuous at if all three conditions hold:
- is defined
- exists
- ::: :::caution Exam Tip When asked whether a piecewise function is continuous at a boundary point, always check that the Left-hand limit, right-hand limit, and function value all agree.
The Derivative
Definition from First Principles
The derivative of at is defined as:
This limit, when it exists, gives the instantaneous rate of change of at And equals the Gradient of the tangent line to the curve at that point.
Alternative Form
Differentiability Implies Continuity
If is differentiable at Then is continuous at . The converse is not true: a Function can be continuous but not differentiable (e.g., at ). ::: :::note Example Differentiate from first principles.
\begin`\{aligned}` F'(x) &= \lim_\{h \to 0\} \frac\{(x+h)^2 - x^2\}\{h\} \\[6pt] &= \lim_\{h \to 0\} \frac\{x^2 + 2xh + h^2 - x^2\}\{h\} \\[6pt] &= \lim_\{h \to 0\} \frac\{2xh + h^2\}\{h\} \\[6pt] &= \lim_\{h \to 0\}(2x + h) \\[6pt] &= 2x \end`\{aligned}`Notation for Derivatives
Several notations are equivalent:
- — Lagrange notation (prime notation)
- — Leibniz notation
- — operator notation
- — Newton notation (time derivatives in physics)
Differentiation Rules
The Power Rule
For :
\frac\{d\}`\{dx}`[x^n] = nx^\{n-1\}Constant Multiple Rule
\frac\{d\}`\{dx}`[cf(x)] = c \cdot f'(x)Sum and Difference Rule
\frac\{d\}`\{dx}`[f(x) \pm g(x)] = f'(x) \pm g'(x)The Product Rule
If and Then:
\frac\{d\}`\{dx}`[uv] = u\frac`\{dv}``\{dx}` + v\frac`\{du}``\{dx}`::: :::note Example Differentiate .
The Quotient Rule
\frac\{d\}`\{dx}`\left[\frac\{u\}\{v\}\right] = \frac\{v\frac`\{du}``\{dx}` - u\frac`\{dv}``\{dx}`\}\{v^2\}::: :::caution Exam Tip A useful mnemonic for the quotient rule: “low d-high minus high d-low, over the square of what’s Below.” ::: :::note Example Differentiate .
Let and . Then and .
\begin`\{aligned}` F'(x) &= \frac\{(x-3)(2x) - (x^2+1)(1)\}\{(x-3)^2\} \\[6pt] &= \frac\{2x^2 - 6x - x^2 - 1\}\{(x-3)^2\} \\[6pt] &= \frac\{x^2 - 6x - 1\}\{(x-3)^2\} \end`\{aligned}`The Chain Rule
If Then:
\frac`\{dy}``\{dx}` = f'(g(x)) \cdot g'(x)Or in Leibniz notation, if and :
\frac`\{dy}``\{dx}` = \frac`\{dy}``\{du}` \cdot \frac`\{du}``\{dx}`::: :::note Example Differentiate .
Let So .
\frac`\{dy}``\{dx}` = 5u^4 \cdot 6x = 30x(3x^2+1)^4::: :::note Example Differentiate .
Let So .
\frac`\{dy}``\{dx}` = \cos u \cdot 4x = 4x\cos(2x^2+1)Derivatives of Standard Functions
| ::: | |
| :::caution | |
| Exam Tip | |
| The IB formula booklet provides the derivatives of \sin x$$\cos x$$\tan x$$e^x And . | |
| Memorise the derivatives of the reciprocal trig functions and inverse trig functions as they may not | |
| Be in all booklets. |
Implicit Differentiation
When a function is not given explicitly as but as a relation between and We Differentiate both sides with respect to and solve for .
Key Idea
When differentiating a term involving with respect to Use the chain rule:
\frac\{d\}`\{dx}`[y^n] = ny^\{n-1\}\frac`\{dy}``\{dx}`::: :::note Example Find for .
Differentiate both sides with respect to :
2x + 2y\frac`\{dy}``\{dx}` = 0 \frac`\{dy}``\{dx}` = -\frac\{x\}\{y\}At the point : . ::: :::note Example Find for .
3x^2 + 3y^2\frac`\{dy}``\{dx}` = 6y + 6x\frac`\{dy}``\{dx}` 3y^2\frac`\{dy}``\{dx}` - 6x\frac`\{dy}``\{dx}` = 6y - 3x^2 \frac`\{dy}``\{dx}`(3y^2 - 6x) = 6y - 3x^2 \frac`\{dy}``\{dx}` = \frac\{6y - 3x^2\}\{3y^2 - 6x\} = \frac\{2y - x^2\}\{y^2 - 2x\}Second Derivatives Implicitly
To find Differentiate again, remembering that is an expression in both and . ::: :::note Example Find for .
We have .
Differentiate with respect to :
\frac\{d^2y\}\{dx^2\} = -\frac\{y \cdot 1 - x \cdot \frac`\{dy}``\{dx}`\}\{y^2\}Substitute :
Related Rates
When two or more quantities are related by an equation, their rates of change are also related.
Strategy
- Identify the quantities that are changing and the rate(s) given.
- Write an equation relating the quantities.
- Differentiate both sides with respect to time ().
- Substitute known values and solve for the unknown rate. ::: :::note Example A spherical balloon is being inflated at a rate of . Find the rate at Which the radius is increasing when the radius is .
Volume of a sphere: .
Differentiate with respect to :
\frac`\{dV}``\{dt}` = 4\pi r^2 \frac`\{dr}``\{dt}`Substitute and :
10 = 4\pi(25)\frac`\{dr}``\{dt}` \frac`\{dr}``\{dt}` = \frac\{10\}\{100\pi\} = \frac\{1\}\{10\pi\} \approx 0.0318 \mathrm\{ cm/s\}::: :::note Example A ladder long rests against a vertical wall. The bottom slides away from the wall at . How fast is the top sliding down when the bottom is from the wall?
By Pythagoras: .
Differentiate: .
When : .
2(6)(1) + 2(8)\frac`\{dy}``\{dt}` = 0 \frac`\{dy}``\{dt}` = -\frac\{12\}\{16\} = -0.75 \mathrm\{ m/s\}The negative sign means the top is sliding down.
Second Derivatives and Higher Derivatives
Notation
F''(x) = \frac\{d^2y\}\{dx^2\} = \frac\{d\}`\{dx}`\left(\frac`\{dy}``\{dx}`\right) F'''(x) = \frac\{d^3y\}\{dx^3\} = \frac\{d\}`\{dx}`\left(\frac\{d^2y\}\{dx^2\}\right)::: :::note Example Find for .
Applications of Differentiation
Tangents and Normals
The tangent to at has gradient and equation:
The normal is perpendicular to the tangent, so its gradient is (when ):
::: :::note Example Find the equation of the tangent and normal to at .
At : and .
Since The tangent is horizontal: .
The normal is vertical: .
Increasing and Decreasing Functions
- is increasing on an interval if for all in that interval.
- is decreasing on an interval if for all in that interval.
- is stationary at if .
Stationary Points
A stationary point occurs where . There are three types:
| Type | First Derivative Test | Second Derivative Test |
|---|---|---|
| Local maximum | changes from to | |
| Local minimum | changes from to | |
| Point of inflection | does not change sign | (inconclusive alone) |
| ::: | ||
| :::caution | ||
| Exam Tip | ||
| When at a stationary point, the second derivative test is inconclusive. You must use | ||
| The first derivative test or check the sign of on either side. | ||
| ::: | ||
| :::note | ||
| Example | ||
| Find and classify the stationary points of . |
Setting : or .
At : So local maximum. . Point: .
At : So local minimum. . Point: .
Concavity and Points of Inflection
{/prettier-ignore/}
Use the sliders to adjust coefficients of a polynomial and observe how and Determine stationary points and concavity.
- is concave up on an interval if (the graph curves upward).
- is concave down on an interval if (the graph curves downward).
- A point of inflection occurs where the concavity changes, i.e., changes sign. ::: :::caution Exam Tip Not every point where is a point of inflection. The concavity must actually change. Always verify by checking the sign of on either side. ::: :::note Example Find the points of inflection of .
when or .
| Interval | Sign of | Concavity |
|---|---|---|
| Concave up | ||
| Concave down | ||
| Concave up |
Concavity changes at both and So both are points of inflection.
At : . Point: .
At : . Point: .
Optimization
Optimization problems involve finding the maximum or minimum value of a quantity subject to Constraints.
Strategy
- Define variables and identify the quantity to be optimised.
- Write an expression for the quantity in terms of a single variable.
- Differentiate and set the derivative equal to zero.
- Verify that the critical point gives a maximum or minimum.
- Answer the question in context. ::: :::note Example A piece of wire long is bent to form a rectangle. Find the dimensions that Maximise the area.
Let the dimensions be and . Then So .
Area: .
\frac`\{dA}``\{dx}` = 50 - 2x = 0 \implies x = 25So x = 25\mathrm{ cm}$$y = 25\mathrm{ cm}. The rectangle is a square with area . ::: :::note Example An open-top cylindrical can is to hold of liquid. Find the dimensions that Minimise the surface area.
Volume: So .
Surface area (no top): .
\frac`\{dA}``\{dr}` = 2\pi r - \frac\{1000\}\{r^2\} = 0The optimal open-top can has I.e., height equals radius.
L’Hopital’s Rule
If gives an indeterminate form or Then:
Provided the limit on the right exists. ::: :::note Example Evaluate .
Direct substitution gives So apply L’Hopital’s rule:
Still Apply again:
IB Exam-Style Questions
Question 1 (Paper 1 style)
Let .
(a) Find .
(b) Find the -coordinates of the stationary points.
or .
(c) Determine the nature of each stationary point.
At : So local maximum.
At : So local minimum.
(d) Find the equation of the tangent to the curve at .
and .
Question 2 (Paper 2 style)
A rectangular garden is to be constructed adjacent to a house, with the house forming one side of The rectangle. Fencing is required for the other three sides. of fencing is Available.
(a) If the side parallel to the house has length Show that the area is:
The two perpendicular sides have total length So each is .
(b) Find the value of that maximises the area.
\frac`\{dA}``\{dx}` = 30 - x = 0 \implies x = 30Maximum area .
Question 3 (Paper 1 style)
Given :
(a) Find in terms of and .
2x + y + x\frac`\{dy}``\{dx}` + 2y\frac`\{dy}``\{dx}` = 0 (x + 2y)\frac`\{dy}``\{dx}` = -(2x + y) \frac`\{dy}``\{dx}` = -\frac\{2x+y\}\{x+2y\}(b) Verify that the point lies on the curve and find the gradient at that point.
. Yes.
\frac`\{dy}``\{dx}`\bigg|_\{(1,2)\} = -\frac\{2+2\}\{1+4\} = -\frac\{4\}\{5\}Question 4 (Paper 2 style)
The curve has equation .
(a) Find .
Using the product rule with and :
\frac`\{dy}``\{dx}` = 1 \cdot e^\{-x\} + x \cdot (-e^\{-x\}) = e^\{-x\}(1 - x)(b) Find the coordinates of the stationary point and determine its nature.
.
.
.
At : So local maximum at .
(c) Find the point of inflection.
.
At : .
Since changes sign at This is a point of inflection at .
(d) Find the equation of the tangent at .
and .
Question 5 (Paper 1 style)
The radius of a circle is increasing at a rate of . Find the rate of change of The area when the radius is .
\frac`\{dA}``\{dt}` = 2\pi r \frac`\{dr}``\{dt}` = 2\pi(4)(0.5) = 4\pi \mathrm\{ cm\}^2\mathrm\{/s\}Question 6 (Paper 2 style)
Let .
(a) Find .
Using the quotient rule with u = x$$v = x^2 + 1:
(b) Find the range of values of for which is increasing.
.
(c) Find the stationary points.
.
At : .
At : .
Since changes from to at : local maximum at .
Since changes from to at : local minimum at .
(d) Find the equations of the asymptotes.
As : So is a horizontal asymptote.
The denominator for all real So there are no vertical asymptotes.
flowchart TD
A[2_Differentiationx] --> B[Key Concepts]
A --> C[Core Principles]
A --> D[Practical Applications]
B --> E[Fundamental definitions]
C --> F[Design patterns]
D --> G[Real-world usage]
Summary of Key Results
| Concept | Formula |
|---|---|
| First principles | |
| Power rule | |
| Product rule | |
| Quotient rule | |
| Chain rule | |
| Tangent at | |
| Normal gradient | |
| Increasing | |
| Decreasing | |
| Local max | f'(a) = 0$$f''(a) \lt 0 |
| Local min | f'(a) = 0$$f''(a) \gt 0 |
| ::: | |
| :::tip | |
| Exam Strategy | |
| For Paper 2 differentiation questions, always show your working . State which rule you are Using | |
| (product, quotient, chain) and lay out the substitution. Examiners award method marks for Correct | |
| application of rules even if arithmetic errors occur later. |
For the A-Level treatment of this topic, see Differentiation. :::
:::tip Diagnostic Test Ready to test your understanding of Differentiation? The contains the hardest questions
within the IB specification for this topic, each with a full worked solution.
Unit tests probe edge cases and common misconceptions. Integration tests combine Differentiation with other IB mathematics topics to test synthesis under exam conditions.
See for instructions on self-marking and building a personal test matrix.
Intuition
Differentiation asks a deceptively simple question: how fast is something changing right now? The derivative is the slope of the tangent line, which approximates the function locally as a straight line. The chain rule is the composition of rates — if a small change in x produces a change in u, and a change in u produces a change in y, then the total rate is the product of these two rates. The product rule captures how two growing quantities interact: when both x and y increase, the area of their product grows from two directions simultaneously. Implicit differentiation extends these ideas to curves defined implicitly, where y is entangled with x in ways that resist explicit solution.
Common Pitfalls
Forgetting to use the chain rule for composite functions. Identify the inner function first.
Confusing the derivative of with the derivative of . The latter requires the change of base formula.
Misreading the question, particularly with ‘hence’ vs ‘hence or otherwise’. The former requires using previous work.
Summary
- Chain rule:
- Product rule: ; quotient rule:
- Implicit differentiation: apply chain rule to terms with
- Related rates: differentiate with respect to
Cross-References
| Topic | Site | Link |
|---|---|---|
| [Differentiation] | A-Level | View |
| [Differentiation] | IB | View |
Worked Examples
Worked examples demonstrating the application of key concepts are covered in the detailed sub-pages linked above. :::