← Back to Calculus

Integrals Beyond Area

Integrals add up any quantity that accumulates in small pieces. This lesson uses them to compute work done by varying forces, average values, and the lengths of curves.

The general pattern

Every application in this unit follows one template: break the quantity into small pieces, approximate each piece by something simple, write the piece as (something) \(\times\, dx\), and integrate. Area used height \(\times\) width; volume used area \(\times\) thickness. Now we apply the same template to work, averages, and length.

Work with a constant force

In physics, work is force times distance: lifting a 50 N box 2 m takes \(100\) joules. When the force changes along the way, the simple product no longer works, but on a tiny distance \(dx\) the force is nearly constant, so the work is about \(F(x)\,dx\). Adding these pieces gives an integral.

W = \int_a^b F(x)\,dx

Springs and Hooke's law

Hooke's law says a spring stretched \(x\) metres beyond its natural length pulls back with force \(F = kx\), where \(k\) is the spring constant. The work to stretch it from \(0\) to \(d\) is \(\int_0^d kx\,dx = \frac{1}{2}kd^2\). For \(k = 40\) N/m and \(d = 0.5\) m, that is \(5\) J. Notice the work grows with the square of the stretch.

W = \int_0^d kx\,dx = \tfrac{1}{2}kd^2

Worked example: finding the spring constant

A force of 10 N stretches a spring 0.2 m. How much work stretches it from 0.2 m to 0.5 m? First, \(k = \frac{10}{0.2} = 50\) N/m. Then \(W = \int_{0.2}^{0.5} 50x\,dx = 25(0.25 - 0.04) = 5.25\) J. The limits are measured from the natural length, not from the current position.

Pumping liquid out of a tank

To pump water out of a tank, think of thin horizontal layers. A layer at depth \(y\) below the top, with thickness \(dy\), has weight \(\rho g \cdot A(y)\,dy\) and must be lifted a distance \(y\). Work \(= \int \rho g\, A(y)\, y\,dy\). For a cylinder of radius 1 m and height 2 m full of water (\(\rho g \approx 9800\) N/m\(^3\)), pumping over the top takes \(\int_0^2 9800\pi y\,dy = 19600\pi \approx 61{,}600\) J.

Average value revisited

The average value of \(f\) on \([a, b]\) is \(\frac{1}{b-a}\int_a^b f(x)\,dx\). It is the constant height that would give the same area. For the temperature \(T(t) = 15 + 5\sin\left(\frac{\pi t}{12}\right)\) over a full day, the sine part averages to zero, so the average temperature is \(15\) degrees.

f_{\text{avg}} = \frac{1}{b-a}\int_a^b f(x)\,dx

The Mean Value Theorem for integrals

If \(f\) is continuous on \([a, b]\), there is at least one \(c\) in the interval where \(f(c)\) equals the average value. For \(f(x) = x^2\) on \([0, 3]\), the average is \(\frac{1}{3}\cdot 9 = 3\), and \(c^2 = 3\) gives \(c = \sqrt{3}\). A continuous function must actually reach its average somewhere.

Arc length

To measure a curve, approximate it with tiny straight segments. A segment with horizontal change \(dx\) and vertical change \(dy\) has length \(\sqrt{dx^2 + dy^2} = \sqrt{1 + (dy/dx)^2}\,dx\) by Pythagoras. Adding them gives the arc length formula.

L = \int_a^b \sqrt{1 + [f'(x)]^2}\,dx

Worked example: arc length

Find the length of \(y = \frac{2}{3}x^{3/2}\) from \(x = 0\) to \(x = 3\). Then \(f'(x) = x^{1/2}\), so \(1 + (f')^2 = 1 + x\). \(L = \int_0^3 \sqrt{1 + x}\,dx = \left[\frac{2}{3}(1 + x)^{3/2}\right]_0^3 = \frac{2}{3}(8 - 1) = \frac{14}{3}\). Most arc length integrals cannot be done by hand and are computed numerically, so curves like this one are chosen to come out neatly.

Checking with straight lines

For a straight line \(y = mx + b\), \(f' = m\), so \(L = \int_a^b \sqrt{1 + m^2}\,dx = (b - a)\sqrt{1 + m^2}\), which is exactly the distance formula. When a new formula agrees with an old one in a simple case, that is a good sign you are using it correctly.

Other applications

The same template computes mass from density (\(\int \rho(x)\,dx\)), centre of mass, fluid force on a dam wall, total probability, and the present value of a future income stream. Whenever a quantity is 'rate times small amount', added over an interval, an integral is waiting.

Common mistakes

Measuring spring distances from the current position instead of the natural length. Forgetting to divide by \(b - a\) for average value. Forgetting the square root, or the 1, in the arc length formula. Mixing units, such as centimetres and metres, in work problems.

Try it yourself

How much work stretches a spring with \(k = 200\) N/m by \(0.1\) m? Answer: \(\frac{1}{2}(200)(0.01) = 1\) J. Then find the average value of \(f(x) = 6x\) on \([0, 2]\). Answer: \(\frac{1}{2}\int_0^2 6x\,dx = \frac{1}{2}\cdot 12 = 6\).

Key takeaways

Work is the integral of force over distance; for springs, \(W = \frac{1}{2}kd^2\) from natural length. Pumping problems integrate weight times lifting distance over layers. Average value divides the integral by the interval length. Arc length integrates \(\sqrt{1 + (f')^2}\).

Flashcard

W = \int_a^b F(x)\,dx

Work by a varying force

Force times small distance, added up.

Check your understanding

A spring has k = 40 N/m. How much work stretches it 0.5 m from its natural length?

Take the unit quiz

← Previous lesson Next lesson →