The question this answers
A car's speedometer reads 20 m/s for ten seconds. You know it went 200 metres, because distance is speed times time. Now suppose the needle is climbing the whole time, from 0 up to 20 m/s. The product is meaningless: which would you use?
The last lesson went the other way. Given position, the derivative told you the speed at an instant, by zooming in until the curve looked straight. Now you have the speed at every instant and you want the distance back. Differentiation chopped a curve into slopes; integration is the machine that glues slopes back into a curve. Almost every physics quantity you will meet (work, impulse, charge, moment of inertia, the centre of mass of a lopsided object) is a product where one factor refuses to hold still, and every one of them is solved the same way.
Slice it, add it, shrink it
Here is the trick, and it never changes. Chop the ten seconds into slivers so short that over one sliver the velocity has no time to change. Call a sliver . Over that sliver the car really does move , because for that instant it may as well be moving at constant speed. Add the slivers:
That is an approximation, and you can see the error: inside each sliver you froze at its starting value, so if is rising you undercounted. Make the slivers thinner and the error shrinks. Take the limit as and the sum becomes exact. That limit is written with a stretched-out S, which is what the integral sign is:
Read it aloud as what it is: "add up times , from 0 to ." The is not decoration. It is the width of the sliver, and it carries units. If is in m/s and is in s, every term in the sum is in metres, so the answer is in metres. Checking that the integrand times has the units of your answer is the fastest error check you own.
Because every term is a height times a width, the sum is an area. The integral of is the area under the velocity-time graph. Area below the axis counts as negative, which is exactly right: driving backwards should subtract from your displacement.
When the graph is made of straight lines, just find the area
You do not need any calculus to integrate a triangle. A great many problems hand you a graph built from straight segments and expect you to break it into rectangles and triangles and add.
Worked example 1. A train starts from rest, rises linearly to 12 m/s over 4.0 s, holds 12 m/s until s, then falls linearly to zero at s. How far does it go?
Three pieces. The first is a triangle of base 4.0 s and height 12 m/s: m. The middle is a rectangle, 6.0 s wide and 12 m/s tall: m. The last is a triangle of base 4.0 s and height 12 m/s again: 24 m. Total m.
The same picture works one level up. The area under an acceleration-time graph is a change in velocity, because . And the area under a force-position graph is work, because . Same machine, different labels on the axes.
Quick check
A cart starts from rest. Its acceleration is +3.0 m/s^2 for 5.0 s, then -2.0 m/s^2 for the next 6.0 s. What is its velocity at t = 11.0 s?
Integration as undoing a derivative
Curves need more than geometry. The shortcut is that the derivative rules run backwards. If differentiating gives , then to integrate you raise the power and divide by the new power:
The case is excluded because raising the power would give . That gap is exactly where the logarithm lives, and it is why logs show up in rockets and in drag problems and nowhere else.
Each time you integrate, you gain one unknown constant, because every function that differs by a constant has the same derivative. Physics fixes it with an initial condition. Two integrations, two conditions: you need both the starting velocity and the starting position before a trajectory is determined. That is why alone predicts nothing until you say where the thing started and how fast it was going.
Worked example 2. A cart starts from rest at the origin with in SI units. Where is it at s?
Integrate once for velocity:
Check it at : , which matches "starts from rest", so the constant is zero. Integrate again:
At s: and , so m.
Notice what you did not do: you did not reach for . That formula is itself the result of integrating a constant , and here is not constant. Using it would have been a guess.
The constant-acceleration kinematic equations are not laws. They are the integrals of constant, and they are wrong the moment changes. If a problem gives you , , or a force that depends on speed, throw the kinematic equations out and integrate from scratch.
Any product with a varying factor
Once you see the pattern, it is everywhere. Take the defining relationship, write it for an infinitesimal piece, and add the pieces up.
Impulse is force times time, so for a changing force . Charge is current times time, so . The mass of a rod with varying thickness is , where is the mass per unit length. And work is force times displacement, so for a varying force
A spring pulls back with when stretched a distance , so the work you must do to stretch it from its natural length out to is . That is not a formula to memorise; it is the area of a triangle of base and height . With N/m and m: J.
A capacitor works the same way. Pushing charge onto a capacitor already holding costs , because is the voltage it is already fighting. So the stored energy is . With F and V: J.
Quick check
A force along the motion is F(x) = 8.0 x squared newtons. How much work does it do from x = 0 to x = 3.0 m?
Slicing up an object
Problems about rods, disks, chains and tanks all use one recipe, and it is worth writing down as steps because the setup is where people lose the marks.
- Draw one representative slice and give its position a symbol.
- Write the slice's mass (or charge, or volume) in terms of that symbol and its thickness: this is your .
- Write what you want for that one slice.
- Integrate over the range the slices actually cover.
Worked example 3. A disk of radius m and total mass kg has areal density growing as . Find its moment of inertia about the central axis.
The right slice is a thin ring of radius and thickness , because every point on it is the same distance from the axis. Its area is circumference times thickness, , so its mass is .
You do not know , so get it from the total mass:
Now the moment of inertia, which weights each bit of mass by :
Divide one by the other and the unknown cancels: , so kg·m². Forming the ratio to kill an unknown constant is a move you will use constantly.
The same recipe handles a chain being lifted off the floor. When a length already hangs vertically, its mass is and its centre of mass is at height , so raising the next bit costs , and . With kg/m, m: J.
Check which variable your slice is labelled by, and make sure your limits are in that same variable. Half of all integration errors in mechanics are integrating over the wrong range: from the axis instead of the rim, or over the whole chain when only the hanging part is moving.
When the integral is not over time
Sometimes you know force as a function of position or of speed, not of time, and integrating is hopeless. The escape is a single identity from the chain rule:
Multiply both sides by and integrate, and you get , that is . That is the work-energy theorem, derived in one line.
Worked example 4. An 80 kg skydiver glides horizontally and feels only quadratic drag, with kg/m. Over what distance does the speed fall to half?
Time is not asked for, and distance is, so use the position form:
One factor of cancelled on each side, which is why this problem is tractable at all. Integrate from to on the left and 0 to on the right. The left side is the case, so it gives a logarithm:
The starting speed drops out entirely. m.
The same "integrate over position" move gives gravitational energy far from Earth, where is not constant. The force is , so the work against it from to is
For a 500 kg payload lifted 500 km from the surface, with : and , a difference of . Multiply by to get J. Using instead would have given J, about 8% high, because gravity weakens on the way up.
How to recognise that you need an integral
Reach for this machinery when you see any of these:
- A quantity that is normally a product, with one factor varying. Force times distance, current times time, density times length. If the varying factor were frozen you would just multiply; since it is not, you integrate.
- A graph you are asked for a total from. "How far", "what impulse", "how much work" off a plot means area, and signed area at that.
- A rate given as a function of time. , , a burn rate. You want the accumulated amount, so integrate.
- An extended object that is not uniform. Rods, disks, cones, chains: slice it, write , integrate.
- A force that depends on position or speed. Then no kinematic equation applies. Either integrate for energy, or use .
And the negative signal: if the acceleration is genuinely constant and nothing is extended or non-uniform, do not integrate. The kinematic equations already did it for you.
Derivatives and integrals are now both in hand. The next tool is the one that makes hard integrals and hard equations survivable at all: knowing when a term is small enough to throw away. That is approximations and small-angle expansions.