M5.5.1 Chapter 1

Undoing differentiation

If you know how steep a curve is at every point, can you draw the curve?

Your guess

Pick one before you read on. It is fine to be wrong.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

By the end you can

  • Integrate xⁿ for any n except −1
  • Explain why every answer needs a constant + c

In the last book you started with a curve and found its gradient. That is differentiation. Now we turn it round. We are given the gradient, and we look for the curve it came from. The process is called integration, and a curve that has a given gradient is an integral of it. The sign ∫ means "integrate", and dx names the variable.

Draw it first

Differentiate, then undo it

  1. Two boxes. The left box is labelled x³ and the right box is labelled 3x². A top arrow from the left box to the right box is labelled differentiate. A lower arrow from the right box back to the left box is labelled integrate.x³3x²differentiate

    1 Differentiating x³ gives 3x².

  2. Two boxes. The left box is labelled x³ and the right box is labelled 3x². A top arrow from the left box to the right box is labelled differentiate. A lower arrow from the right box back to the left box is labelled integrate.x³3x²differentiateintegrate

    2 Integrating 3x² takes us back to x³. We have undone the step.

Look at how xⁿ is differentiated. You multiply by the power n, then lower the power by 1. To undo two steps you undo them in the opposite order. So we raise the power by 1 first, then divide by the new power.

The rule. For any n except −1, ∫ xⁿ dx = xⁿ⁺¹ ÷ (n + 1) + c. Here + c is the constant, which the next paragraphs explain. We cannot use the rule when n = −1, because n + 1 would be 0 and we cannot divide by 0. The integral of x⁻¹, which is 1/x, comes in chapter 4.

A table with the heads integrate and to get. The rows read 1 and x + c, x and x²/2 + c, x² and x³/3 + c, x³ and x⁴/4 + c, x⁻² and −x⁻¹ + c.integrateto get1x + cxx²/2 + cx²x³/3 + cx³x⁴/4 + cx⁻²−x⁻¹ + c
Each row raises the power by 1 and divides by the new power. The last row is x⁻² = 1/x².

Two facts make longer sums short. A number in front stays in front: ∫ 5x² dx = 5 ∫ x² dx. And a sum is integrated one term at a time. These are the same facts you used to differentiate.

Worked example

Find ∫(6x² + 4x − 3) dx.

  1. Integrate one term at a time. Raise each power by 1 and divide by the new power.
  2. 6x² becomes 6x³ ÷ 3. Since 6 ÷ 3 = 2, this is 2x³.
  3. 4x is 4x¹, and it becomes 4x² ÷ 2. Since 4 ÷ 2 = 2, this is 2x².
  4. −3 is −3x⁰, and it becomes −3x¹ ÷ 1, which is −3x.
  5. Add one constant, c, at the end.

Answer: 2x³ + 2x² − 3x + c

Check any answer by differentiating it. Differentiate 2x³ + 2x² − 3x + c. You get 6x² + 4x − 3 again, and the c disappears. If differentiating does not give back what you started with, there is a mistake.

Roots and fractions. Write them as powers first. 1/x² is x⁻². The square root of x is x^(1/2), which means x to the power 1/2. Then use the same rule, and write the answer back the way it was given.

Worked example

Find ∫(4x³ + 1/x²) dx.

  1. Write 1/x² as x⁻². We now have 4x³ + x⁻².
  2. 4x³ becomes 4x⁴ ÷ 4, which is x⁴.
  3. x⁻² becomes x⁻¹ ÷ (−1), because −2 + 1 = −1. This is −x⁻¹.
  4. Write −x⁻¹ as −1/x. The answer is x⁴ − 1/x + c.
  5. Check: differentiating −x⁻¹ gives −(−1)x⁻² = x⁻², which is 1/x². This agrees.

Answer: x⁴ − 1/x + c

Now the constant. Take y = x². Its gradient is 2x. Now take y = x² + 5. Its gradient is also 2x, because a number added on does not change how steep the curve is. The same is true for y = x² − 2 and every other curve of this kind. Moving a curve up or down does not change its gradient.

A graph with the x axis named x from 0 to 3 and a y axis from −4 to 12 named y. Three curves of the same shape stand one above another and are named c = −3, c = 0 and c = 3. A short straight piece touches each curve at x = 1. The three pieces are parallel.0123−404812xyc = −3c = 0c = 3
The curves y = x² + c for c = −3, 0 and 3. All have gradient 2x. At x = 1 each has gradient 2, so the three short pieces are parallel.

So when we integrate, a whole family of curves comes back, one for each possible constant. We write the constant as c and call it the constant of integration. An answer with no + c is not complete, because it names only one curve of the family.

A point fixes the constant. If we are told one point on the curve, we put its x and y into the answer and solve for c. The result is one curve. We write it as a particular function, with no c left.

Worked example

A curve has gradient dy/dx = 2x − 4 and passes through the point (3, 4). Find its equation.

  1. Integrate: y = x² − 4x + c.
  2. The point (3, 4) is on the curve. Put x = 3 and y = 4 into the equation.
  3. This gives 4 = 3² − 4 × 3 + c. Since 3² = 9 and 4 × 3 = 12, we get 4 = 9 − 12 + c.
  4. So 4 = −3 + c, and c = 7.
  5. The curve is y = x² − 4x + 7.

Answer: y = x² − 4x + 7

A graph with the x axis named x from 0 to 5 and a y axis from −4 to 16 named y. Three curves of the same shape stand one above another and are named c = 3, c = 7 and c = 11. A dot on the curve named c = 7 is named P (3, 4), with dashed lines to both axes.012345−40481216xyP (3, 4)c = 3c = 7c = 11
Every curve in the family has gradient 2x − 4. Only the curve with c = 7 passes through the point P.

See it three ways

With things

A staircase has a gradient at each step. Two staircases built at different heights can slope the same. Knowing only the slope, you cannot tell which height it starts at. You need one place where it stands.

As a picture

Two boxes. The left box is labelled x⁴ and the right box is labelled 4x³. A top arrow from the left box to the right box is labelled differentiate. A lower arrow from the right box back to the left box is labelled integrate.x⁴4x³differentiateintegrate

In words

To integrate a power, raise the power by 1, divide by the new power, and add a constant.

In symbols

∫ xⁿ dx = xⁿ⁺¹ ÷ (n + 1) + c, for n not equal to −1.

Try it

Slide a curve and keep its steepness

You need: squared paper, tracing paper, a pencil, a ruler.

  1. Draw y = x² for x from 0 to 2 on squared paper. Plot the points (0, 0), (0.5, 0.25), (1, 1), (1.5, 2.25) and (2, 4).
  2. Trace the curve on the tracing paper.
  3. Slide the tracing paper up by 2 squares, keeping it straight. This is the curve y = x² + 2.
  4. Lay the ruler against both curves at x = 1. Compare how steep each curve is there.

What you will see: The ruler touches both curves at the same slope. Moving a curve straight up does not change its steepness, so a gradient alone cannot tell you the height of the curve.

If you cannot try it, this is what happens.
A graph with the x axis named x from 0 to 2 and a y axis from 0 to 8 named y. Two curves of the same shape are named y = x² and y = x² + 2. A short straight piece touches each curve at x = 1. The two pieces are parallel.01202468xyy = x²y = x² + 2

A wrong idea many people have

The constant c does not matter, so I can leave it out.

Why it feels right: The c vanishes when we differentiate, so it seems like a number that does nothing.

The test that breaks it: Differentiate x² + 5, x² − 3 and x² + 100. Each gives 2x. If we integrate 2x and write only x², we have named one curve out of infinitely many.

What is true: Write + c on every integral that has no limits. It names the whole family. If a point on the curve is given, use it to find c.

A wrong idea many people have

To integrate x⁴ I raise the power to get x⁵ and stop.

Why it feels right: Raising the power is the part you notice. Differentiation used to lower it, so raising it feels like the whole undoing.

The test that breaks it: Differentiate x⁵. You get 5x⁴, not x⁴. The 5 must be divided out.

What is true: Divide by the new power. ∫ x⁴ dx = x⁵ ÷ 5 + c. Check by differentiating: x⁵ ÷ 5 gives 5x⁴ ÷ 5 = x⁴.

Key words

differentiation
finding the gradient function of a curve.
integration
the reverse of differentiation: finding a function from its gradient.
integral
a function that has a given gradient function. We write ∫ f(x) dx.
constant of integration
the number c added to an integral, because many curves have the same gradient.

Back to your guess

The answer is B: A curve with gradient 2x can be y = x², or y = x² + 5, or y = x² − 3, or y = x² plus any number.

Adding a number moves a curve up or down but does not change its steepness. So y = x² + 5 and y = x² − 3 both have gradient 2x, and so does y = x² plus any number. The gradient alone gives a whole family of curves.

Check yourself

Try each one before you look. A wrong answer tells you where to go next.

  1. Find ∫ 8x³ dx.

    Tap your answer.
    1. Not this one. You differentiated. Integrating raises the power and divides by the new power. Read this page again. Try another.

    2. Not this one. You raised the power but did not divide by the new power, 4. Read this page again. Try another.

    3. Yes, that is right. 8x³ becomes 8x⁴ ÷ 4 = 2x⁴. Add c. Check: differentiating 2x⁴ gives 8x³.

    4. Not this one. The number is right, but the answer needs + c. Read this page again. Try another.

    See the answer

    2x⁴ + c

    8x³ becomes 8x⁴ ÷ 4 = 2x⁴. Add c. Check: differentiating 2x⁴ gives 8x³.

  2. Find ∫ x⁵ dx.

    Tap your answer.
    1. Not this one. That is the derivative of x⁵. We are going the other way. Read this page again. Try another.

    2. Not this one. You raised the power but did not divide by the new power, 6. Read this page again. Try another.

    3. Not this one. You divided by the old power. Divide by the new power, which is 6. Read this page again. Try another.

    4. Yes, that is right. Raise 5 to 6 and divide by 6: x⁶ ÷ 6 + c. Differentiating x⁶/6 gives 6x⁵/6 = x⁵.

    See the answer

    x⁶/6 + c

    Raise 5 to 6 and divide by 6: x⁶ ÷ 6 + c. Differentiating x⁶/6 gives 6x⁵/6 = x⁵.

  3. Ana integrates 2x and writes x². Kofi writes x² + 7. Who is right?

    Tap your answer.
    1. Yes, that is right. Both x² and x² + 7 have gradient 2x. The complete answer is x² + c, where c can be any number, and it covers both.

    2. Not this one. Kofi differentiated x² + 7 and got 2x. Any constant works. The integral is a whole family. Read this page again. Try another.

    3. Not this one. Ana names a curve with gradient 2x, so she is not wrong, but her answer is only one member of the family. The complete answer has + c. Read this page again. Try another.

    See the answer

    Both are right, and the complete answer has a constant c.

    Both x² and x² + 7 have gradient 2x. The complete answer is x² + c, where c can be any number, and it covers both.

    • If you chose B: Kofi differentiated x² + 7 and got 2x. Any constant works. The integral is a whole family. Read this page again.
    • If you chose C: Ana names a curve with gradient 2x, so she is not wrong, but her answer is only one member of the family. The complete answer has + c. Read this page again.
  4. The integral of xⁿ is xⁿ⁺¹ ÷ (n + 1) + c. Why can we not use it when n = −1?

    Tap your answer.
    1. Not this one. x⁻¹ can be differentiated: it gives −x⁻². The trouble is with going back. Read this page again. Try another.

    2. Yes, that is right. For n = −1 the rule asks us to divide by −1 + 1 = 0, which we cannot do. The integral of x⁻¹ needs another function, which chapter 4 introduces.

    3. Not this one. Every integral needs + c. The problem is the division by 0. Read this page again. Try another.

    See the answer

    It would divide by n + 1, which is 0.

    For n = −1 the rule asks us to divide by −1 + 1 = 0, which we cannot do. The integral of x⁻¹ needs another function, which chapter 4 introduces.

    • If you chose A: x⁻¹ can be differentiated: it gives −x⁻². The trouble is with going back. Read this page again.
    • If you chose C: Every integral needs + c. The problem is the division by 0. Read this page again.
  5. Find ∫ 12x³ dx.

    Tap your answer.
    1. Not this one. You differentiated. Integration raises the power. Read this page again. Try another.

    2. Not this one. You forgot to divide by the new power. Read this page again. Try another.

    3. Not this one. You divided by the old power. Divide by the new power. Read this page again. Try another.

    4. Yes, that is right. 12x³ becomes 12x⁴ ÷ 4 = 3x⁴.

    See the answer

    3x⁴ + c

    12x³ becomes 12x⁴ ÷ 4 = 3x⁴.

  6. Find ∫(9x² − 4x + 5) dx.

    See the answer

    3x³ − 2x² + 5x + c

    9x² becomes 9x³ ÷ 3 = 3x³. −4x becomes −4x² ÷ 2 = −2x². 5 becomes 5x. Add c.

  7. The integral of 9x² − 4x + 5 has the form px³ + qx² + rx + c. Find p, q and r, in that order.

    See the answer

    3, −2, 5

    Integrate each term. 9x² gives 3x³, −4x gives −2x² and 5 gives 5x. So p = 3, q = −2 and r = 5.

  8. A curve has gradient dy/dx = 4x − 1 and passes through (1, 10). Find its equation.

    See the answer

    y = 2x² − x + 9

    Integrate: y = 2x² − x + c. Put x = 1 and y = 10: 10 = 2 − 1 + c, so c = 9. The curve is y = 2x² − x + 9.

  9. A curve has gradient dy/dx = 6x² and passes through (1, 7). What is the value of c in y = 2x³ + c?

    See the answer

    5

    Put x = 1 and y = 7 into y = 2x³ + c. Then 7 = 2 + c, so c = 5.

  10. Find ∫ x(x + 3) dx. Expand the brackets first.

    See the answer

    x³/3 + 3x²/2 + c

    x(x + 3) = x² + 3x. Then x² becomes x³ ÷ 3 and 3x becomes 3x² ÷ 2. Add c.

  11. Find ∫ 6√x dx.

    See the answer

    4x^(3/2) + c

    √x is x^(1/2). Raise the power by 1 to get 3/2, and divide by 3/2. Since 6 ÷ (3/2) = 6 × 2/3 = 4, the answer is 4x^(3/2) + c.

Keep it

Copy this into your exercise book.

∫ xⁿ dx = xⁿ⁺¹ ÷ (n + 1) + c, for n ≠ −1. Raise the power, divide by the new power. Always add c. A point on the curve finds c. Check by differentiating.

Draw: Two boxes x³ and 3x² with a top arrow differentiate and a lower arrow integrate.

Reading with a child? A short page for the adult: what this chapter teaches and three questions to ask.

No internet tomorrow? Save the whole book as one file (910 KB). It opens on any phone.