Running the derivative backwards
Differentiating gives . Integration asks the reverse question: which function has the derivative ? One answer is . A function whose derivative is f(x) is called an integral, or antiderivative, of f(x).
It is written with the integral sign: . The dx says that x is the variable, and the + c is explained further down. Every integral can be checked the same way: differentiate the answer and see whether the original comes back. Here the derivative of is , so it does.
Differentiating : the power 3 comes down in front, then the power drops to 2, giving . Integration undoes these two moves.
Add one, then divide
Differentiating does two things in order: multiply by the power, then take one off the power. To undo them, undo the second move first. Add one to the power, then divide by the new power. In symbols, .
For , the power 2 goes up to 3, and dividing by 3 gives . For , the power goes up to 5, and dividing by 5 gives . Check by differentiating: gives .
Check with a chord as well. At x = 1 its gradient should be . From x = 1 to x = 1.001 the function rises from 0.2 to , so the chord gradient is about 0.0010020 ÷ 0.001 = 1.002.
Integrating : the power goes up from 4 to 5, then the whole term is divided by the new power 5, giving .
Numbers in front, constants and sums
A number in front stays in front, as it does when differentiating. So . Check: differentiates to .
A constant such as 6 can be written , because . So it integrates to , and the derivative of 6x is 6.
A sum is integrated one term at a time. For 4x + 6, the 4x gives , and the 6 gives 6x, so . Differentiating gives 4x + 6 back.
The rule cannot work for . Adding one to the power gives , and the new power is 0, which cannot be divided by. The integral of is a different function, the natural logarithm, met in a later lesson.
The constant of integration
The functions , and all differentiate to , because a constant differentiates to 0. So when is integrated, there is no way to tell which constant was there. The answer is written , where c stands for any constant.
On a graph, adding c moves the whole curve up or down by c, and moving a curve straight up does not change how steep it is at any x. Take and , both antiderivatives of 2x. At x = 1 the first has height 1 and the second has height 4, but both have gradient 2. Their tangents there, y = 2x − 1 and y = 2x + 2, are parallel.
The curves and , one 3 units above the other. At x = 1 their tangents, y = 2x − 1 through (1, 1) and y = 2x + 2 through (1, 4), are parallel, with gradient 2.
the tangent at x = 1 has gradient 2x = 2 for every C: shifting F up or down changes F, never F′, so ∫ 2x dx is the whole family x² + C
Slide the curve up and down and watch the tangent's gradient
The family , with the curve for C = 2 picked out. Drag C to move the curve up or down, and drag x along it: the gradient at x stays 2x, whatever C is.
One point fixes c
If one point on the curve is known, c can be found. Suppose and the curve passes through (1, 3). Integrating gives . Put in x = 1 and y = 3: 3 = 1 + c, so c = 2 and the curve is . Check: its derivative is 2x, and at x = 1 its height is 3.
The usual mistakes
Differentiating instead of integrating. The integral of is not : integration makes the power go up, to .
Raising the power but not dividing. is not the integral of , because its derivative is , five times too big. Divide by the new power: .
Dividing by the old power. differentiates to , not . The divisor is the new power, 5.
Leaving out the + c. Without it, the answer names one curve of the family and leaves out all the others.
Water into a tank
In the application below, water flows into a tank at a rate of 4x + 6 liters per minute. Integrating the rate gives the volume, and the water already in the tank fixes the constant.
Worked example: Water Running into a Tank at a Rising Rate: The Volume in the Tank from the Rate
Question A tank holds 50 liters of water when a valve is opened. Water then flows in at a rate of dVdx = 4x + 6 liters per minute, where x is the time in minutes since the valve was opened. (a) Find the volume V in the tank after x minutes, and the volume after 5 minutes. (b) How long after the valve is opened does the tank hold 310 liters?
1.Integrate the rate: V = ∫ (4x + 6) dx = 2x2 + 6x + c. Check by differentiating: the derivative of 2x2 + 6x + c is 4x + 6.
Integrate the rate: V = ∫ (4x + 6) dx = 2x2 + 6x + c. 2.At x = 0 the tank holds 50 liters, so 0 + 0 + c = 50 and c = 50. The volume is V = 2x2 + 6x + 50.
At x = 0 the tank holds 50 liters, so c = 50 and V = 2x2 + 6x + 50. 3.(a) After 5 minutes, V = 2 × 25 + 30 + 50 = 130 liters. The 80 liters added is the area under the rate graph from x = 0 to x = 5: ∫05 (4x + 6) dx = 50 + 30 = 80.
(a) After 5 minutes V = 130 liters. The 80 liters added is the shaded area, ∫05 (4x + 6) dx = 80. 4.For 310 liters, 2x2 + 6x + 50 = 310, so 2x2 + 6x − 260 = 0. Divide both sides by 2: x2 + 3x − 130 = 0, and so (x − 10)(x + 13) = 0.
For 310 liters, 2x2 + 6x + 50 = 310, which simplifies to x2 + 3x − 130 = 0, so (x − 10)(x + 13) = 0. 5.(b) x = 10 or x = −13. A time after the valve is opened cannot be negative, so reject x = −13: the tank holds 310 liters after 10 minutes. Check: 2 × 100 + 60 + 50 = 310.
(b) The tank holds 310 liters after 10 minutes. The area from 0 to 10 is 80 + 180 = 260 liters, and 50 + 260 = 310.
Answer: (a) V = 2x2 + 6x + 50 liters, and 130 liters after 5 minutes; (b) after 10 minutes
Common mistakes
- Leaving out the constant and writing V = 2x2 + 6x, which says that the tank starts empty. Integrating always leaves a constant, and here it is the 50 liters already in the tank.
- Multiplying the starting rate by the time, 6 × 5 = 30 liters added. The rate rises minute by minute, so the water added is the area under the rate graph, 80 liters.
More introduction to calculus problems, worked step by step →