Maths4UBETA

Elementary derivatives and the chain rule

Differentiate exponential, logarithmic and trigonometric functions, including inverse tangent and composite inputs.

Try the quick check →
Lesson 1 of 5

Section 1 of 5 · Core · about 6 min

Which rule belongs to each elementary function?

Choose the rule for each term. For a sum or difference, the original coefficients carry through.

FunctionDerivativeWhere it applies
exe^xexe^xAll real inputs
ln⁡x\ln x1x\frac1xx>0x>0
sin⁡x\sin xcos⁡x\cos xRadians
cos⁡x\cos x−sin⁡x-\sin xRadians
tan⁡x\tan xsec⁡2x\sec^2xRadians, cos⁡x≠0\cos x\ne0
arctan⁡x\arctan x11+x2\frac1{1+x^2}All real inputs

Worked example

Differentiate a sum

Find the exact gradient of y=2ex−3cos⁡x+arctan⁡xy=2e^x-3\cos x+\arctan x at x=0x=0.

  1. Keep the coefficients and differentiate term by term. The derivative of cosine is negative sine, so −3cos⁡x-3\cos x contributes 3sin⁡x3\sin x.

  2. The derivative is 2ex+3sin⁡x+11+x22e^x+3\sin x+\frac1{1+x^2}.

  3. At zero, e0=1e^0=1 and sin⁡0=0\sin0=0. The gradient is 2+0+1=32+0+1=3.

Your turn

Let y=4ex−2cos⁡x+3sin⁡xy=4e^x-2\cos x+3\sin x. Find y′(0)y'(0).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Section 2 of 5 · Core · about 8 min

How do exponentials and logarithms change through an inner function?

Write the inner expression as u(x)u(x). Each term in a sum can have a different inner expression.

Worked example

Use two different inner derivatives

For y=e4x−x2+ln⁡(3x−5)y=e^{4x-x^2}+\ln(3x-5), find the domain and the exact gradient at x=4x=4.

  1. The logarithm requires 3x−5>03x-5>0. The exponential places no further restriction, so the domain is x>53x>\frac53.

  2. The exponent has derivative 4−2x4-2x, and the logarithm's argument has derivative 33. Thus y′=(4−2x)e4x−x2+33x−5y'=(4-2x)e^{4x-x^2}+\frac3{3x-5}.

  3. At x=4x=4 the exponent is zero and the logarithm's argument is 77. The gradient is −4+37=−257-4+\frac37=-\frac{25}{7}.

Worked example

Trace a curved exponent

Find the exact gradient of y=e3x2+5xy=\mathrm e^{3 x^{2} + 5 x} at x=0x=0.

Try it on paper first.

  1. Differentiate the inside and keep the same exponential.

  2. u=3x2+5xu=3 x^{2} + 5 x, so dudx=6x+5\frac{\mathrm du}{\mathrm dx}=6 x + 5.

  3. Differentiate to get dydx=(6x+5)ex(3x+5)\frac{\mathrm dy}{\mathrm dx}=\left(6 x + 5\right) \mathrm e^{x \left(3 x + 5\right)}.

  4. Substitute x=0x=0 after differentiating. The gradient is 55.

Your turn

For y=2e3x−x2+ln⁡(2x−1)y=2e^{3x-x^2}+\ln(2x-1), give the domain and the exact gradient at x=3x=3.

Use inequalities in x or interval notation. Join intervals with ‘or’ or ∪. Enter an isolated value on its own.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Section 3 of 5 · Core · about 8 min

Which angle appears after differentiation?

Carry the same argument into the differentiated trigonometric function, then multiply by the rate of change of that argument.

Worked example

Use the correct inside angle

Find the exact gradient of y=cos⁡(3x)−tan⁡(x2)y=\cos(3x)-\tan\left(\frac x2\right) at x=π2x=\frac{\pi}{2}.

  1. The derivative of cos⁡(3x)\cos(3x) is −3sin⁡(3x)-3\sin(3x). The angle stays 3x3x, and its derivative is 33.

  2. The second term contributes −12sec⁡2(x2)-\frac12\sec^2\left(\frac x2\right), with inner slope 12\frac12.

  3. At x=π2x=\frac{\pi}{2}, the angles are 3π2\frac{3\pi}{2} and π4\frac{\pi}{4}. Thus y′=−3(−1)−12(2)=2y'=-3(-1)-\frac12(2)=2.

Your turn

Find the exact gradient of y=sin⁡(2x)+3tan⁡xy=\sin(2x)+3\tan x at x=π4x=\frac{\pi}{4}.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Section 4 of 5 · Core · about 7 min

Why does the arctangent derivative have a positive denominator?

arctan⁡u\arctan u gives the unique angle in (−π2,π2)\left(-\frac{\pi}{2},\frac{\pi}{2}\right) with tangent uu.

Worked example

Find two inputs with the same gradient

For y=arctan⁡(2x−1)y=\arctan(2x-1), find all xx-values where the gradient is 11.

  1. Differentiate the inverse tangent and multiply by the inner slope: y′=21+(2x−1)2y'=\frac2{1+(2x-1)^2}.

  2. Set the derivative equal to 11. The denominator is positive, so (2x−1)2=1(2x-1)^2=1.

  3. Use both signs: 2x−1=−12x-1=-1 or 2x−1=12x-1=1. The values are 00 and 11.

Worked example

Use the inverse-tangent chain rule

Find the exact gradient of y=2atan⁡(3x+1)y=2 \operatorname{atan}{\left(3 x + 1 \right)} at x=0x=0.

Try it on paper first.

  1. For tan⁡−1u\tan^{-1}u, the outer derivative with respect to uu is 11+u2\frac1{1+u^2}.

  2. Multiply this by the coefficient and by dudx=3\frac{\mathrm du}{\mathrm dx}=3.

  3. Differentiate to get dydx=6(3x+1)2+1\frac{\mathrm dy}{\mathrm dx}=\frac{6}{\left(3 x + 1\right)^{2} + 1}.

  4. Substitute x=0x=0 after differentiating. The gradient is 33.

Your turn

For y=arctan⁡(3x−2)y=\arctan(3x-2), find the gradient at x=1x=1 and find the xx-value where the gradient equals 33.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Section 5 of 5 · Core · about 5 min

Why should I substitute only after differentiating?

The derivative records how the function changes near an input. Substituting first turns a changing expression into a single number.

Worked example

Keep the derivative of the log argument

Find the exact gradient of y=ln⁡(3x2+8x+4)y=\ln{\left(3 x^{2} + 8 x + 4 \right)} at x=0x=0.

  1. Use ddxln⁡u=u′u\frac{\mathrm d}{\mathrm dx}\ln u=\frac{u^\prime}{u}.

  2. The given input lies in the positive argument branch because u(0)=4u(0)=4.

  3. Differentiate to get dydx=2(3x+4)3x2+8x+4\frac{\mathrm dy}{\mathrm dx}=\frac{2 \left(3 x + 4\right)}{3 x^{2} + 8 x + 4}.

  4. Substitute x=0x=0 after differentiating. The gradient is 22.

Your turn

Find the exact gradient of y=cos⁡(7x+π6)y=\cos{\left(7 x + \frac{\pi}{6} \right)} at x=0x=0.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Worked examples

Practise the method

Core practice

Question 1 of 4

0 / 4 checked in this collection

Question list

Core practice

Fresh variants

Exam-style

Differentiate a sum at zero

1 mark

Find the exact gradient of y=ex+3sin⁡x−2cos⁡xy=e^x+3\sin x-2\cos x at x=0x=0.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Full answer-format guide

Exact numbers: 3/2, sqrt(5), 2-sqrt(3), pi/6, 3*pi/2. Sets: {1,4}. Intervals: (3,5]; a round bracket excludes the endpoint. Infinity: inf; union: U; no solutions: empty. Separate coordinate pairs or triples with semicolons. Expressions: 2x^2+3x-1; equations: x^2=3x+1 or the polynomial equal to zero. Factors: x-1 ; x+2. Parameter fraction: numerator ; denominator. List integer answers individually.

Review the method

Progress stays in this browser. Create an account to save it or sign in.

Extra practice from this lesson

Trace a curved exponent

Find the exact gradient of y=e2x2−4xy=\mathrm e^{2 x^{2} - 4 x} at x=0x=0.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Keep the derivative of the log argument

Find the exact gradient of y=ln⁡(7x2+5x+2)y=\ln{\left(7 x^{2} + 5 x + 2 \right)} at x=0x=0.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Keep the inner angle when differentiating

Find the exact gradient of y=−cos⁡(5x+π6)y=- \cos{\left(5 x + \frac{\pi}{6} \right)} at x=0x=0.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Use the inverse-tangent chain rule

Find the exact gradient of y=−3atan⁡(5x−2)y=- 3 \operatorname{atan}{\left(5 x - 2 \right)} at x=0x=0.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Keep the inner angle when differentiating

Find the exact gradient of y=tan⁡(3x+π4)y=\tan{\left(3 x + \frac{\pi}{4} \right)} at x=0x=0.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Keep the derivative of the log argument

Find the exact gradient of y=ln⁡(−2x2+10x+5)y=\ln{\left(- 2 x^{2} + 10 x + 5 \right)} at x=0x=0.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Apply it · original exam-style problems

Show your working on paper and compare it with the worked solution and marking guidance.

Come back to what needs practice

Quick revision sheet (A4)

Your review plan starts after your first check.