Five standard derivatives, for xn, sinx, cosx, ex and lnx, and three rules let you differentiate almost every function in the course. The handles a function inside another function. The and handle products and fractions.
You'll be able to
Differentiate xn for any rational n, and sinx, cosx, ex and lnx.
Differentiate sums and constant multiples of these functions, term by term.
Use the on a such as ex2+2 or sin(3x−1).
Use the and the , with the chain rule inside them when needed.
Use a derivative to find a gradient or solve f′(x)=0: exactly on Paper 1, and with a GDC on Paper 2.
Before you start3 quick questions on what this builds on
In 5.3 you differentiated whole-number powers of x. Exam questions also use roots, sinx, cosx, ex and lnx. Each has its own , and all of them are in the formula booklet.
Start with powers. The works for every rational power, not just whole numbers. Rewrite roots and fractions as powers of x first.
In the formula booklet
f(x)=xn⇒f′(x)=nxn−1
Here n∈Q, so n can be any fraction, positive or negative. Useful rewrites are x=x21, 3x=x31 and x21=x−2.
Worked exampleDifferentiate f(x)=63x+x4, for x>0.
Try it first, then reveal one step at a time.
Rewrite each term as a power of x: 63x=6x31 and x4=4x−21.
First term: bring the power down, then lower it by 1. 6×31x31−1=2x−32.
Second term: 4×(−21)x−21−1=−2x−23. Take care: −21−1=−23.
Add the results. Negative and fractional powers are fine in the answer unless the question asks for another form.
f′(x)=2x−32−2x−23
Now the trig functions. In calculus, angles are in radians. The results below are only true in radians.
The gradient of y=sinx at each point equals the height of y=cosx below it.
Look at the tangents on y=sinx. At x=0 the gradient is 1, at x=2π it is 0 and at x=π it is −1. Those are exactly the values of cosx. So the gradient function of sinx is cosx.
In the formula booklet
f(x)=sinx⇒f′(x)=cosx
The graph of cosx is the graph of sinx moved 2π to the left. So its gradient graph is cosx moved 2π to the left, which is −sinx. That is where the minus sign comes from.
In the formula booklet
f(x)=cosx⇒f′(x)=−sinx
The number e≈2.718 is chosen so that y=ex has gradient exactly 1 where it crosses the y-axis.
Since ex+a=ea×ex, the curve near x=a is the curve near x=0 stretched upwards by the factor ea. The stretch multiplies the gradient by ea too, so the gradient at x=a is ea. The gradient always equals the height.
In the formula booklet
f(x)=ex⇒f′(x)=ex
lnx is the inverse of ex, so its graph is the reflection of y=ex in the line y=x. Reflecting swaps the rise and the run, so a gradient m becomes m1.
The point (x,lnx) on y=lnx reflects to (lnx,x) on y=ex. The gradient there is elnx=x. So the gradient of lnx is x1, for x>0.
In the formula booklet
f(x)=lnx⇒f′(x)=x1
Sums and multiples work just as they did for powers in 5.3. Differentiate a sum term by term, and keep a constant multiple in front.
Learn this
dxd[af(x)+bg(x)]=af′(x)+bg′(x)
A constant on its own, such as 7, e2 or ln3, differentiates to 0. It has no x in it, so it never changes.
Check yourself
Differentiate f(x)=x3+2x−cosx, for x>0.
Worked exampleLet f(x)=4sinx−x2. Find the equation of the tangent to the graph of f at the point where x=2π.
sin(3x−1) is not a sum of standard functions. It is sin applied to 3x−1: a , as in 2.5. It has an inside function, 3x−1, and an outside function, sin.
The key idea is that rates multiply. Suppose u changes 3 times as fast as x, and y changes 2 times as fast as u. Then y changes 2×3=6 times as fast as x.
Test it on y=(3x+1)2. Expanding gives 9x2+6x+1, whose is 18x+6. That equals 2(3x+1)×3: the outside's derivative, 2(…), times the inside's derivative, 3.
In the formula booklet
y=g(u), where u=f(x)⇒dxdy=dudy×dxdu
This is the , and it is in the booklet. In words: differentiate the outside, leave the inside alone, then multiply by the derivative of the inside.
1. Name the inside: let u be the expression in the brackets, under the root or in the power.
2. Write y in terms of u and find dudy. Then find dxdu.
3. Multiply the two, then write u back in terms of x.
Worked exampleLet f(x)=x2+9. Find f′(x). Hence find f′(4).
Try it first, then reveal one step at a time.
Inside: u=x2+9, so dxdu=2x.
Outside: y=u=u21, so dudy=21u−21.
Multiply: f′(x)=21(x2+9)−21×2x=x2+9x.
Substitute x=4: f′(4)=16+94=254=54.
f′(4)=54
With practice you can skip naming u. These patterns come up again and again, where f(x) is the inside:
Learn this
dxdef(x)=f′(x)ef(x)dxdln(f(x))=f(x)f′(x)
Learn this
dxdsin(ax+b)=acos(ax+b)dxdcos(ax+b)=−asin(ax+b)
Check yourself
Differentiate y=(2x−5)4.
Worked exampleDifferentiate y=ln(3x2+2)−4e1−2x.
Try it first, then reveal one step at a time.
Take one term at a time. In the first, the inside is 3x2+2, which differentiates to 6x.
So dxdln(3x2+2)=3x2+21×6x=3x2+26x.
In the second, the inside is 1−2x, which differentiates to −2. The outside, eu, differentiates to itself.
So dxd(−4e1−2x)=−4e1−2x×(−2)=8e1−2x.
Add the two parts. The two minus signs made the second term positive.
dxdy=3x2+26x+8e1−2x
Watch the notation sin2x. It means (sinx)2, so the outside is squaring and the inside is sinx. Its derivative is 2sinx×cosx=2sinxcosx.
Log laws from 2.9 can save work. Since ln(x3)=3lnx, its derivative is x3. The chain rule agrees: x33x2=x3.
Check yourself
Let f(x)=3sin(2x)+cos(4x). Find the exact value of f′(6π).
Worked exampleLet f(x)=e2x−6x. Find the exact coordinates of the point where the tangent to the graph of f is horizontal.
Try it first, then reveal one step at a time.
A horizontal tangent has gradient 0, so solve f′(x)=0.
Differentiate. The inside of e2x is 2x, which gives 2: f′(x)=2e2x−6.
Solve: 2e2x=6, so e2x=3. Take ln of both sides: 2x=ln3, so x=21ln3.
Find y from f, not from f′. Here e2x=3, so y=3−6×21ln3=3−3ln3.
(21ln3,3−3ln3)
Check yourself
The curve y=sin(x2), for 0≤x≤1, has gradient 1 at exactly one point. Use your calculator to find the x-coordinate of this point. Give your answer to 3 s.f.
The product rule
x2sinx is two functions multiplied together. Its is not the product of their derivatives. Test that idea on x×x=x2: the derivative is 2x, but 1×1=1.
Picture u×v as the area of a rectangle with sides u and v. Let u grow by a small amount δu and v by δv.
The area gains a strip uδv, a strip vδu and a tiny corner δuδv, which is too small to matter. So the rate of change of uv is u times the rate of v, plus v times the rate of u.
In the formula booklet
y=uv⇒dxdy=udxdv+vdxdu
This is the , and it is in the booklet. Set it out the same way every time. Write down u, v, dxdu and dxdv first, then fill in the formula.
Worked exampleDifferentiate y=x3lnx, for x>0.
Try it first, then reveal one step at a time.
Let u=x3 and v=lnx.
Then dxdu=3x2 and dxdv=x1.
Product rule: dxdy=x3×x1+ln(x)×3x2.
Simplify: x3×x1=x2, so dxdy=x2+3x2lnx.
dxdy=x2+3x2lnx
Check yourself
Differentiate y=xex.
Worked exampleLet f(x)=x2e−3x. Find the values of x for which f′(x)=0.
Try it first, then reveal one step at a time.
Let u=x2 and v=e−3x. Then dxdu=2x, and the gives dxdv=−3e−3x.
Product rule: f′(x)=x2(−3e−3x)+e−3x(2x).
Take out the common factor xe−3x: f′(x)=xe−3x(2−3x).
Solve f′(x)=0. e−3x is positive for every x, so it is never 0. That leaves x=0 or 2−3x=0.
x=0 or x=32
Check yourself
Let f(x)=(2x+1)sinx. Find f′(π).
Worked exampleLet f(x)=x2cosx, for 0<x<2. Find f′(x). Hence use your calculator to find the x-coordinate of the point where the graph of f has a horizontal tangent. Give your answer to 3 s.f.
A horizontal tangent needs f′(x)=0. Write down the equation you solve: 2xcosx−x2sinx=0.
Set the GDC to radians. Graph y=2xcosx−x2sinx and find its zero between 0 and 2: x=1.07687…
Round only at the end, to 3 s.f.
x≈1.08
The quotient rule
A fraction vu with x in both the top and the bottom needs the . It is in the booklet.
In the formula booklet
y=vu⇒dxdy=v2vdxdu−udxdv
Order matters, because of the minus sign. The top starts with v, the bottom of the fraction. Say it as: bottom times the of the top, minus top times the derivative of the bottom, all over the bottom squared.
If only the bottom contains x, as in x2+15, you can instead write 5(x2+1)−1 and use the chain rule. Both methods give the same answer.
Worked exampleDifferentiate y=x+3x2, for x=−3.
Try it first, then reveal one step at a time.
Let u=x2 and v=x+3. Then dxdu=2x and dxdv=1.
Quotient rule: dxdy=(x+3)2(x+3)(2x)−x2(1).
Expand the top: 2x2+6x−x2=x2+6x.
Leave the bottom as (x+3)2. It is more useful factorised, for example to see where the derivative is 0.
dxdy=(x+3)2x2+6x
Check yourself
Let f(x)=x+42x−1, for x=−4. Find f′(x).
Worked exampleLet f(x)=xlnx, for x>0. Find the exact coordinates of the point where f′(x)=0.
Try it first, then reveal one step at a time.
Let u=lnx and v=x. Then dxdu=x1 and dxdv=1.
Quotient rule: f′(x)=x2x×x1−ln(x)×1=x21−lnx.
A fraction is 0 only when its top is 0. So 1−lnx=0, which gives lnx=1 and x=e.
Find y from f: f(e)=elne=e1.
(e,e1)
Check yourself
Let g(x)=x2+1e2x. Find the exact value of g′(1).
Common mistakes
Writing the derivative of sinx as −cosx. The minus sign belongs only to cosx, whose derivative is −sinx.
Dropping the inside's derivative in the chain rule. ex2 gives 2xex2, and (3x−2)4 gives 12(3x−2)3, not 4(3x−2)3.
Multiplying the two derivatives for a product. The derivative of uv is udxdv+vdxdu, never dxdu×dxdv.
Reversing the top of the quotient rule. Starting with udxdv flips the sign of the answer, so always start with vdxdu.
Treating a constant as if it contained x. In e3x the e3 is just a number, so the derivative is e3. And −x differentiates to −1, not 0.
Using degree mode for a trig derivative on the GDC. Set radians before you graph, solve or find a gradient.
Exam tips
"Find f′(x)" and then a value: write the general derivative before you substitute. A bare value such as f′(2)=5 with no f′(x) shown can lose the method marks.
On Paper 1, keep answers exact. 21ln3, 2e2 and 3−23 are complete final answers.
On Paper 2, write down the equation you put into the GDC, such as 2xcosx−x2sinx=0, then give the answer to 3 s.f.