Differentiation from first principles
A curve is steeper in some places than in others. Differentiation finds exactly how steep it is at any point. You will build the idea from a straight line, then learn the shortcut that every later calculus topic uses.
Where you will use this: finding a speed from a distance graph, how fast a tank fills or drains, the highest or lowest point of a curve (the next topic), and every Year 2 calculus topic.
This page assumes three skills. You can expand brackets. You can write roots and reciprocals as powers of x (indices). You can find the gradient of a straight line. The warm-up checks all three. It covers all four English exam boards: nothing here is specific to one board.
Warm-up: what do you already know?
Four quick questions. No marks. A wrong answer shows where to look.
Find the gradient of the straight line through (1, 3) and (4, 12).
- The gradient of a straight line is the rise divided by the run.
- Find the rise: the change in y from (1, 3) to (4, 12). Find the run: the change in x.
- Divide the rise by the run.
- You divided the run by the rise. The gradient is the rise divided by the run.
- That is the rise only (12 − 3). Divide it by the run, 4 − 1 = 3.
Rise = 12 − 3 = 9. Run = 4 − 1 = 3. Gradient = 9 ÷ 3 = 3. The line rises 3 units for each 1 unit across.
Quick recap of the algebra you need (skip if you are happy)
Write as a power of x. Type it like x^(-5).
- A negative power means one over the positive power. For example .
- Which power of x is on the bottom of the fraction?
- Write that power with a minus sign.
- That is x squared, not one over x squared. The power must be negative.
- The minus sign belongs in the power, not in front of the x.
, because a negative power means one over the positive power.
Write as a power of x. Type it like x^(2/3).
- A fractional power is a root. The square root is the power one half.
- Write x, then the power in brackets.
- That squares x. The square root is the power one half, not 2.
- The minus sign would give one over the square root of x. The square root itself has a positive power.
.
Expand and simplify . Type it like x^2+8x+4.
- Squaring a bracket means writing it twice: .
- Multiply every term in the first bracket by every term in the second.
- Join the two x terms.
- The two middle terms, 3x and 3x, are missing. is not .
- There are two 3x terms. They join to make 6x.
.
1. The gradient of a curve
The Gradient of a straight line is the same everywhere: rise divided by run. A curve bends, so its steepness changes from point to point. We need a way to talk about the steepness at one point.
Zoom in very close on a smooth curve and it looks like a straight line. That line is the tangent to the curve at that point. It touches the curve there and points the same way as the curve.
Key idea: the gradient of a curve at a point is the gradient of the tangent at that point.
To read a gradient, draw a triangle under the tangent and divide the distance up by the distance across. A positive gradient means the curve is rising at that point. A negative gradient means it is falling.
At A, the gradient is 2: the curve rises 2 units for each 1 unit across.
Worked example
The tangent to a curve at P passes through (1, 4) and (3, 10). Find the gradient of the curve at P.
- The gradient of the curve at P is the gradient of the tangent. Use the two points on the tangent.
- Rise = 10 − 4 = 6. Run = 3 − 1 = 2.
- Gradient = 6 ÷ 2 = 3. At P, the curve rises 3 units for each 1 unit across.
Now you finish it
The tangent to a curve at Q passes through (0, 9) and (3, 0). Find the gradient of the curve at Q.
- Rise = 0 − 9 = ___.
- Run = 3 − 0 = ___.
- Gradient = rise ÷ run = ___.
Check my answer
Rise = −9, run = 3, so the gradient is −9 ÷ 3 = −3. The gradient is negative, so the curve is falling at Q: it drops 3 units for each 1 unit across.
Check your knowledge: the gradient of a curve
A curve passes through the origin. The tangent to the curve at P is drawn. It passes through (1, 0) and (3, 6). Find the gradient of the curve at P.
- The gradient of the curve at P is the gradient of the tangent at P.
- Use the two points that lie on the tangent: (1, 0) and (3, 6).
- Divide the rise by the run.
- You divided the run by the rise. The gradient is the rise divided by the run.
- That is the gradient of the straight line from the origin to P. The question asks for the tangent at P, so use the two points on the tangent.
- That is the rise from (1, 0) to (3, 6) on its own. Divide by the run, 3 − 1 = 2.
Rise = 6 − 0 = 6. Run = 3 − 1 = 2. Gradient = 6 ÷ 2 = 3. At P the curve rises 3 units for each 1 unit across.
Two tangents are drawn to the same curve, one at A and one at B. At which point is the gradient of the curve greater?
- The gradient of the curve at a point is the gradient of the tangent there.
- Look at the two tangents. Which one rises more for each 1 unit across?
The tangent at B slopes up more steeply than the tangent at A, so the gradient of the curve is greater at B.
A straight line has equation . What is the gradient of the line at ?
- A straight line is its own tangent, so it has one gradient everywhere.
- In , the gradient is m.
- That is the value of y when x = 5. The question asks for the gradient.
- The gradient of a straight line does not change with x. It is the number in front of x.
- That is where the line crosses the y-axis, not its gradient.
The line has gradient 4 at every point, including at .
At a point on a curve, the tangent slopes down as you move from left to right. What does that tell you about the gradient of the curve there?
- A positive gradient is uphill from left to right. What is the opposite?
- The curve is falling at that point.
The tangent goes down as x increases, so its gradient is negative. The curve is falling at that point.
2. Chords closing in on a tangent
A tangent needs only one point, but we can estimate its gradient from two points. A chord is a straight line segment that joins two points on a curve. Its gradient is rise over run, like any line.
Take the point A (1, 1) on . Pick a second point B on the curve, further to the right. Now slide B along the curve towards A. The chord AB turns, and it gets closer and closer to the tangent at A.
Here are more chords from A, with the x-coordinate of B and the gradient of the chord AB:
- B at : .
- B at : .
- B at : .
- B at : .
- B at : .
The gradients 4, 3, 2.5, 2.1 and 2.01 are getting close to 2. That is the gradient of the tangent at A.
Key idea: as the second point of a chord moves towards the first, the gradient of the chord gets closer to the gradient of the tangent. Each chord gives an estimate. The gradient of the tangent is the value the estimates get close to. B can never be exactly A: a chord needs two different points.
Worked example
Estimate the gradient of at using the chord from to .
- At , . At , .
- Rise = 9.61 − 9 = 0.61. Run = 3.1 − 3 = 0.1.
- Gradient of the chord = 0.61 ÷ 0.1 = 6.1. This is an estimate. A closer point, , gives . The estimates are getting close to 6.
Now you finish it
Estimate the gradient of at using the chord from to .
- At , . At , . Rise = 6.25 − 4 = ___.
- Run = 2.5 − 2 = ___.
- Gradient of the chord = ___.
- The chord from to has gradient 4.1. The estimates are getting close to ___.
Check my answer
Rise = 2.25, run = 0.5, so the chord gradient is 2.25 ÷ 0.5 = 4.5. The estimates 4.5, 4.1, ... are getting close to 4: the gradient of the curve at .
Check your knowledge: chords
Find the gradient of the chord of from the point where to the point where .
- Find the y-coordinate at each end of the chord.
- At , . At , . Find the rise and the run.
- Divide the rise by the run.
- That is the rise on its own (16 − 1). Divide it by the run, 4 − 1 = 3.
- That is the run on its own (4 − 1). The gradient is the rise divided by the run.
Rise = 16 − 1 = 15. Run = 4 − 1 = 3. Gradient = 15 ÷ 3 = 5.
Find the gradient of the chord of from to . Give your answer to 2 decimal places.
- Find at and at .
- . Find the rise and the run.
- Divide the rise by the run.
- That is the rise (0.331) on its own. Divide it by the run, 0.1.
Rise = 1.331 − 1 = 0.331. Run = 0.1. Gradient = 0.331 ÷ 0.1 = 3.31.
Find the gradient of the chord of from to .
- At , . At , .
- Find the rise and the run.
- Divide the rise by the run.
- That is the rise on its own (12.25 − 9). Divide it by the run, 0.5.
Rise = 12.25 − 9 = 3.25. Run = 0.5. Gradient = 3.25 ÷ 0.5 = 6.5.
The gradients of four chords of , each starting at , are 5, 4.5, 4.1 and 4.01. Each chord ends nearer to than the one before. What value do the gradients get close to?
- Look at how the numbers change as the chords get shorter.
- The gradient of the curve at is the value they are getting close to.
- 4.01 is the last chord in the list. The values keep getting closer, so the value they get close to is lower than 4.01.
- 5 is the first chord in the list. The values get smaller as the chords get shorter, so the value they get close to is below 4.01. Look at the last few numbers.
5, 4.5, 4.1, 4.01, ... are getting close to 4. That is the gradient of the curve at .
The point B slides along a curve towards the point A. What happens to the chord AB?
- Picture B moving along the curve until it is almost on top of A.
- The line through two points that are almost the same point touches the curve at that point.
As B gets closer to A, the chord AB turns towards the tangent at A.
3. Limits, and differentiation from first principles
The limit idea
Look again at the chord from A (1, 1) to a point B on . Give B the x-coordinate . The number h is the run: how far B is to the right of A. (If h is negative, B is to the left. The algebra works for either sign.) So B is the point .
The rise is . The gradient of the chord is . We may divide the top and the bottom by h, because h is not 0. If h were 0, B would be A and there would be no chord. So for every h that is not 0, the gradient of the chord is .
As h gets closer to 0, gets closer to 2. We say that 2 is the limit of as h tends to 0 (h gets close to 0), and write
Read it as "the limit, as h tends to zero, of 2 plus h, is 2". "Tends to" means "gets as close as you like to".
Key idea: a limit is the value an expression gets close to as h gets close to 0. The expression does not have to reach that value, and h is never actually 0. So simplify first, while h is not 0, and then see what value the result gets close to. Do not put into the fraction: it gives 0 over 0, which has no value.
The derivative from the definition
Now do the same at any point. Write the curve as , read as "f of x". It means the height of the curve at x. Let A be the point and let B be the point .
The gradient of the chord is . The gradient of the curve at x is the limit of this as h tends to 0. This limit is called the derivative of f. It is written f′(x), read as "f dash of x".
Key idea (the definition of the derivative):
Using this to find a derivative is called differentiation from first principles.
The method is the same every time:
- Write and expand it.
- Find , divide by h and simplify. Now h should have cancelled.
- Let h tend to 0.
Worked example
Differentiate from first principles.
- .
- . Divide by h, which is allowed because h is not 0: .
- As h tends to 0, tends to . So .
The gradient of at any point is twice the x-coordinate. At it is 2, as the tangent triangle showed.
Now you finish it
Differentiate from first principles. Use .
- , which is ___.
- Divide by h: ___.
- As h tends to 0, the terms with h in them tend to 0. So ___.
Check my answer
The x³ terms cancel, leaving . Dividing by h gives . As h tends to 0 this tends to . So .
Check your knowledge: limits and first principles
For , the rise of the chord from x to is . Divide it by the run, h, and simplify. Type the gradient of the chord like 5x+3h.
- The gradient of the chord is the rise divided by the run.
- Divide every term in by h.
- Do not let h tend to 0 yet. This answer is the gradient of the chord, so it still contains h.
- That is the value the chord gradient gets close to as h tends to 0. The question asks for the chord gradient itself, which still has the h in it.
- That is the rise. Divide it by the run, h.
. This is the gradient of the chord. Letting h tend to 0 would then give .
Use differentiation from first principles to find for . Type it like 5x.
- Write . Expand it, then find .
- . Divide by h.
- Now let h tend to 0.
- That is the gradient of the chord. For the gradient of the curve, let h tend to 0: the 3h tends to 0.
- That is the derivative of . The 3 in front multiplies the whole result.
. Divide by h: . As h tends to 0, this tends to . So .
For , use to simplify the gradient of the chord, . Type it like 4x^2+5xh+h^2.
- First find . The terms cancel.
- What is left has h in every term. Divide each term by h.
- That is the value the gradient gets close to as h tends to 0. The question asks for the chord gradient, which still has h in it.
- That is the rise. Divide every term by the run, h.
- is not : it has four terms. The terms and are missing.
. Dividing every term by h gives .
In first principles working you see . Why is it allowed to divide by h?
- What would the fraction be if h were exactly 0?
- For there to be a chord, the two points must be different.
The chord joins two different points, so h is not 0 and we may divide by it. Only after simplifying do we ask what happens as h tends to 0.
Use first principles to find for . You may use . Type it like 5x^2.
- Find .
- . Divide by h.
- Let h tend to 0 in what is left.
- That is the gradient of the chord. For the gradient of the curve, let h tend to 0: the terms with h tend to 0.
- That is the derivative of . The 2 in front multiplies the whole result.
. Divide by h: . As h tends to 0 this tends to . So .
Write down the limit as h tends to 0 of . Type it like 5x.
- Look at each term. Which one changes as h changes?
- When h is close to 0, what is close to?
- The 7h part gets close to 0 as h tends to 0, so it should not be in the limit.
- Only the 7h part tends to 0. The 4x part does not contain h, so it stays.
tends to 0 as h tends to 0. does not depend on h. So .
4. Notation and the power rule
Two ways to write a derivative
If , the derivative can be written or . Say "dy by dx". The symbol means "the derivative of y with respect to x".
The letter d is not a number. It stands for "a small change in". So is a single symbol: you cannot cancel the d's. We also write , read as "d by dx of x squared is 2x". The symbol d by dx means: differentiate what follows with respect to x.
A pattern
We found two results from first principles: has derivative , and has derivative . The same method shows that has derivative . Two more facts. The derivative of is 1, because the graph of has gradient 1 everywhere. The derivative of a constant is 0, because the graph of is horizontal.
Key idea (the power rule):
Bring the power down to the front as a multiplier. Then subtract 1 from the power (this is "taking 1 off"). This works for every rational number n, wherever is defined: whole numbers, negative numbers and fractions.
We have proved the rule for and . The proof for every positive whole number n is in "Why it works" at the end of this page. For negative and fractional n we use the rule without proof here.
Constants, multiples and sums
Three more facts let you differentiate any sum of powers of x.
- A constant on its own has derivative 0.
- A constant multiple stays in front: . For example, has derivative .
- A sum is differentiated term by term: the derivative of is .
Why this works: multiplying a function by 5 multiplies every chord gradient by 5. Adding two functions adds their chord gradients. Both facts still hold after you take the limit.
Worked example
Find when .
- Differentiate each term. gives .
- gives . is , which gives 7. The constant gives 0.
- .
Now you finish it
Find when .
- gives ___.
- gives ___.
- is , which gives ___. The constant 8 gives ___.
Check my answer
. The term gives , which stays in the answer. The constant 8 gives 0, so it disappears.
Check your knowledge: the power rule
Differentiate with respect to x. Type like 3x^2.
- The power rule has two moves: bring the power down, then take 1 off the power.
- The power is 7. What is 7 − 1?
- You brought the 7 down but did not take 1 off the power. Change the power 7 to 7 − 1.
- You lowered the power but did not bring the 7 down to the front. Write the 7 in front of x^6.
.
Find when . Type it like 6x^2.
- The 5 is a constant multiple, so it stays. Differentiate and multiply by 5.
- . Now multiply by 5.
- You took 1 off the power but did not multiply by 4. Bring the 4 down and multiply it by the 5.
- You multiplied correctly, but the power must go down by 1: becomes .
- The 5 in front is a constant multiple, so it stays: .
.
Differentiate with respect to x. Type like 5x^2-3.
- Differentiate the three terms one at a time.
- gives . is . What does it give?
- The constant 1 gives 0.
- The constant 1 differentiates to 0. It does not stay in the answer.
- The term does not vanish. It is , which gives .
. The terms gave , and 0.
Find when .
- Sketch the graph of . What does it look like?
- What is the gradient of a horizontal line?
- 12 is the height of the line. The line is horizontal, so its gradient is 0.
- 1 is the derivative of x. A constant has a flat graph, so its derivative is 0.
The graph of is a horizontal line, so its gradient is 0 everywhere. .
Find when . Type it like 5x^2-3x.
- Differentiate each term. has the power 2 and a multiplier of .
- gives .
- For , bring the 2 down: , not .
- You multiplied correctly, but each power must go down by 1.
gives . gives . So .
What does mean?
- Think of how it was built: the limit of the gradient of a chord.
- The letter d means "a small change in".
is the derivative of y with respect to x. It is the limit of the chord gradient: the gradient of the curve.
5. Negative and fractional powers
The power rule works for every rational number n, wherever is defined. But a question rarely writes the powers for you. Before you differentiate, rewrite each term as a number times a power of x.
- A negative power means one over the positive power: , and .
- A fractional power is a root: , and .
- A number on the bottom of a fraction is a constant multiplier: .
Then use the same two moves: bring the power down, then take 1 off. Take care with the arithmetic. , and .
Worked example
Find when .
- Rewrite as powers: .
- Differentiate the first term: . Differentiate the second: .
- . You may write this as .
Now you finish it
Find when .
- Rewrite each term as a number times a power of x. The first term, , has the power ___. The second term, , has the power ___.
- So . The first term gives ___.
- The second term, , gives . The new power p is ___.
Check my answer
. In the other form, .
Check your knowledge: negative and fractional powers
Write as a number times a power of x. Type it like 7x^(-2).
- The 5 is on top, so it stays as a multiplier.
- The is on the bottom. What does that do to the sign of the power?
- The x is on the bottom of the fraction, so the power is negative: .
.
Find when . Type it like 5x^(-4) or like 5/x^4.
- Rewrite as a power of x.
- The power is . Bring it down as a multiplier.
- New power: .
- You added 1 to the power. The rule takes 1 away: .
- does not differentiate to . Rewrite it as and use the power rule.
- The power is , so the multiplier is , not 2. Keep the minus sign.
, so . In fraction form this is .
Find when . Give your answer using a power of x or a fraction, like 3x^(-2/3) or 1/(4x^(2/3)).
- Rewrite as a power of x.
- Bring the power down as a multiplier.
- New power: .
- You brought the one half down but did not take 1 off the power. .
- You lowered the power but did not bring the one half down. Write in front of .
, so . In fraction form this is .
Find when . Give your answer using a power of x, like 5x^(1/3), or using sqrt(x).
- The 4 is a constant multiple. Differentiate and multiply by 4.
- Bring down: . New power: .
- , which is positive. Check your subtraction: the new power is , not .
- You lowered the power but did not multiply by . Multiply 4 by to get the new multiplier.
- You added 1 to the power. The rule takes 1 away.
, which is .
Which of these is the derivative of ?
- Write as .
- Bring the power, , down in front. Then take 1 off the power.
, so . This agrees with the picture: the curve always falls.
Find the gradient of the curve at the point where . Give your answer as a fraction or a decimal.
- First find for .
- The gradient at is the value of when .
- The curve is falling, so the gradient is negative.
- That is at . The derivative is : the power goes down by 1.
. At : . The gradient is , which matches the picture of the tangent at .
6. Expand or split before you differentiate
The power rule works on a number times a power of x. A product of brackets, or a fraction with several terms on top, is not in that form. Rewrite it first: expand the brackets, and divide each term on top by the term on the bottom. We call this splitting the fraction.
- .
- . This is not : the two middle terms count.
- . Divide every term on top by x.
- . Add the powers when you multiply.
Worked example
Find when .
- Expand the top: .
- Divide each term by x: .
- Differentiate each term: . At the gradient is .
Take care. Do not differentiate the top and the bottom separately and divide. That would give , which is wrong.
Now you finish it
Find when .
- Divide each term on top by : ___ and ___.
- So .
- ___.
Check my answer
, so .
Check your knowledge: rewriting first
Find when . Type it like 5x^2-3.
- Expand the brackets first: multiply x by each term inside.
- You should have two terms, each a power of x.
- Differentiate each term.
- You multiplied the derivatives of x and of . That does not work. Expand first: .
, so .
Find when . Type it like 5x+7.
- Expand the bracket. Write it as .
- You should get three terms. Differentiate each one.
- The expansion is missing the middle term. , not .
, so .
Find when . Type it like 5x^(-3)+2, or like 5/x^3+2.
- Divide each term on top by x.
- You should get . Differentiate each term.
- You differentiated the top and the bottom separately. Divide each term on top by x first.
- The power of is , so its derivative is : keep the minus sign.
, so .
Find when . Give your answer using a power of x or sqrt(x), like 5x^(1/3) or 7sqrt(x).
- Write as a single power of x. Add the powers: .
- Differentiate .
- You multiplied the derivatives of x and of the square root of x. That does not work. Write the product as one power, , first.
, so .
Which of these is when ?
- Divide each term on top by x: .
- The constant 1 gives 0. Differentiate .
, so .
7. The second derivative
Differentiate a derivative and you get the second derivative. For it is written , read as "d two y by dx squared", or , read as "f double dash of x". Both forms mean: differentiate twice.
Take care with the notation. is not the same as .
The derivative tells you how steep the curve is. The second derivative tells you how fast the steepness is changing.
Key idea: if is positive at a point, the gradient is increasing as x increases, and the curve bends upwards. If it is negative, the gradient is decreasing, and the curve bends downwards.
Worked example
For , find . Then find its value at .
- .
- Differentiate again: .
- At : . The value 2 is positive, so the gradient is increasing at .
Now you finish it
For , find and its value at .
- ___.
- ___.
- At : ___. The value is negative, so the gradient is decreasing at .
Check my answer
and . At that is .
Check your knowledge: the second derivative
Find when . Type it like 5x^2+3.
- Differentiate once to find .
- . Differentiate that.
- The constant gives 0.
- That is . Differentiate once more.
- The constant differentiates to 0. It does not stay in the answer.
, so .
Find when . Type it like 5x-3.
- Find first.
- . Differentiate again.
- That is . means differentiate twice.
, so .
Find the value of when , for .
- Find , then , as expressions in x.
- Then put into the second derivative.
- That is at : . You need , which comes from differentiating twice.
- That is the second derivative as an expression. Put into it to get a number.
and . At : . The value 12 is positive, so the gradient is increasing there.
At one point on a curve, . What does that tell you?
- The second derivative is the derivative of the gradient.
- A negative derivative means the thing is decreasing. What is the thing here?
is the rate of change of the gradient. The second derivative here is negative, so the gradient is decreasing as x increases.
The gradients of a curve are measured at , and . They are , and . Is the second derivative positive, negative or zero for x from 0 to 2?
- The second derivative is about how the gradient changes, not what it is.
- Do the gradients get larger or smaller as x increases?
The gradients go from to to 1. They increase, so the second derivative is positive.
8. Sketching the graph of the derivative
The derivative is a function of x, so it has a graph of its own. You can sketch it from the graph of f without any algebra, by reading the gradient of f at each place. (Exam questions may call the derivative the "gradient function". It means the same thing. This book always says "derivative".)
Key idea: read the sign and the size of the gradient of f at each x, then plot that as the height of f′.
- Where f rises as you go right, is positive, so the graph of is above the x-axis.
- Where f falls, is negative, so the graph of is below the x-axis.
- Where the tangent to f is horizontal, , so the graph of touches or crosses the x-axis.
- The steeper f is, the further the graph of is from the x-axis.
There is a pattern in the highest power of x. The derivative of a cubic is a quadratic. The derivative of a quadratic is a straight line. Each differentiation lowers the highest power by 1.
Worked example
Describe the graph of for , using only the shape of the solid curve above.
- For , f rises. So is positive: the dashed curve is above the axis.
- At , the tangent is horizontal. So : the dashed curve crosses the axis.
- For , f falls. So is negative. At , again. For , f rises again, so is positive.
- Check by algebra: , which is 0 at and and negative between them. ✓
Now you finish it
A curve rises for , has a horizontal tangent at , and falls for . Describe .
- For , the curve rises, so is ___ (write positive, negative or zero).
- At , the tangent is horizontal, so ___.
- For , the curve falls, so is ___.
Check my answer
is positive for , zero at and negative for . The graph of goes from above the axis, through the axis at , to below it.
Check your knowledge: the graph of the derivative
The graph shows . Use it to find the two values of x where . Type them with "or" between, like 1 or 3.
- is the gradient of the curve. It is 0 where the tangent is horizontal.
- Find the two places where the curve is flat. Read their x-values from the axis.
- Those are the y-values of the two flat points. The question asks for the x-values.
- At the curve passes through the origin, falling steeply. The tangent there is not horizontal.
The tangent is horizontal at the top of the left hill and the bottom of the right valley. Reading across, those are at and .
The graph shows . For which values of x is negative? Type your answer as an inequality, like 1<x<4.
- is negative where the curve falls as you go to the right.
- Find where the curve goes down from left to right. Give the range of x-values.
- That is where the curve rises, so is positive there. The curve falls between the two flat points.
The curve falls between its two flat points, so is negative for . It is positive outside that range.
The graph of is a U-shaped parabola with its lowest point at . Which description fits the graph of ?
- What is the gradient of f at its lowest point?
- To the left of that point f falls; to the right it rises. What sign does the gradient have on each side?
At the lowest point the tangent is horizontal, so . On the left f falls, so is negative. On the right f rises, so is positive. A straight line through sloping up does all of this.
The graph of is a cubic curve. What shape is the graph of ?
- A cubic has as its highest power.
- What does the power rule do to the highest power?
differentiates to . So the derivative of a cubic has as its highest power: it is a quadratic.
For the curve in the first question of this set, . Use to find .
- is the gradient of the curve at .
- Put into .
- is the height of the curve. is its gradient, which comes from .
- The curve is falling at , so the gradient is negative.
. The gradient is negative, which agrees with the graph in the first question: the curve is falling, steeply, at the origin.
9. The derivative as a rate of change
The gradient of a graph tells you how fast y changes when x increases. So is the rate of change of y with respect to x.
Key idea: the units of are the units of y, per unit of x. If s is in metres and t is in seconds, is in metres per second. A positive rate means y is increasing. A negative rate means y is decreasing.
The gradient of a chord is an average rate of change over a stretch of time. The gradient of the tangent is the rate of change at one moment. Differentiation finds the rate at one moment.
Worked example
A cyclist travels s metres in t seconds, where for . Find how fast the distance is changing when .
- .
- At : .
- The rate of change is 8 metres per second. At s, the cyclist is moving at 8 m/s.
Now you finish it
A tank holds V litres of water after t minutes, where for . Find the rate of change of the volume when .
- ___.
- At : ___ litres per minute.
- The rate is negative, so the volume is ___ (write increasing or decreasing).
Check my answer
. At it is . The tank is losing water at 12 litres per minute: it is draining.
Check your knowledge: rates of change
A balloon holds V cm³ of air after t seconds, where . Find when . Give the number only, in cm³ per second.
- Differentiate V with respect to t.
- .
- Put into , not into V.
- That is V when , the volume. The question asks for the rate of change, .
- The derivative of is , not . Bring the 3 down and take 1 off the power.
. At : . The volume is increasing at 53 cm³ per second.
A car travels s km in t hours. What are the units of ?
- The rate of change is the change in s for each 1 unit of t.
- What does 1 unit of t mean here?
is the change in distance (km) per unit of time (hours), so it is in kilometres per hour.
The graph shows the distance s metres of a trolley after t seconds. The tangent at P is drawn. It passes through (2, 2) and (6, 14). Find the rate of change of s at the moment shown. Give the number only, in metres per second.
- The rate of change at P is the gradient of the tangent at P.
- Use the two points on the tangent: (2, 2) and (6, 14).
- Divide the rise by the run.
- That is the gradient of the chord from the origin to P (8 ÷ 4), an average rate. The rate at P is the gradient of the tangent at P.
- That is the rise (14 − 2) on its own. Divide it by the run, 6 − 2 = 4.
Rise = 14 − 2 = 12. Run = 6 − 2 = 4. Gradient = 12 ÷ 4 = 3. At P the distance is increasing at 3 metres per second.
The temperature T °C of a cup of tea after t minutes is for . Find when . Give the number only, in °C per minute.
- Differentiate T with respect to t. The constant 90 gives 0.
- .
- Put into .
- The tea is cooling, so the rate of change is negative. Keep the minus sign: .
- That is T when , the temperature. The question asks for the rate of change.
. At : . The tea is cooling at 12 °C per minute.
10. The gradient at a point
To find the gradient of a curve at a point, follow two steps.
- Differentiate to find .
- Put the x-value of the point into .
Key idea: put the x-value into the derivative, not into the original equation. The original equation gives the height of the curve. The derivative gives its gradient. The y-coordinate of the point is not needed to find the gradient.
Worked example
Find the gradient of at the point (1, 2).
- .
- At : .
- The gradient is . The curve is falling steeply at (1, 2).
Now you finish it
Find the gradient of at the point where .
- Rewrite: . Then ___.
- At : ___.
- The gradient at is 2. The curve is rising there.
Check my answer
. At it is .
Check your knowledge: gradient at a point
Find the gradient of the curve at the point where .
- Differentiate first: find .
- . Now put into it.
- That is y when , the height of the curve. The gradient comes from .
. At : .
Find when . Give your answer as a fraction.
- Rewrite as , then differentiate.
- . Now put into it.
- means one over the square root of 9.
- A negative power means one over: , not 3.
- The 4 is multiplied by the one half: , not .
. At : .
The curve has gradient 12 at two points. Find the x-values of both points. Type them with "or" between, like 1 or 3.
- Find , then set it equal to 12.
- . Solve for x.
- A positive number has two square roots, one positive and one negative.
- There is a second answer: has two solutions, and . Give both.
- That is . The question asks for x, so take the square root.
. Set , so , so or . The gradient is 12 at both points: .
Flip it: from the gradient back to the function
Differentiating goes from a function to its derivative. Now run it backwards: given a derivative, find a function that has it.
Forwards
Start with . Differentiate: .
Backwards
Start with . Which function has this derivative? does. So does , and so does . A constant differentiates to 0, so the derivative cannot tell these functions apart.
Key idea: undoing a derivative gives a whole family of functions that differ only by a constant. One point on the curve fixes the constant. To undo the power rule, do its two moves backwards: add 1 to the power, then divide by the new power. Check every answer by differentiating it.
This undoing has a name, integration. It is a later topic. Here you only need to guess a function and check it.
The same flip works on graphs. In section 8 you went from the graph of f to the graph of . Backwards, the graph of tells you the gradient of f at each x. Where is above the x-axis, f is rising. Where is below, f is falling. Where crosses the axis, f is flat.
Worked example
A curve has and passes through (1, 5). Find its equation.
- Undo each term. comes from , because . And comes from .
- So , where c is a constant.
- The curve passes through (1, 5): , so . The equation is . Check: differentiating gives . ✓
Now you finish it
A curve has and passes through (0, 3). Find its equation.
- comes from ___, and comes from ___.
- So . At the point (0, 3): , so ___.
- The equation is .
Check my answer
and , so . The point (0, 3) gives .
Check your knowledge: flip it
A curve has and passes through (0, 5). Find its equation. Type it like 2x^2+1.
- Which function differentiates to ? Try and see what you get.
- Which multiple of has derivative ? Then add a constant, c.
- Use the point (0, 5) to find c.
- That differentiates correctly, but the curve must pass through (0, 5). At this gives 0. Add the constant that fixes it.
- differentiates to , not . Check by differentiating.
. At (0, 5): . So . Check: . ✓
A curve has and passes through (2, 1). Find its equation. Type it like x^2-3x+5.
- Undo each term of . Which power of x has derivative ? Which term has derivative ?
- Write your terms, then add a constant c.
- Put and into the equation to find c.
- Add the constant c. The curve must pass through (2, 1), and is 0 at .
- Put both terms into the equation: . The term counts too.
. At (2, 1): , so . So .
The graph shows . At which value of x does the graph of have a horizontal tangent?
- A horizontal tangent means the gradient of f is 0.
- The graph shows , the gradient of f. Where is it 0?
- That is where the graph meets the y-axis: . A horizontal tangent needs , where the graph meets the x-axis.
- 2 is the gradient of the line in the picture. A horizontal tangent needs : look for where the line meets the x-axis.
where the graph of crosses the x-axis, which is at . So the graph of f has a horizontal tangent at .
. For , is f increasing or decreasing?
- Pick a value of x greater than 1, such as 3. What is ?
- What does the sign of the gradient tell you about the curve?
For , . A positive gradient means f is increasing.
Both and have . Why do they have the same derivative?
- What is the derivative of a constant?
- The derivative of a sum is the sum of the derivatives.
The derivative of is . The derivative of is . The constant differentiates to 0 in each case.
Spot the mistake
Finding an error in someone else’s working helps you learn. For each one, decide what went wrong.
Asha says: . What went wrong?
- Write the power rule: .
- Put into it and compare.
The rule gives . She has lost the multiplier 3.
Ben says: , so . What went wrong?
- Sketch the graph of .
- What is the gradient of a horizontal line?
The graph of is a horizontal line, so .
Chen says: , so . What went wrong?
- Rewrite as a power of x first.
- Apply the power rule to .
, so . Check the sign: for the curve falls, so the gradient must be negative.
Dee says: for , . She puts , gets , and says . What went wrong?
- Is it allowed to put into a fraction that has h on the bottom?
- Simplify the fraction while h is not 0. What do you get?
While h is not 0, . As h tends to 0 this tends to , so .
Eli says: means . For , , so . What went wrong?
- Does the 2 in mean squaring?
- Differentiate once more.
means differentiate twice. , and differentiating again gives .
Check your knowledge: mixed review
Find when . Type it like 5x^3-2x+4.
- Differentiate each of the four terms.
- gives . gives .
- gives 1. The constant gives 0.
- The constant differentiates to 0. It does not stay in the answer.
- For , bring the 2 down and multiply: .
.
Find when . Type it like 5x-3x^(-2), or like 5x-3/x^2.
- Rewrite as .
- Differentiate : bring down and take 1 off the power.
- Differentiate .
- The power is , so the multiplier is : the term is . Keep the minus sign.
- The power of the first term must go down by 1: .
, so . In the other form, .
Find the gradient of the curve at the point where .
- Differentiate first: .
- Put into . Take care with the minus sign.
- at is , not 6. Then .
- That is y when , the height of the curve. The gradient comes from .
. At : . The curve is falling steeply there.
Find the value of when , for . Give your answer as a fraction or a decimal.
- Differentiate twice. First .
- Differentiate again: bring down and take 1 off the power.
- Put . Remember .
- That is at : . You need .
- is 2, not 1. Multiply by 2.
and . At : .
For , the gradient of the chord from x to simplifies to . Find . Type it like 5x+7.
- is the limit of the chord gradient as h tends to 0.
- Which terms contain h? What happens to them?
- That is the gradient of the chord. Let h tend to 0: the tends to 0.
- Only the tends to 0. The 3 does not contain h, so it stays.
As h tends to 0, tends to 0. The terms and 3 do not contain h. So .
Find when . Type it like 5+x^(-3), or like 5+1/x^3.
- Divide each term on top by x.
- . Differentiate each term.
- You differentiated the top and the bottom separately. Divide each term on top by x first.
- The term is . Its derivative is : two minus signs make a plus.
, so .
A cyclist has travelled s metres after t seconds, where . Find how fast the distance is changing when . Give the number only, in metres per second.
- The rate of change of s is .
- . Put into it.
- That is s when , the distance. The question asks for the rate of change, .
. At : 7. The distance is increasing at 7 metres per second.
For , find the value of when . Give the number only. Then, on paper, say what the sign of your answer tells you about the gradient.
- . Differentiate again.
- Put into the second derivative.
- at is . Take care with the minus sign.
- That is at . You need the second derivative.
. At it is . The value is negative, so the gradient is decreasing as x increases through .
Exam style
Use these like a real paper. The marks tell you how much to write. M marks are for method. A marks are for an accurate answer. B marks are for a correct fact or statement.
Write your working on paper, then type the answer.
[4 marks] Differentiate from first principles. Type like 5x+7.
- The marks tell you the steps: expand, simplify the chord gradient, take the limit.
- . Expand it, then find .
- Divide by h, then let h tend to 0.
- That is the gradient of the chord. Let h tend to 0: the tends to 0.
- The term also contributes. Its chord gradient is , which does not contain h, so it stays.
. So . Divide by h: . As h tends to 0 this tends to . So .
- M1 for expanding correctly
- M1 for forming and simplifying it to
- M1 for letting h tend to 0 (the limit must be shown)
- A1 for
- , for .
(a) [3 marks] Find . Type it like 5-3x^(-2), or like 5-3/x^2.
- Expand the top first. Then divide each term by x.
- . You should get three terms, each a power of x.
- Differentiate each term.
- The term has the power , so its derivative is . Keep the minus sign.
- The term also differentiates, to . It does not disappear.
. So .
- M1 for expanding
- M1 for dividing each term by x to get
- A1 for
(b) [2 marks] Hence find the value of when .
- “Hence” means: use your answer to part (a).
- Differentiate . The 4 gives 0.
- Put into the result.
- : a minus times a minus is a plus.
- That is as an expression. Put into it to get a number.
. At : 18. The value 18 is positive, so the gradient is increasing there.
- M1 for differentiating to get
- A1 for 18
- A tank holds V litres of water after t minutes.
- , for .
(a) [2 marks] Find . Type it like 3-4t.
- Differentiate each term with respect to t.
- The constant 120 gives 0. gives .
- gives : bring the 2 down.
- The constant 120 differentiates to 0. It does not stay.
.
- M1 for differentiating at least one term correctly
- A1 for
(b) [3 marks] Find the rate of change of the volume when . Give the number only, in litres per minute. Then, on paper, say what the sign of your answer means.
- Use your answer to part (a).
- Put into , not into V.
- The rate is negative: the volume is going down, so keep the minus sign.
- That is V when , the volume. The question asks for the rate of change.
. The rate is litres per minute. The sign is negative, so the volume is decreasing: the tank is losing 11 litres each minute at that moment.
- M1 for substituting into
- A1 for
- B1 for saying that the volume is decreasing (at 11 litres per minute)
[4 marks] , for . Find the exact value of . Give your answer as a fraction.
- Rewrite both terms as powers of x: and .
- Differentiate each term.
- Put into . Use .
- That is the first term only, . The second term also contributes.
- The second term is , which is negative. At it is , so subtract it.
, so . At : .
- B1 for rewriting as
- M1 for differentiating one term correctly
- A1 for
- A1 for
Why it works
- The tangent is the limit of chords. A chord needs two different points, so h is never 0. We simplify while h is not 0, and then ask what value the chord gradient gets close to. That is how a gradient at one point comes from a gradient between two points.
- The power rule, for positive whole n. Use the binomial expansion of . The first two terms are and . Every other term has at least in it. Subtract and divide by h: you get plus terms that each still contain h. As h tends to 0, those terms tend to 0. What is left is .
- Negative and fractional powers. The same rule holds, and the pictures agree: flattens as x grows, so its gradient falls. falls, so its gradient is negative. A full proof for these needs ideas from Year 2.
- Constant multiples and sums. If you multiply a function by 5, every chord gradient is multiplied by 5, and so is the limit. If you add two functions, the chord gradients add, and so do the limits.
- A constant has derivative 0. Its graph is horizontal, so every chord gradient is 0.
- The second derivative. It is the rate of change of the gradient. If the gradient is increasing, the tangent turns anticlockwise as you move right, and the curve bends upwards.
- Working backwards loses the constant. Constants differentiate to 0, so many functions share one derivative. A point on the curve fixes the constant.
Common traps
- Putting into the chord gradient before cancelling h.
- Stopping at , or writing it as the derivative. The limit has not been taken yet.
- Bringing the power down but not taking 1 off it, or taking 1 off but not bringing it down.
- Leaving a constant term in the derivative. It differentiates to 0.
- Differentiating or without rewriting them as powers first.
- Differentiating the top and the bottom of a fraction separately, or multiplying the derivatives of two factors.
- Losing a minus sign when the power is negative: .
- Putting the x-value into the original function instead of into the derivative.
- Reading as .
- Forgetting the constant when working backwards from a gradient.