Everything from the 8 lessons of this topic on a few pages: the key idea of each lesson, the diagram to remember, the points to learn and the traps examiners set. Read it, cover it, test yourself.
The derivative \(\dfrac{dy}{dx}\) or \(f'(x)\) gives the gradient of the tangent to \(y = f(x)\) at each point. Learn these, with \(x\) in radians: \(x^{n} \to nx^{n-1}\) (any rational \(n\)), \(\sin x \to \cos x\), \(\cos x \to -\sin x\), \(\tan x \to \sec^{2} x\), \(e^{x} \to e^{x}\), \(\ln x \to \dfrac{1}{x}\). Constant multiples stay and sums are differentiated term by term. For a function of a function, the chain rule says \(\dfrac{dy}{dx} = \dfrac{dy}{du} \times \dfrac{du}{dx}\): differentiate the outside, keep the inside, then multiply by the derivative of the inside.
Fig. 1: the curve y = x² with P(1, 1). The chord to Q₁(2, 4) has gradient 3 and the chord to Q₂(1.5, 2.25) has gradient 2.5. As Q moves along the curve towards P the chord gradients 3, 2.5, 2.1, 2.01, ... close in on 2, the gradient of the tangent at P
Rewrite roots and fractions as powers: \(\sqrt{x} = x^{\frac{1}{2}}\), \(\dfrac{a}{x^{n}} = ax^{-n}\); split a fraction over a single term.
Differentiate term by term with the standard results; keep constant multiples.
Chain rule: outside derivative, inside unchanged, times the inside derivative.
Second derivative: differentiate your first derivative again.
Gradient at a point: substitute the \(x\)-value into \(\dfrac{dy}{dx}\), in radians for trig.
Watch out!
Never differentiate the top and bottom of a fraction separately: split \(\dfrac{x^{2} + 3}{x}\) into \(x + \dfrac{3}{x}\) first. And keep the constant where it belongs: \(\dfrac{1}{2x^{3}} = \tfrac{1}{2}x^{-3}\), not \((2x)^{-3}\).
The sign of \(\cos x\): its derivative is \(-\sin x\), but the derivative of \(\sin x\) is \(+\cos x\). Also \(e^{x}\) does NOT follow the power rule (it is not \(xe^{x-1}\)), and a calculator in degree mode gives wrong gradients for trig functions.
The most common lost mark is forgetting the inside derivative: \(\dfrac{d}{dx}\ln(5x + 2)\) is \(\dfrac{5}{5x + 2}\), not \(\dfrac{1}{5x + 2}\), and \(\dfrac{d}{dx}\sin 3x\) is \(3\cos 3x\), not \(\cos 3x\). Check by asking: what is inside, and did I multiply by its derivative?
If \(y = uv\), then \(\dfrac{dy}{dx} = u\dfrac{dv}{dx} + v\dfrac{du}{dx}\). If \(y = \dfrac{u}{v}\), then \(\dfrac{dy}{dx} = \dfrac{v\dfrac{du}{dx} - u\dfrac{dv}{dx}}{v^{2}}\). Use the chain rule for each of \(u'\) and \(v'\) when they need it. Then take out common factors: a factorised derivative shows the form the question asks for and tells you at once where \(\dfrac{dy}{dx} = 0\).
Fig. 1: Why the product rule has two terms. A rectangle of sides u and v has area uv. When x changes a little, u grows by Δu and v by Δv, so the area gains a strip vΔu (teal), a strip uΔv (blue) and a tiny corner ΔuΔv (orange). Divide by Δx and let Δx tend to zero: the corner vanishes, leaving d(uv)/dx = u dv/dx + v du/dx. It is never just du/dx times dv/dx
Worked example: A power times an exponential
Differentiate \(y = x^{2}e^{3x}\), giving your answer in a fully factorised form.
\(u = x^{2}\), so \(u' = 2x\). \(v = e^{3x}\), so by the chain rule \(v' = 3e^{3x}\).
Both terms contain \(x\) and \(e^{3x}\): \[\frac{dy}{dx} = xe^{3x}(3x + 2)\]
Answer: \(\dfrac{dy}{dx} = xe^{3x}(3x + 2)\)
Four pieces, one rule, then tidy.
Spot the shape: a product \(uv\) or a quotient \(\dfrac{u}{v}\). A function inside another needs the chain rule as well.
List \(u\), \(u'\), \(v\), \(v'\), using the chain rule for brackets, roots and \(e^{kx}\).
Apply: product \(uv' + vu'\); quotient \(\dfrac{vu' - uv'}{v^{2}}\), bottom first, minus in the middle.
Tidy: use a common denominator for roots, take out every common factor, cancel brackets with \(v^{2}\).
Use it: set each factor of the numerator to zero (never divide by \(x\)), ignore \(e^{kx}\), and find \(y\) from the original equation.
Watch out!
Multiplying the two derivatives is the classic error: for \(x^{2}e^{3x}\) it gives \(2x \times 3e^{3x} = 6xe^{3x}\), which is wrong. The second classic error is dropping the chain rule inside \(v\): the derivative of \(e^{3x}\) is \(3e^{3x}\), not \(e^{3x}\), and the derivative of \(\sin 2x\) is \(2\cos 2x\).
Writing \(u v' - v u'\) on top puts the terms the wrong way round and gives the negative of the answer: for \(\dfrac{\ln x}{x}\) it gives \(\dfrac{\ln x - 1}{x^{2}}\). Also, \(\dfrac{u'}{v'}\) is not the derivative of \(\dfrac{u}{v}\): differentiating the top and bottom separately is never allowed.
In \(xe^{-x}(2 - x) = 0\), dividing both sides by \(x\) throws away the solution \(x = 0\); set each factor to zero instead. And never set the DENOMINATOR to zero: in Example 2, \(x = \tfrac{3}{2}\) makes \(\dfrac{dy}{dx}\) undefined, not zero, because the curve is not defined there.
At the point \((x_{1}, y_{1})\) on a curve, the tangent has gradient \(m = \dfrac{dy}{dx}\) evaluated at \(x_{1}\), and equation \(y - y_{1} = m(x - x_{1})\). The normal is perpendicular to the tangent, so its gradient is \(-\dfrac{1}{m}\). Stationary points are where \(\dfrac{dy}{dx} = 0\). If \(\dfrac{d^{2}y}{dx^{2}} < 0\) there, the point is a maximum; if \(\dfrac{d^{2}y}{dx^{2}} > 0\), a minimum. If the second derivative is zero or awkward, check the sign of \(\dfrac{dy}{dx}\) just either side: \(+\) then \(-\) is a maximum, \(-\) then \(+\) is a minimum.
Fig. 1: the curve y = x³ - 6x² + 9x + 1 with its tangent (gradient -3) and normal (gradient 1/3) at P(2, 3). The gradient is zero at the maximum (1, 5) and the minimum (3, 1)
Worked example: Tangent and normal at a point
Find the equations of the tangent and the normal to the curve \(y = x^{3} - 6x^{2} + 9x + 1\) at the point \(P\) where \(x = 2\).
\(y = 8 - 24 + 18 + 1 = 3\), so \(P\) is \((2, 3)\).
Multiply by 3: \(3y - 9 = x - 2\), so \(3y = x + 7\).
Answer: Tangent \(y = -3x + 9\); normal \(3y = x + 7\) (Fig. 1)
Differentiate, substitute, then decide.
Point first: if you only have \(x\), find \(y\) from the curve.
Gradient: substitute \(x\) into \(\dfrac{dy}{dx}\); the normal uses \(-\dfrac{1}{m}\).
Line: \(y - y_{1} = m(x - x_{1})\); give the form the question asks for.
Stationary points: solve \(\dfrac{dy}{dx} = 0\) by factorising, then find each \(y\).
Nature: sign of \(\dfrac{d^{2}y}{dx^{2}}\), or the sign of \(\dfrac{dy}{dx}\) either side, with the conclusion written out.
Watch out!
The normal gradient is \(-\dfrac{1}{m}\): flip AND change the sign. \(\dfrac{1}{m}\) or \(-m\) on its own is wrong. And substitute into \(\dfrac{dy}{dx}\) before writing the line: \(y - 3 = (3x^{2} - 12x + 9)(x - 2)\) is not a straight line.
Do not cancel \(x\) from \(3x^{2} - 6x = 0\) to get \(x = 2\) only: factorise, \(3x(x - 2) = 0\), and keep \(x = 0\) as well. And finish the job: 'find the stationary points' wants coordinates, not just \(x\)-values.
Always write the conclusion with its reason, for example '\(\dfrac{d^{2}y}{dx^{2}} = -1 < 0\), so maximum'. A bare value of the second derivative, or 'maximum' with no working, loses the mark. And \(\dfrac{d^{2}y}{dx^{2}} = 0\) does not mean anything on its own: test the sign of the gradient either side.
If \(y\) depends on \(x\) and \(x\) changes with time \(t\), then \(\dfrac{dy}{dt} = \dfrac{dy}{dx} \times \dfrac{dx}{dt}\). Find \(\dfrac{dy}{dx}\) from the formula, put in the given value, then multiply by the known rate (or divide, if the unknown rate is \(\dfrac{dx}{dt}\)). A quantity that is decreasing has a NEGATIVE rate. For a small change \(\delta x\) in \(x\), the change in \(y\) is approximately \(\delta y \approx \dfrac{dy}{dx}\,\delta x\), with \(\dfrac{dy}{dx}\) taken at the starting value of \(x\).
Fig. 1: an inverted cone of height 20 cm and top radius 8 cm, partly filled with water to depth h. The water forms a smaller cone whose radius r and depth h are in the same ratio as the full cone, so r = 2h/5 and the volume of water can be written in terms of h alone
Worked example: A spreading ripple
The radius of a circular ripple increases at \(0.5\,\text{cm}\,\text{s}^{-1}\). Find the rate at which its area is increasing when the radius is \(4\,\text{cm}\).
\(A = \pi r^{2}\), so \(\dfrac{dA}{dr} = 2\pi r = 8\pi\) when \(r = 4\).
Formula: write the quantity in terms of ONE variable; for a cone use similar triangles to replace \(r\).
Differentiate, then substitute the value at that instant.
Connect: \(\dfrac{dy}{dt} = \dfrac{dy}{dx} \times \dfrac{dx}{dt}\); divide by \(\dfrac{dy}{dx}\) when \(\dfrac{dx}{dt}\) is the unknown.
Sign and units: decreasing means a negative rate; give units such as \(\text{cm}^{3}\,\text{s}^{-1}\).
Small increments: \(\delta y \approx \dfrac{dy}{dx}\,\delta x\) at the starting value; percentage change is \(\dfrac{\delta y}{y} \times 100\).
Watch out!
Substitute the value of \(r\) only AFTER differentiating. Putting \(r = 4\) into \(A = \pi r^{2}\) first gives the number \(16\pi\), whose derivative is 0. And check which rate is unknown: if you want \(\dfrac{dr}{dt}\), you divide by \(\dfrac{dV}{dr}\); multiplying gives \(10\,000\pi\), a radius growing faster than a jet.
Do not differentiate \(V = \frac{1}{3}\pi r^{2} h\) treating \(r\) as the fixed top radius 8. The water surface widens as the depth rises, so \(r\) changes too; replace it by \(\frac{2h}{5}\) BEFORE differentiating. And a rate for something decreasing must carry a minus sign, or every later rate has the wrong sign.
\(\delta y\) is the CHANGE in \(y\), not its new value: for \(y = 2x^{3}\) the new value is about \(16 + 24p\), and the change is \(24p\). Use \(\dfrac{dy}{dx}\) at the STARTING value (\(x = 2\), not \(2 + p\)), and remember the result is an approximation, so write \(\approx\).
To optimise a quantity: (1) write it in terms of ONE variable, using the given constraint (a fixed volume, perimeter or length) to remove the other; (2) differentiate and solve \(\dfrac{dy}{dx} = 0\), keeping only values that make physical sense; (3) justify the nature: \(\dfrac{d^{2}y}{dx^{2}} < 0\) gives a maximum, \(\dfrac{d^{2}y}{dx^{2}} > 0\) gives a minimum; (4) answer the question actually asked (often the greatest volume or least area, not \(x\)), with units.
Fig. 1: a 12 cm square sheet with an x cm by x cm square cut from each corner. Folding up the four flaps along the dashed lines makes an open box with a square base of side (12 - 2x) cm and height x cm, so its volume is V = x(12 - 2x)² cm³. Only 0 < x < 6 makes a real box
Worked example: The open box (Fig. 1)
A square of side \(x\) cm is cut from each corner of a square sheet of side 12 cm, and the sides are folded up to make an open box. Find the value of \(x\) that gives the greatest volume, and the greatest volume.
The base is a square of side \(12 - 2x\) and the height is \(x\), so \(V = x(12 - 2x)^{2}\), with \(0 < x < 6\).
\(\dfrac{dV}{dx} = 0\) gives \(x = 2\) or \(x = 6\). At \(x = 6\) the base has no width (\(V = 0\)), so reject it.
\(\dfrac{d^{2}V}{dx^{2}} = -96 + 24x = -48\) at \(x = 2\), which is negative, so this is a maximum.
\(V = 2 \times 8^{2} = 128\).
Answer: \(x = 2\); greatest volume \(128\) cm3
Model, differentiate, justify, answer.
Label a diagram and write the quantity to optimise.
Eliminate the second variable using the constraint (volume, perimeter, length).
Differentiate and solve \(\frac{dy}{dx} = 0\); reject values that make a length zero or negative.
Justify with the sign of \(\frac{d^{2}y}{dx^{2}}\): negative is a maximum, positive is a minimum.
Answer the question asked, with units: often the volume or area, not \(x\).
Watch out!
Do not stop at \(x = 2\) when the question asks for the greatest VOLUME, and do not keep a root such as \(x = 6\) that makes the box impossible. Check every answer against the domain \(0 < x < 6\).
In \(\dfrac{1000}{r}\) the 1000 is a constant, so write it as \(1000r^{-1}\) before differentiating: the derivative is \(-\dfrac{1000}{r^{2}}\), not \(\dfrac{1000}{r^{2}}\) and not 0. Never differentiate with both \(r\) and \(h\) still in the expression.
Read what the 'no lid' or 'open' wording does to the area: an open tank has ONE square face, not two. And state the reason with the sign of the second derivative every time; 'so it is a minimum' with no working loses the mark.
If \(\dfrac{\mathrm{d}}{\mathrm{d}x}F(x) = f(x)\), then \(\displaystyle\int f(x)\,\mathrm{d}x = F(x) + c\). For powers, \(\displaystyle\int x^{n}\,\mathrm{d}x = \dfrac{x^{n+1}}{n + 1} + c\) (\(n \ne -1\)) and \(\displaystyle\int \dfrac{1}{x}\,\mathrm{d}x = \ln|x| + c\). When the inside is \(ax + b\), integrate as if it were \(x\), then divide by \(a\). Rewrite products, quotients and roots as sums of powers BEFORE you integrate, and check any answer by differentiating it.
Fig. 1: three members of the family y = x² + c, all with dy/dx = 2x. At x = 1 every curve has gradient 2, so the dashed tangents are parallel: the gradient function alone cannot tell the curves apart. One extra point, here (1, 3), fixes c = 2
Rewrite as a sum of terms: roots as fractional powers, \(\dfrac{1}{x^{n}}\) as \(x^{-n}\), brackets expanded, fractions split over a single term.
Powers: add one to the power and divide by the new power; \(\dfrac{1}{x}\) gives \(\ln|x|\).
Linear inside \(ax + b\): integrate as if it were \(x\), then divide by \(a\). \(\sin\) gives \(-\cos\), \(\cos\) gives \(\sin\), \(\sec^{2}\) gives \(\tan\).
Add \(c\) to every indefinite integral; find it from a point by substituting into \(y\).
Hence: read the given derivative backwards, divide by any constant factor and integrate the extra terms. Check by differentiating.
Watch out!
You cannot integrate the top and bottom of a fraction separately, or the factors of a product separately: \(\displaystyle\int \frac{(x + 2)^{2}}{x}\,\mathrm{d}x\) is NOT \(\dfrac{(x + 2)^{3}/3}{x^{2}/2}\). Expand and split first. And only \(x^{-1}\) gives a logarithm: \(\displaystyle\int \frac{1}{x^{2}}\,\mathrm{d}x = -\frac{1}{x} + c\), not \(\ln x^{2}\).
Divide by \(a\), never multiply: \(\displaystyle\int \mathrm{e}^{3x}\,\mathrm{d}x = \frac{1}{3}\mathrm{e}^{3x} + c\), not \(3\mathrm{e}^{3x}\) (that is the derivative). Watch the signs too: \(\sin\) integrates to \(-\cos\), and a negative \(a\) flips the sign, as \(\displaystyle\int \mathrm{e}^{-2x}\,\mathrm{d}x = -\frac{1}{2}\mathrm{e}^{-2x} + c\).
Find \(c\) AFTER integrating, by substituting into \(y\), never into \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\); and the \(y\)-coordinate of the point is not \(c\) unless \(x = 0\). In a 'hence' question, deal with the extra terms: \(\dfrac{\mathrm{d}}{\mathrm{d}x}(x\ln x) = \ln x + 1\) does NOT mean \(\displaystyle\int \ln x\,\mathrm{d}x = x\ln x\).
If \(F'(x) = f(x)\), then \(\displaystyle\int_{a}^{b} f(x)\,dx = \big[F(x)\big]_{a}^{b} = F(b) - F(a)\), with no \(+\,c\). For a curve above the \(x\)-axis this is the area between the curve and the axis; below the axis the integral is negative, so split at the roots and add the sizes. The area between two graphs from \(x = a\) to \(x = b\) is \(\displaystyle\int_{a}^{b} (\text{top} - \text{bottom})\,dx\), where the limits are usually the \(x\)-coordinates of the points of intersection.
Fig. 1: the curve y = 6x - x² and the line y = x + 4 meet at A(1, 5) and B(4, 8). The shaded region R between them has area 4.5, found by integrating (curve - line) from x = 1 to x = 4
Integrate each term: \(\Big[x^{3} - 2x^{2} + x\Big]_{1}^{3}\).
Top limit: \(27 - 18 + 3 = 12\).
Bottom limit: \(1 - 2 + 1 = 0\).
Subtract: \(12 - 0\).
Answer: \(12\)
Sketch, find the limits, then integrate.
Integrate and write \(\big[F(x)\big]_{a}^{b}\); no \(+\,c\).
Substitute top limit minus bottom limit, bracketing the bottom value; keep \(\ln\), \(e\), \(\pi\) exact and use radians.
Find the limits of an area from the roots of \(y = 0\) or from solving the two equations simultaneously.
Split at roots: a region below the \(x\)-axis gives a negative integral, so add the magnitudes.
Between graphs integrate (top minus bottom), testing one \(x\)-value to see which is on top.
Watch out!
The order is top limit MINUS bottom limit, and the whole bottom value is subtracted. Bracket it: \(\big(27 - 18 + 3\big) - \big(1 - 2 + 1\big)\). Forgetting the bottom limit because 'it is probably zero' loses marks whenever it is not, as with \(e^{0} = 1\) or \(\cos 0 = 1\).
Never integrate straight across a root. A curve that is above the axis for part of the interval and below it for the rest gives (area above) minus (area below), which can even be zero. Find the roots first, integrate each piece, then add the magnitudes.
Integrating (bottom minus top) gives the right size with a minus sign. Decide which graph is on top by testing one \(x\)-value between the limits, and never quote a negative area: if your answer comes out negative, you subtracted the wrong way round.
For motion in a straight line, \(v = \dfrac{\mathrm{d}s}{\mathrm{d}t}\) and \(a = \dfrac{\mathrm{d}v}{\mathrm{d}t}\); going back, \(v = \displaystyle\int a\,\mathrm{d}t\) and \(s = \displaystyle\int v\,\mathrm{d}t\), each with a constant found from a known value (usually at \(t = 0\)). The particle is at rest when \(v = 0\) and changes direction when \(v\) changes sign. Displacement is \(\displaystyle\int_{t_1}^{t_2} v\,\mathrm{d}t\); total distance adds the sizes of the pieces between the times when \(v = 0\). Speed is \(|v|\).
Fig. 1: the velocity-time graph of v = 8 + 2t - t² for 0 ≤ t ≤ 5. The particle moves forwards (v above the axis) until it is at rest at t = 4, then moves backwards. The area above the axis is 80/3 and the area below is 10/3. Displacement counts the area below as negative, 70/3 m; distance adds the two sizes, 30 m
Worked example: Acceleration from velocity
A particle moves in a straight line so that \(t\) seconds after passing a fixed point \(O\) its velocity is \(v = 2t^{2} - 16t + 30\) m s-1. Find (a) the acceleration when \(t = 2\) (b) the times when the particle is at rest.
Up: \(v = \int a\,\mathrm{d}t\), \(s = \int v\,\mathrm{d}t\), and fix each constant from the given condition at once.
Key words: initially \(t = 0\); at rest \(v = 0\); at \(O\) \(s = 0\); maximum velocity \(a = 0\).
Distance: solve \(v = 0\), split the interval at each root, integrate each piece and add the sizes.
Graphs: gradient of \(s\)-\(t\) is \(v\), gradient of \(v\)-\(t\) is \(a\), area under \(v\)-\(t\) is displacement; speed is \(|v|\).
Watch out!
'At rest' means \(v = 0\), NOT \(a = 0\). A ball thrown upwards is at rest at the top while its acceleration is still \(-9.8\). Setting \(a = 0\) finds the time of greatest or least VELOCITY, a different question.
Never drop the constant. Without it, \(a = 6t - 4\) would give the same \(v\) for a particle that starts from rest and one that starts at 10 m s-1. And find \(c\) from the condition given: \(s = 0\) at \(t = 0\) does not make \(c = 0\) when the integral has a cosine term, since \(\cos 0 = 1\).
Integrating \(v\) straight from the start time to the end time gives the DISPLACEMENT, not the distance: any backward motion cancels. Always solve \(v = 0\) first, split the integral at every root inside the interval, and add the sizes.