Derivatives of eˣ, ln x and the trig functions
Most curves in this unit are built from a few pieces: eˣ, ln x, sin x, cos x and tan x. Learn each derivative once. The chain rule then handles any input: differentiate the outside, and multiply by the derivative of the inside.
1eˣ and ln x: keep the inner factor
| Function | Derivative |
|---|---|
Differentiate for x > 0, and find the gradient at x = 1.
- Differentiate e³ˣ: it gives itself, times 32e³ˣ → 2 × 3e³ˣ=6e³ˣ
- Differentiate ln x: it gives 1/x
- Substitute x = 1 last6e³ − 4/1
- Answergradient = 6e³ − 4
2sin, cos and tan: radians only
Find the gradient of at x = π/6, and the gradient of the normal there.
- Differentiate each term
- Substitute x = π/63cos(π/2) − 2sin(π/6)=3(0) − 2(1/2) = −1
- Normal gradient is −1 ÷ (tangent gradient)−1 ÷ (−1)=1
- Answergradient −1; normal gradient 1
3Several layers: work from the outside in
Differentiate and find the gradient at x = 0.
- Name the layersoutside: ln u, with u=2 + sin 3xinside u: sin v, with v=3x
- Differentiate each layerln u → 1/usin v → cos v3x → 3
- Multiply the three
- Substitute x = 03cos 0 ÷ (2 + sin 0)=3/2
- Answergradient = 3/2
| The curve | What changes | Rule |
|---|---|---|
| y = x²e⁻ˣ | two factors, both changing | the product rule |
| x = t² + 1, y = t³ − 3t | x and y both change with t | parametric |
| x² + xy + y² = 7 | y changes with x but is not alone | implicit |
4Try it
1 Differentiate .
2 Find the gradient of at x = π/4.
3 Differentiate .
- 1dy/dx = 5e⁵ˣ − 6/(2x + 1)
- 2dy/dx = −8sin 2x + sec²x; at π/4: −8(1) + 2 = −6
- 3dy/dx = −2sin 2x/(3 + cos 2x)
The product and quotient rules
When two changing factors are multiplied, each one moves the product. So the derivative of a product has two terms, one for each factor. F(x) = x²e⁻ˣ is the model: x² grows while e⁻ˣ dies away, and the rule finds where the balance turns.
1Product rule: one term for each factor
Differentiate .
- Name the factors and differentiate eachu=x², du/dx = 2xv=e⁻ˣ, dv/dx = −e⁻ˣ
- Put them into the ruleF′(x)=2x·e⁻ˣ + x²·(−e⁻ˣ)
- Take out the common factor e⁻ˣ
- Answer
2Turning points: e⁻ˣ is never zero
Find and classify the stationary points of F.
- Solve F′(x) = 0e⁻ˣ·x(2 − x)=0x=0 or x = 2
- Find each height from FF(0)=0F(2)=4e⁻² = 4/e²
- Read the sign of F′ either side− then + at x=0: minimum+ then − at x=2: maximum
- Answerminimum (0, 0); maximum (2, 4/e²)
3Quotient rule: the denominator’s term comes first
The same curve is . Differentiate it with the quotient rule.
- u = x², v = eˣdu/dx=2xdv/dx=eˣ
- Substitute in orderdy/dx=(eˣ·2x − x²·eˣ) ÷ (eˣ)²
- Cancel one eˣdy/dx=(2x − x²) ÷ eˣ
- Answerdy/dx = e⁻ˣ(2x − x²), the same as the product rule
4Tangent and normal at a point
Find the tangent and the normal to y = F(x) at x = 1.
- Point and gradientF(1)=1/eF′(1)=e⁻¹(2 − 1) = 1/e
- Tangent through (1, 1/e)y − 1/e=(1/e)(x − 1)y=x/e
- Normal: gradient −1 ÷ (1/e) = −ey − 1/e=−e(x − 1)
- Answertangent y = x/e; normal y = −ex + e + 1/e
5Try it
1 Differentiate .
2 Differentiate with the quotient rule.
3 Find the stationary point of .
- 13x²ln x + x³(1/x) = 3x²ln x + x²
- 2((x + 1)eˣ − eˣ)/(x + 1)² = xeˣ/(x + 1)²
- 3dy/dx = e⁻²ˣ(1 − 2x) = 0, so x = 1/2: the point (1/2, 1/(2e))
Parametric differentiation
Some curves are easiest to describe as a journey. A point moves, and a parameter t says where it is at each moment: x and y both depend on t. To find the gradient, ask how fast each one changes with t, then divide.
1Gradient in terms of t
For , , find dy/dx in terms of t.
- Differentiate both with respect to tdx/dt=2tdy/dt=3t² − 3
- Divide dy/dt by dx/dt
- Answer
2Tangent and normal: find the point from t first
Find the tangent and the normal at t = 2.
- Put t = 2 into x and yx=2² + 1 = 5y=2³ − 3(2) = 2
- Put t = 2 into dy/dx(3(4) − 3) ÷ (2(2))=9/4
- Tangent through (5, 2)y − 2=(9/4)(x − 5)9x − 4y − 37=0
- Normal: gradient −4/9y − 2=−(4/9)(x − 5)4x + 9y − 38=0
- Answertangent 9x − 4y − 37 = 0; normal 4x + 9y − 38 = 0
3Turning points: dy/dt = 0, dx/dt ≠ 0
Find the stationary points of the curve.
- Top of dy/dx is zero3t² − 3=0t=−1 or t = 1
- Put each t into x and yt=−1: (2, 2)t=1: (2, −2)
- Answer(2, 2) and (2, −2)
4Points where the gradient is given
Find the points on the curve where the gradient is 3/2.
- Set dy/dx equal to 3/2 (t ≠ 0)(3t² − 3)/(2t)=3/23t² − 3=3t
- Solve the quadratic in tt² − t − 1=0t=(1 ± √5)/2
- Use t² = t + 1 to simplify x and yx=t² + 1 = t + 2y=t(t² − 3) = t(t − 2) = −t + 1
- Substitute each t into x = t + 2 and y = 1 − tt=(1 + √5)/2 or t = (1 − √5)/2
- Answer((5 + √5)/2, (1 − √5)/2) and ((5 − √5)/2, (1 + √5)/2)
5Try it
1 For x = t³, y = t² + 2t, find dy/dx in terms of t.
2 For x = 2t + 1, y = t² − 4t, find the stationary point.
3 For x = t², y = 2t, find the tangent at t = 1.
- 1(2t + 2)/(3t²)
- 2dy/dx = (2t − 4)/2 = 0 at t = 2: the point (5, −4)
- 3dy/dx = 2/(2t) = 1 at (1, 2): y = x + 1
Implicit differentiation
The oval x² + xy + y² = 7 has two values of y for most x, so it cannot be written as y = …. It still has a gradient. Differentiate every term with respect to x: each y-term picks up a factor dy/dx.
1Differentiate every term, then collect dy/dx
Find dy/dx for .
- Differentiate term by term2x + (x·dy/dx + y) + 2y·dy/dx=0
- Keep the dy/dx terms on one side(x + 2y)·dy/dx=−(2x + y)
- Divide (x + 2y ≠ 0)
- Answer
2Gradient, tangent and normal at a point
Find the tangent and the normal at P(1, 2).
- Check P is on the curve1 + 2 + 4=7
- Gradient at P−(2 + 2) ÷ (1 + 4)=−4/5
- Tangent through Py − 2=−(4/5)(x − 1)4x + 5y=14
- Normal: gradient 5/4y − 2=(5/4)(x − 1)5x − 4y + 3=0
- Answertangent 4x + 5y = 14; normal 5x − 4y + 3 = 0
3ln y and trig terms: the same dy/dx factor
Find the gradient of ln y + xy = 2x at (0, 1).
- ln y and the product xy (y > 0)(1/y)·dy/dx + x·dy/dx + y=2
- Collect the dy/dx terms(1/y + x)·dy/dx=2 − y
- Answer(2 − 1) ÷ (1 + 0) = 1Check: ln 1 + 0 = 0. Then substitute.
Find the gradient of x cos y + sin 2y = 1/2 + √3/2 at (1, π/3).
- Product rule on x cos y; chain rule on sin 2ycos y − x sin y·dy/dx + 2cos 2y·dy/dx=0
- cos(π/3) = 1/2, sin(π/3) = √3/2, cos(2π/3) = −1/2(1/2) − (√3/2)·dy/dx − dy/dx=0
- Answerdy/dx = 1/(2 + √3) = 2 − √3Rationalise the denominator.
4Find unknown coefficients from a point and a gradient
The curve x² + Axy + By² = 7 passes through (1, 2), and its gradient there is −4/5. Find A and B.
- The point is on the curve1 + 2A + 4B=7A + 2B=3
- Differentiate implicitlydy/dx=−(2x + Ay) ÷ (Ax + 2By)
- Use the gradient at (1, 2)−(2 + 2A) ÷ (A + 4B)=−4/53A − 8B=−5
- Solve the pairA=3 − 2B, so 9 − 14B = −5
- AnswerA = 1, B = 1: the curve is x² + xy + y² = 7
5Try it
1 Find the gradient of x² + y² = 25 at (3, 4).
2 Find the gradient of x²y + y² = 12 at (2, 2).
3 Find the gradient of e²ʸ + xy = x at (1, 0).
- 12x + 2y·dy/dx = 0, so dy/dx = −x/y = −3/4
- 22xy + x²·dy/dx + 2y·dy/dx = 0: −8 ÷ 8 = −1
- 32e²ʸ·dy/dx + y + x·dy/dx = 1: (1 − 0) ÷ (2 + 1) = 1/3
Arctangent differentiation [P3]
Which angle has a tangent of 2? The answer is written arctan 2: arctan undoes tan. Its graph flattens towards π/2 and −π/2 without reaching them. Its gradient has a neat formula, and the chain rule works on it as usual.
1The rule, with its inner factor
For , find dy/dx and the tangent at x = 1/2.
- Let u = 2x; multiply by du/dx = 2
- Simplify
- At x = 1/2y=arctan 1 = π/4gradient=2 ÷ (1 + 1) = 1
- Tangent through (1/2, π/4)y − π/4=x − 1/2
- Answertangent y = x − 1/2 + π/4
2arctan inside a product
Find the gradient of at x = 0.
- Product ruleJ′(x)=eˣ·arctan 2x + eˣ·2/(1 + 4x²)
- Substitute x = 01(0) + 1(2)
- AnswerJ′(0) = 2
3Try it
1 Differentiate y = arctan(3x).
2 Differentiate y = x arctan x.
3 Find the gradient of y = arctan(x/2) at x = 2.
- 13/(1 + 9x²)
- 2arctan x + x/(1 + x²)
- 3(1/2) ÷ (1 + 1) = 1/4