KS Maths
Topic 5.3 · AA and AI, SL and HL

Differentiating powers of x

Multiply by the power, then knock one off it

The rule in two moves, applied term by term, and the one kind of power your course does not ask you to touch.

This video lesson is a free sample. The plans open the rest of the lessons in this course, each with a figure to move and questions that check your answer as you type. See the plans.
Words you need (10 key words in this lesson)

The maths words this lesson uses, in plain English. Open this before you start if English is not your first language.

power
A small raised number that shows how many times to multiply a number by itself.2 to the power 3 is 8.
differentiate
Find how fast something is changing. Find the derivative.Differentiate x squared to get 2x.
term
One part of an expression, separated by plus or minus signs. Also, one number in a sequence.3x plus 2 has two terms.
gradient
How steep a line is. Up divided by across.A line going up 2 for each 1 across has gradient 2.
negative
Less than zero. A negative number has a minus sign.Minus 4 is a negative number.
fraction
A part of a whole. It is written with a top number and a bottom number.One half is a fraction.
derivative
A function that gives the gradient of a curve at each point.The derivative of x squared is 2x.
multiply
Add the same number many times. Find a product.3 multiplied by 4 is 12.
zero
The number 0. It is neither positive nor negative.5 minus 5 is zero.
write down
Give the answer with little or no working.Write down the median.

Warm-up

Four quick ones from earlier work. Try each on paper before you open the answer; a slip here shows you what to watch for later in the lesson.

  1. Find the gradient of the straight line through (1, 3) and (3, 11).
    Answer

    (11 − 3) ÷ (3 − 1) = 8 ÷ 2 = 4. Change in y over change in x: a derivative is this same idea for a curve, at one point.

  2. Expand and simplify (x + 2)(x − 3).
    Answer

    x² − 3x + 2x − 6 = x² − x − 6. A product of brackets has to be multiplied out before it can be differentiated term by term.

  3. Write 6/x³ using a negative power of x.
    Answer

    6x−3. A power in the denominator becomes a negative power in the numerator, and the 6 stays in front.

  4. Work out 2x³ − 5x when x = −2.
    Answer

    2(−8) − 5(−2) = −16 + 10 = −6. Cube the −2 first: (−2)³ is −8, and the second term then adds 10.

Words used in this lesson
derivative
a rule that gives the gradient of a curve at any point. For example: the derivative of x² is 2x.
gradient
how steep a line or curve is at a point. For example: a gradient of 3 means up 3 for each 1 across.
term
one part of an expression, separated by plus or minus signs. For example: 3x² − 4x + 1 has three terms.
coefficient
the number multiplying a power of x. For example: in −7x4 the coefficient is −7.
power (index, exponent)
the small raised number. For example: in x5 the power is 5.
constant
a number on its own, with no x. For example: the constant in 2x + 9 is 9.
rewrite
write in a different but equal form. For example: rewrite 3/x as 3x−1.
differentiate
find the derivative. For example: differentiate 4x³ to get 12x².
evaluate
work out the value. For example: evaluate 2x + 1 when x = 4.
hence
use the result you have just found. For example: “differentiate, and hence find the gradient” means use your derivative.

In 5.1 the gradient was a limit you estimated from a table. Nobody wants to build a table every time, so there is a rule. Press play and watch it happen to one term.

3x4 start One term. The power is 4 and the coefficient is 3.
3x4 → 12x4 Move 1. Multiply the front by the power: 4 × 3 = 12.
12x4 → 12x3 Move 2. Knock one off the power: 4 − 1 = 3.
If f(x) = axn then f′(x) = anxn−1
Two moves, always in that order.

Every term, one at a time

A polynomial is just several of those, and you do each one separately. Press play and watch each term get the same treatment.

f(x) = 3x4 − 5x2 + 7x − 2

3x4→ 12x3 4 × 3 = 12, and the power drops to 3.
−5x2→ −10x 2 × −5 = −10, and x1 is just x.
7x→ 7 7x is 7x1, so 1 × 7 = 7 and x0 = 1. A straight line has a constant gradient.
−2→ 0 A constant has no slope. Shifting a graph up or down never changes its gradient.
f′(x) = 12x3 − 10x + 7
Signs travel with their term.

Does the rule actually give the gradient?

Fair question, since 5.1 said a gradient was a limit. So let us check. On the left is the rule. On the right is a real chord across a tiny gap, worked out the 5.1 way. Move x and watch them agree.

g(x) = 2x³ + x² − 4x + 9   so   g′(x) = 6x² + 2x − 4

x = 1.00
4.000from the rule
4.000from a tiny chord

The chord uses a gap of 0.0001 either side. They agree to three decimal places everywhere, which is the point.

Negative powers are in. Roots wait for HL.

On Applications and Interpretation SL the power n is a whole number. It can be negative, so 1⁄x² is fair game. It is never a fraction, so at SL you are not asked to differentiate √x.

AI HL (sub-topic 5.9) and Analysis and Approaches allow any rational power, so there √x = x1/2 is differentiated with the same rule. If you see it in notes or a video made for those courses, that is why. For AI SL it is extra work you cannot be examined on.

Worked example: a negative power

Differentiate h(x) = 4x².

h(x)= 4x−2 rewrite it as a power first, always h′(x)= −2 × 4x−2−1 = −8x−3 the rule, unchanged = −8x³ back to a fraction if the question used one

Check it at x = 2: −8 ÷ 8 = −1. Negative, which fits, because 4⁄x² is falling at x = 2.

Knocking one off a negative power makes it more negative. −2 − 1 = −3, not −1. This is the single most common slip on this sub-topic, and it is a subtraction error rather than a calculus one.

Brackets and fractions: change the form first

The rule works on one power of x at a time. A product of brackets, or a fraction with several terms on top, has to be turned into separate powers before you differentiate. There is no shortcut that differentiates each bracket.

y= (x + 2)(x − 3) = x² − x − 6 expand first dydx= 2x − 1 then the rule, term by term y= x³ + 4x = x² + 4x−1 divide every term on top by x dydx= 2x − 4x−2 a negative power, handled as before

Differentiating (x + 2) and (x − 3) separately and multiplying the answers gives 1, which is wrong: the gradient of this curve changes with x.

A second example, finished by you

The same method on a new function. The first three steps are written out with the reason for each; the last one is yours. Cover the reasons and see whether you can say them first.

Let p(x) = 5/x³ + 2x². Find p′(2), to 2 decimal places.

  1. p(x) = 5x−3 + 2x²Rewrite the fraction as a power first. Then every term is in the form axn.
  2. First term: −3 × 5 = −15, and the power −3 − 1 = −4, so −15x−4Multiply by the power, then knock one off it. Knocking one off a negative power makes it more negative.
  3. Second term: 2 × 2 = 4, and the power drops to 1, so 4x. Hence p′(x) = −15x−4 + 4xEach term is done separately and its sign travels with it.
  4. Now substitute x = 2 into p′(x) and evaluate, being careful with the negative power.Your step. Write it out in full before you type the answer below.

Your answer. Type p′(2), to 2 decimal places.

Check before you go on

One question that tells you whether the main idea has landed. Each wrong option is a different common slip, so the reply tells you which one you made.

Differentiate f(x) = 6/x³ + 2 with respect to x.

Differentiate f(x) = 6/x³ + 2 with respect to x.

Where the gradient decides something

A water company models the yearly running cost E of a pipe of diameter d metres as E = 300/d² + 4d, in thousands of cost units. A wider pipe pumps more cheaply but costs more to make. The engineers want to know whether widening a 5 m pipe saves money, which depends on the sign of the gradient dE/dd at d = 5.

Find dE/dd when d = 5. Give your answer to 1 decimal place.

Your turn

1. For f(x) = 2x4 − 3x³ + 6x − 5, find f′(2).

2. Differentiate 3x4.

3. Which of these are you not expected to differentiate on Applications and Interpretation SL?

Where the marks go

Rewrite fractions as powers before you differentiate. Trying to differentiate 4⁄x² while it still looks like a fraction is where most wrong answers begin.

Do not lose the constant term by forgetting it exists. It differentiates to zero, which is a thing you did, not a thing you skipped.

If the question says "hence" it wants you to use the derivative you just found. A fresh calculator answer that ignores your own working can cost the method marks even when the number is right.

Something to think about

Show that the gradient of y = 1/x is negative at every point where it is defined. Then compare y at x = −1 and x = 1. Is the graph “decreasing everywhere”?

One way to think about it

Rewrite as x−1 and differentiate. Look at the sign of the answer for x = 2 and x = −2. Then work out y at x = −1 and at x = 1: which is bigger? What does the graph do at x = 0?

Climb to an exam question

Four steps, each one a little harder than the last. Every step is a piece of the exam question at the end, so by the top you have already done each part once.

Step 1 of 4: write the fraction as a power. Let g(x) = 18/x + 3x². Which line shows g(x) with the fraction written as a power of x?

Let g(x) = 18/x + 3x². Which line shows g(x) with the fraction written as a power of x?

Step 2 of 4: differentiate and substitute. Now let g(x) = 18x−1 + 3x². Find g′(3).

Step 3 of 4: say what the sign of the gradient means. For g(x) = 18x−1 + 3x², the derivative is g′(x) = −18x−2 + 6x, and g(1) = 21. What does g′(1) tell you about g at x = 1?

For g(x) = 18x⁻¹ + 3x², the derivative is g′(x) = −18x⁻² + 6x, and g(1) = 21. What does g′(1) tell you about g at x = 1?

Step 4 of 4: turn “gradient is zero” into an equation. A graph has gradient g′(x) = −18x−2 + 6x. Which equation must be solved to find where the gradient is zero?

A graph has gradient g′(x) = −18x⁻² + 6x. Which equation must be solved to find where the gradient is zero?

The exam question

Written for this site in the style of the real papers. Do it on paper first, as you would in the exam, and show your working: most of the marks are for method. Give answers to 3 significant figures unless the question says otherwise. Then check each part below.

Paper 2 style · calculator (GDC) allowed · 8 marks · about 9 minutes

Kofi runs a machine at a steady speed of v metres per second, where 1 ≤ v ≤ 6. The running cost per hour, C cost units, is modelled by C = 48/v + 0.5v², where 48/v is the cost of wasted material and 0.5v² is the cost of energy.

(a) Find dC/dv. [3]

(b) Find the value of dC/dv when v = 2. State what this tells Kofi about the cost as the speed increases through 2 metres per second. [3]

(c) Find the value of v for which dC/dv = 0. Give your answer correct to three significant figures. [2]

Check (a). Which expression is dC/dv?

Which expression is dC/dv?

Check (b). Type the value of dC/dv when v = 2.

Check (c). Type the value of v, to 3 significant figures.

Want the rest of this topic?

This is a free sample lesson. The IB Diploma plan opens every other Diploma lesson, AA and AI, SL and HL, and every lesson from Year 7 for the refreshers. It covers every child in the family and includes all seven revision packs.

$99 for 12 months, or $149 for 2 years

One plan opens every Diploma lesson, AA and AI, SL and HL, for the whole family.

That is $8.25 a month for the whole family.

Student without a card? in one tap.

One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Already paid? Type the email you paid with in the sign-in box, then click the link we send. See every price, including $19 revision packs.

Teaching this lesson?

Every lesson here has a teacher page beside it: worked answers, what each common wrong answer tells you about a student's thinking, and questions at three levels for the board. Every unit has a free sample lesson for students, and a plan opens every other lesson.

See the teacher pages