A-level Mathematics7.2 Differentiation from first principles

All books

7.2 Differentiation from first principles — Practise with help

Work each question closed book first. Write the four steps in order before you start: write f(x+h)f(x + h), subtract f(x)f(x), divide by hh, then let hh tend to zero.

Warm-up: remember

  1. Expand (x+h)2(x + h)^2.
  2. Expand (x+h)3(x + h)^3.
  3. Simplify 4h2+2hh\dfrac{4h^2 + 2h}{h}.
Answers
  1. (x+h)2=x2+2xh+h2(x + h)^2 = x^2 + 2xh + h^2.
  2. (x+h)3=x3+3x2h+3xh2+h3(x + h)^3 = x^3 + 3x^2h + 3xh^2 + h^3.
  3. Divide each term by hh: 4h+24h + 2.

If question 2 was hard, revise the binomial expansion in Chapter 4 before you continue.

Practise with help

1. Differentiate f(x)=x2+1f(x) = x^2 + 1 from first principles.

Hint

Write f(x+h)=(x+h)2+1f(x + h) = (x + h)^2 + 1, then expand the bracket. The constant 11 appears on both sides and cancels when you subtract.

Next step

f(x+h)−f(x)=(x2+2xh+h2+1)−(x2+1)=2xh+h2f(x + h) - f(x) = (x^2 + 2xh + h^2 + 1) - (x^2 + 1) = 2xh + h^2. Divide this by hh.

Full working 2xh+h2h=2x+h.\frac{2xh + h^2}{h} = 2x + h.

Let h→0h \to 0:

f′(x)=2x.f'(x) = 2x.

The constant 11 does not change the gradient, so the answer is the same as for x2x^2.

2. Differentiate f(x)=3x2f(x) = 3x^2 from first principles.

Hint

The factor 33 multiplies the whole bracket. Write f(x+h)=3(x+h)2f(x + h) = 3(x + h)^2, expand the bracket, then multiply each term by 33.

Next step

f(x+h)=3x2+6xh+3h2f(x + h) = 3x^2 + 6xh + 3h^2. Subtract 3x23x^2, then divide the result by hh.

Full working f(x+h)−f(x)=6xh+3h2,6xh+3h2h=6x+3h.f(x + h) - f(x) = 6xh + 3h^2, \qquad \frac{6xh + 3h^2}{h} = 6x + 3h.

Let h→0h \to 0:

f′(x)=6x.f'(x) = 6x.

The constant multiple 33 multiplied the derivative by 33.

3. Differentiate f(x)=x2−xf(x) = x^2 - x from first principles.

Hint

Handle the two terms separately. For the term −x-x, write −(x+h)-(x + h) and expand the bracket with its sign.

Next step

f(x+h)=x2+2xh+h2−x−hf(x + h) = x^2 + 2xh + h^2 - x - h. Subtract f(x)=x2−xf(x) = x^2 - x to leave 2xh+h2−h2xh + h^2 - h, then divide by hh.

Full working f(x+h)−f(x)=2xh+h2−h,2xh+h2−hh=2x+h−1.f(x + h) - f(x) = 2xh + h^2 - h, \qquad \frac{2xh + h^2 - h}{h} = 2x + h - 1.

Let h→0h \to 0:

f′(x)=2x−1.f'(x) = 2x - 1.

Each term of the function contributes its own part of the derivative.

4. Differentiate f(x)=x3+xf(x) = x^3 + x from first principles.

Hint

Use the expansion (x+h)3=x3+3x2h+3xh2+h3(x + h)^3 = x^3 + 3x^2h + 3xh^2 + h^3 for the cubic term, and expand (x+h)(x + h) for the linear term.

Next step

After subtracting f(x)=x3+xf(x) = x^3 + x, the difference is 3x2h+3xh2+h3+h3x^2h + 3xh^2 + h^3 + h. Divide every term by hh.

Full working 3x2h+3xh2+h3+hh=3x2+3xh+h2+1.\frac{3x^2h + 3xh^2 + h^3 + h}{h} = 3x^2 + 3xh + h^2 + 1.

Let h→0h \to 0. The terms 3xh3xh and h2h^2 vanish:

f′(x)=3x2+1.f'(x) = 3x^2 + 1.

5. A student differentiates f(x)=x2f(x) = x^2 like this:

Put h=0h = 0 in f(x+h)−f(x)f(x + h) - f(x). This gives 00. So the gradient is 00.

Explain the mistake and write the correct first step.

Hint

What happens to the fraction f(x+h)−f(x)h\dfrac{f(x + h) - f(x)}{h} if you put h=0h = 0 straight away?

Next step

With h=0h = 0 the numerator and the denominator are both zero. The expression 00\dfrac{0}{0} has no value. The student must divide by hh and cancel it first.

Full working

Setting h=0h = 0 too early gives 00\dfrac{0}{0}, which is undefined. The correct first move is to write f(x+h)−f(x)=2xh+h2f(x + h) - f(x) = 2xh + h^2, then divide by hh to get 2x+h2x + h. Only then does letting h→0h \to 0 give f′(x)=2xf'(x) = 2x, not 00.

6. Differentiate f(x)=5f(x) = 5 from first principles, and explain the answer by referring to the graph of ff.

Hint

For a constant function, f(x+h)f(x + h) is the same number as f(x)f(x). What is their difference?

Next step

f(x+h)−f(x)=5−5=0f(x + h) - f(x) = 5 - 5 = 0. Divide by hh to get 00, then take the limit.

Full working f(x+h)−f(x)h=5−5h=0,f′(x)=lim⁡h→00=0.\frac{f(x + h) - f(x)}{h} = \frac{5 - 5}{h} = 0, \qquad f'(x) = \lim_{h \to 0} 0 = 0.

The graph of f(x)=5f(x) = 5 is a horizontal line. A horizontal line has gradient zero everywhere, which matches the answer.

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.