Leaving Certificate Mathematics7.1 The derivative from first principles

All books

7.1 The derivative from first principles — Learn

Prerequisites: substituting a number into a formula; the gradient of a straight line from two points; expanding (x+h)2(x + h)^2 and (x+h)3(x + h)^3.

Objectives: find the average gradient of a curve over an interval; take the limit as the interval shrinks; differentiate x2x^2, x3x^3 and simple polynomials from first principles.

By the end of this section you can build the derivative from the gradient of a chord, and say what the limit means.

The average gradient of a curve

A straight line has one gradient everywhere. A curve does not: its gradient changes as you move along it. To measure the gradient at a single point, start with the gradient over a short interval.

Take the curve y=x2y = x^2 and two points on it, at xx and at x+hx + h. The gradient of the line joining them is

change in ychange in x=(x+h)2−x2h.\frac{\text{change in } y}{\text{change in } x} = \frac{(x + h)^2 - x^2}{h}.

This line is called a chord. Its gradient is the average gradient of the curve over that interval.

Example 1. Find the average gradient of y=x2y = x^2 between x=3x = 3 and x=3.1x = 3.1.

3.12−323.1−3=9.61−90.1=0.610.1=6.1\frac{3.1^2 - 3^2}{3.1 - 3} = \frac{9.61 - 9}{0.1} = \frac{0.61}{0.1} = 6.1

The average gradient over that short interval is 6.16.1.

Shrinking the interval

If hh gets smaller, the two points move closer together and the chord turns towards the tangent at the single point xx. The gradient of the tangent is what we want.

Before you read on, predict what happens to the chord's gradient as hh shrinks. Then move hh yourself and check.

Figure 1

The chord and the tangent both start on screen, so you can watch the gap between their gradients close. The tangent's gradient does not move: it is 2x2x, and the chord is catching up to it.

For y=x2y = x^2, simplify the average gradient before shrinking hh:

(x+h)2−x2h=x2+2xh+h2−x2h=2xh+h2h=2x+h.\frac{(x + h)^2 - x^2}{h} = \frac{x^2 + 2xh + h^2 - x^2}{h} = \frac{2xh + h^2}{h} = 2x + h.

The division by hh is allowed here, because hh is small but not zero. Now let hh shrink towards zero. The term hh disappears, and 2x+h2x + h settles towards 2x2x.

The derivative. The derivative of ff at xx is the limit of the average gradient as hh goes to zero:

f′(x)=lim⁡h→0f(x+h)−f(x)h.f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}.

The derivative is the instantaneous rate of change of ff. On a graph it is the gradient of the tangent at the point.

Example 2. Differentiate f(x)=5x+2f(x) = 5x + 2 from first principles.

(5(x+h)+2)−(5x+2)h=5x+5h+2−5x−2h=5hh=5\frac{(5(x + h) + 2) - (5x + 2)}{h} = \frac{5x + 5h + 2 - 5x - 2}{h} = \frac{5h}{h} = 5

There is no hh left to shrink, so f′(x)=5f'(x) = 5. The derivative of a straight line is its gradient.

Example 3. Differentiate f(x)=x3f(x) = x^3 from first principles.

Expand (x+h)3=x3+3x2h+3xh2+h3(x + h)^3 = x^3 + 3x^2h + 3xh^2 + h^3. Subtract x3x^3 and divide by hh:

3x2h+3xh2+h3h=3x2+3xh+h2.\frac{3x^2h + 3xh^2 + h^3}{h} = 3x^2 + 3xh + h^2.

Every remaining term after the first carries an hh. Let hh go to zero and they all vanish, leaving f′(x)=3x2f'(x) = 3x^2.

Notation

Two notations are used for the derivative, and both mean the same thing.

The second notation is useful when the letters carry meaning. If VV is a volume and tt is a time, then dVdt\dfrac{dV}{dt} is a rate of change of volume with respect to time.

Predict, then test. For y=x2y = x^2 at x=3x = 3, predict the gradient of the tangent before you calculate. Write the prediction down. Then work out the average gradient over intervals of width 0.10.1, 0.010.01 and 0.0010.001 starting at x=3x = 3. Each answer should get closer to your prediction. Finish by explaining in one sentence why the answers approach a value instead of passing it.

Progress check

Back to the chapter problem. The volume in the tank after tt minutes is V(t)=12t2−t3V(t) = 12t^2 - t^3 litres.

Estimate the rate at t=4t = 4 minutes by working out the average rate from t=4t = 4 to t=4.1t = 4.1. Work out V(4)V(4) and V(4.1)V(4.1) first, then divide the change in volume by 0.10.1.

Keep your estimate. Section 7.2 finds the exact derivative, and you can compare the two.

You should now be able to

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.