Applications of Integrals

The definite integral is the most transferable idea in elementary calculus. Once you can evaluate ∫abf(x) dx\int_a^b f(x)\,dx, you can compute the area of a region whose boundary is curved, the volume of a solid swept out by a rotating curve, the work done by a force that changes as the object moves, and the average value of a quantity that varies across an interval. These problems look unrelated until you see the common structure: each one is a total built by adding up infinitely many small pieces.

This page develops that structure. It states the underlying definition once, works through the geometry and then the physics, and closes by showing how the same integral computes probabilities and economic surplus. The exercises at the end turn the formulas into problems, and every answer there can be checked either by differentiating it or by comparing it with an independent geometric argument.

Definition

For a function ff continuous on [a,b][a,b], the definite integral is the limit of the Riemann sums

∫abf(x) dx=lim⁡n→∞∑i=1nf(xi) Δx,\int_a^b f(x)\,dx = \lim_{n\to\infty}\sum_{i=1}^{n} f(x_i)\,\Delta x,

where [a,b][a,b] is divided into nn pieces of equal width Δx=b−an\Delta x = \frac{b-a}{n} and xix_i is any point of the ii-th piece.

Two readings of the same number are worth separating immediately, because conflating them is the most common error in this whole area of the course.

  • Signed area. The value ∫abf(x) dx\int_a^b f(x)\,dx is the area above the axis minus the area below it. Any part of the curve below the axis contributes negatively.
  • Total area. The geometric area of the region between the curve and the axis is instead ∫ab∣f(x)∣ dx\int_a^b \lvert f(x)\rvert\,dx, where the absolute value removes the sign.

Geometric Applications

Area of a Plane Region

If ff is continuous on [a,b][a,b], the area between the curve y=f(x)y = f(x) and the axis is S=∫ab∣f(x)∣ dxS = \int_a^b \lvert f(x)\rvert\,dx.

Example 1. The area under y=x2y = x^2 on [0,1][0,1]. Since x2≥0x^2 \geq 0 there, no absolute value is needed: S=∫01x2 dx=[x33]01=13S = \int_0^1 x^2\,dx = \left[\frac{x^3}{3}\right]_0^1 = \frac{1}{3}.

Example 2. The area under y=sin⁡xy = \sin x on [0,π][0,\pi]. Here sin⁡x≥0\sin x \geq 0 on the whole interval, so S=∫0πsin⁡x dx=[−cos⁡x]0π=−cos⁡π+cos⁡0=2S = \int_0^{\pi} \sin x\,dx = \left[-\cos x\right]_0^{\pi} = -\cos\pi + \cos 0 = 2.

Example 3. The area under y=x3−xy = x^3 - x on [−1,1][-1,1]. The function is positive on [−1,0][-1,0] and negative on [0,1][0,1], so the region must be split:

S=∫−10(x3−x) dx+∫01−(x3−x) dx=[x44−x22]−10+[−x44+x22]01=14+14=12.S = \int_{-1}^0 (x^3 - x)\,dx + \int_0^1 -(x^3 - x)\,dx = \left[\frac{x^4}{4} - \frac{x^2}{2}\right]_{-1}^0 + \left[-\frac{x^4}{4} + \frac{x^2}{2}\right]_0^1 = \frac{1}{4} + \frac{1}{4} = \frac{1}{2}.

Arc Length of a Plane Curve

If y=f(x)y = f(x) is continuously differentiable on [a,b][a,b], the length of the curve is L=∫ab1+[f′(x)]2 dxL = \int_a^b \sqrt{1 + \bigl[f'(x)\bigr]^2}\,dx. The integrand is never less than 11, which is exactly the statement that a curve is at least as long as the straight segment joining its endpoints.

Example 1. The arc length of y=x2y = x^2 on [0,1][0,1]. Since f′(x)=2xf'(x) = 2x,

L=∫011+4x2 dx=12∫021+u2 du=12[u21+u2+12ln⁡(u+1+u2)]02=12(5+12ln⁡(2+5)),L = \int_0^1 \sqrt{1 + 4x^2}\,dx = \frac{1}{2}\int_0^2 \sqrt{1 + u^2}\,du = \frac{1}{2}\left[\frac{u}{2}\sqrt{1 + u^2} + \frac{1}{2}\ln\left(u + \sqrt{1 + u^2}\right)\right]_0^2 = \frac{1}{2}\left(\sqrt{5} + \frac{1}{2}\ln\left(2 + \sqrt{5}\right)\right),

where the substitution u=2xu = 2x was used in the second step.

Example 2. The arc length of y=xy = \sqrt{x} on [0,4][0,4]. Here f′(x)=12xf'(x) = \frac{1}{2\sqrt{x}}, so L=∫041+14x dxL = \int_0^4 \sqrt{1 + \frac{1}{4x}}\,dx. Two details deserve attention. First, f′f' is unbounded at x=0x = 0, so this arc-length integral is an improper integral; it converges because the integrand behaves like 12x\frac{1}{2\sqrt{x}} near 00. Second, the substitution must be carried out carefully. Put u=xu = \sqrt{x}, so x=u2x = u^2 and dx=2u dudx = 2u\,du:

L=∫021+14u2⋅2u du=∫024u2+1 du=[u24u2+1+14ln⁡(2u+4u2+1)]02=17+14ln⁡(4+17).L = \int_0^2 \sqrt{1 + \frac{1}{4u^2}}\cdot 2u\,du = \int_0^2 \sqrt{4u^2 + 1}\,du = \left[\frac{u}{2}\sqrt{4u^2+1} + \frac{1}{4}\ln\left(2u + \sqrt{4u^2+1}\right)\right]_0^2 = \sqrt{17} + \frac{1}{4}\ln\left(4 + \sqrt{17}\right).

Volume of a Solid of Revolution

If ff is continuous on [a,b][a,b], the volume of the solid obtained by revolving the region under y=f(x)y = f(x) about the xx-axis is V=π∫ab[f(x)]2 dxV = \pi \int_a^b \bigl[f(x)\bigr]^2\,dx. The reason is the disk method: a slice of thickness dxdx at position xx is a disk of radius ∣f(x)∣\lvert f(x)\rvert and area π[f(x)]2\pi\bigl[f(x)\bigr]^2, and the volume is the accumulation of these slice areas.

Example 1. Revolving y=x2y = x^2 on [0,1][0,1]: V=π∫01(x2)2 dx=π[x55]01=π5V = \pi\int_0^1 (x^2)^2\,dx = \pi\left[\frac{x^5}{5}\right]_0^1 = \frac{\pi}{5}.

Example 2. Revolving y=sin⁡xy = \sin x on [0,π][0,\pi]: V=π∫0πsin⁡2x dx=π2∫0π(1−cos⁡2x) dx=π2[x−12sin⁡2x]0π=π22V = \pi\int_0^{\pi} \sin^2 x\,dx = \frac{\pi}{2}\int_0^{\pi} (1 - \cos 2x)\,dx = \frac{\pi}{2}\left[x - \frac{1}{2}\sin 2x\right]_0^{\pi} = \frac{\pi^2}{2}.

Physical Applications

Work

If a force F(x)F(x) acts along the xx-axis while an object moves from aa to bb, the work done is W=∫abF(x) dxW = \int_a^b F(x)\,dx. The integral is needed because the force is not constant: the work over a small displacement dxdx is F(x) dxF(x)\,dx, and the total is the accumulation of those pieces.

Example 1. A spring exerts F(x)=kxF(x) = kx, where kk is the spring constant. The work required to stretch it from x=0x = 0 to x=ax = a is W=∫0akx dx=k[x22]0a=ka22W = \int_0^a kx\,dx = k\left[\frac{x^2}{2}\right]_0^a = \frac{ka^2}{2}.

Example 2. Newton’s law of gravitation gives F(r)=GMmr2F(r) = \frac{GMm}{r^2}. The work needed to move a body of mass mm from distance aa to distance bb from a body of mass MM is W=∫abGMmr2 dr=GMm[−1r]ab=GMm(1a−1b)W = \int_a^b \frac{GMm}{r^2}\,dr = GMm\left[-\frac{1}{r}\right]_a^b = GMm\left(\frac{1}{a} - \frac{1}{b}\right).

Center of Mass

If a planar region has density ρ(x)\rho(x) along [a,b][a,b], the xx-coordinate of its center of mass is the ratio of the first moment to the total mass: xˉ=∫abx ρ(x) dx∫abρ(x) dx\bar{x} = \frac{\int_a^b x\,\rho(x)\,dx}{\int_a^b \rho(x)\,dx}. For a region of uniform density under y=f(x)y = f(x), the density cancels and the formula becomes xˉ=∫abx f(x) dx∫abf(x) dx\bar{x} = \frac{\int_a^b x\,f(x)\,dx}{\int_a^b f(x)\,dx}.

Example. For the region under y=x2y = x^2 on [0,1][0,1], the area is A=∫01x2 dx=13A = \int_0^1 x^2\,dx = \frac{1}{3} and the first moment is M=∫01x⋅x2 dx=∫01x3 dx=14M = \int_0^1 x \cdot x^2\,dx = \int_0^1 x^3\,dx = \frac{1}{4}, so xˉ=MA=1/41/3=34\bar{x} = \frac{M}{A} = \frac{1/4}{1/3} = \frac{3}{4}. This matches the symmetry of the region about the vertical line x=34x = \frac{3}{4}, a useful check on the algebra.

Average Value

The average value of a function ff on [a,b][a,b] is fˉ=1b−a∫abf(x) dx\bar{f} = \frac{1}{b-a}\int_a^b f(x)\,dx.

Example 1. For f(x)=sin⁡xf(x) = \sin x on [0,π][0,\pi]: fˉ=1π∫0πsin⁡x dx=1π[−cos⁡x]0π=2π\bar{f} = \frac{1}{\pi}\int_0^{\pi} \sin x\,dx = \frac{1}{\pi}\left[-\cos x\right]_0^{\pi} = \frac{2}{\pi}.

Example 2. For f(x)=x2f(x) = x^2 on [0,2][0,2]: fˉ=12∫02x2 dx=12[x33]02=43\bar{f} = \frac{1}{2}\int_0^2 x^2\,dx = \frac{1}{2}\left[\frac{x^3}{3}\right]_0^2 = \frac{4}{3}.

Applications in Probability and Economics

Probability densities. If f(x)f(x) is the probability density of a continuous random variable, the integral is the probability: the normalization condition is ∫−∞+∞f(x) dx=1\int_{-\infty}^{+\infty} f(x)\,dx = 1; the probability of an interval is P(a≤X≤b)=∫abf(x) dxP(a \leq X \leq b) = \int_a^b f(x)\,dx; and the expected value is E(X)=∫−∞+∞x f(x) dxE(X) = \int_{-\infty}^{+\infty} x\,f(x)\,dx.

Consumer and producer surplus. Let p=D(q)p = D(q) be the demand curve and p=S(q)p = S(q) the supply curve. If q∗q^* is the equilibrium quantity and p∗p^* the equilibrium price, then CS=∫0q∗[D(q)−p∗] dqCS = \int_0^{q^*} \bigl[D(q) - p^*\bigr]\,dq and PS=∫0q∗[p∗−S(q)] dqPS = \int_0^{q^*} \bigl[p^* - S(q)\bigr]\,dq. Both measure a difference between a curve and a horizontal line, which is exactly the area interpretation from the start of the page.

Population and drug concentration. If N(t)N(t) is the size of a population at time tt, the change between two times is ΔN=∫abN′(t) dt\Delta N = \int_a^b N'(t)\,dt. If C(t)C(t) is the concentration of a drug in the blood, the total amount present over a period of length TT is A=∫0TC(t) dtA = \int_0^T C(t)\,dt.


Exercises

Exercise 1

Find the area bounded by the curve y=x2y = x^2 and the xx-axis on the interval [0,2][0,2].

definite integralareageometry

Approach: Use the area formula S=∫ab∣f(x)∣ dxS = \int_a^b \lvert f(x)\rvert\,dx. Since x2x^2 is nonnegative on [0,2][0,2], the absolute value can be dropped, and the power rule for integrals gives the antiderivative directly.

Steps:

  1. On [0,2][0,2] we have f(x)=x2≥0f(x) = x^2 \geq 0, so S=∫02x2 dxS = \int_0^2 x^2\,dx.
  2. Apply the power rule: ∫x2 dx=x33+C\int x^2\,dx = \frac{x^3}{3} + C, hence S=[x33]02S = \left[\frac{x^3}{3}\right]_0^2.
  3. Evaluate at the endpoints: 233−033=83\frac{2^3}{3} - \frac{0^3}{3} = \frac{8}{3}.

Answer: S=83S = \frac{8}{3}.

Exercise 2

Find the volume of the solid obtained by revolving the curve y=x3y = x^3 about the xx-axis on the interval [0,1][0,1].

definite integralvolume of revolutiondisk method

Approach: Use the disk method V=π∫ab[f(x)]2 dxV = \pi\int_a^b [f(x)]^2\,dx. Squaring the integrand turns x3x^3 into x6x^6, which the power rule integrates immediately.

Steps:

  1. Write the integral: V=π∫01(x3)2 dx=π∫01x6 dxV = \pi\int_0^1 (x^3)^2\,dx = \pi\int_0^1 x^6\,dx.
  2. Apply the power rule: ∫x6 dx=x77+C\int x^6\,dx = \frac{x^7}{7} + C, so V=π[x77]01V = \pi\left[\frac{x^7}{7}\right]_0^1.
  3. Evaluate: π(17−0)=π7\pi\left(\frac{1}{7} - 0\right) = \frac{\pi}{7}.

Answer: V=π7V = \frac{\pi}{7}.

Exercise 3

Find the average value of the function f(x)=x2f(x) = x^2 on the interval [0,2][0,2].

definite integralaverage value

Approach: Divide the integral of ff over [a,b][a,b] by the length b−ab-a of the interval.

Steps:

  1. The interval has length b−a=2−0=2b - a = 2 - 0 = 2, so fˉ=12∫02x2 dx\bar{f} = \frac{1}{2}\int_0^2 x^2\,dx.
  2. Apply the power rule: ∫02x2 dx=[x33]02=83\int_0^2 x^2\,dx = \left[\frac{x^3}{3}\right]_0^2 = \frac{8}{3}.
  3. Divide by the length: fˉ=12⋅83=43\bar{f} = \frac{1}{2}\cdot\frac{8}{3} = \frac{4}{3}.

Answer: fˉ=43\bar{f} = \frac{4}{3}, which lies between the minimum value 00 and the maximum value 44 of x2x^2 on [0,2][0,2], as it must.

Exercise 4

Find the length of the curve y=xy = \sqrt{x} on the interval [0,4][0,4].

definite integralarc lengthsubstitutionimproper integral

Approach: Apply the arc-length formula L=∫ab1+[f′(x)]2 dxL = \int_a^b \sqrt{1 + [f'(x)]^2}\,dx, then remove the square root of the fraction by substituting u=xu = \sqrt{x}. The integral is improper at x=0x = 0 because f′(x)f'(x) blows up there, but it converges.

Steps:

  1. Since f′(x)=12xf'(x) = \frac{1}{2\sqrt{x}}, we get L=∫041+14x dxL = \int_0^4 \sqrt{1 + \frac{1}{4x}}\,dx.
  2. Substitute u=xu = \sqrt{x}, so x=u2x = u^2 and dx=2u dudx = 2u\,du, with uu running from 00 to 22.
  3. Simplify the integrand: L=∫021+14u2⋅2u du=∫024u2+1 duL = \int_0^2 \sqrt{1 + \frac{1}{4u^2}}\cdot 2u\,du = \int_0^2 \sqrt{4u^2 + 1}\,du. The factor is 22, not 44.
  4. Use the antiderivative ∫4u2+1 du=u24u2+1+14ln⁡(2u+4u2+1)+C\int\sqrt{4u^2+1}\,du = \frac{u}{2}\sqrt{4u^2+1} + \frac{1}{4}\ln\left(2u + \sqrt{4u^2+1}\right) + C.
  5. Evaluate from 00 to 22: L=[u24u2+1+14ln⁡(2u+4u2+1)]02=17+14ln⁡(4+17)L = \left[\frac{u}{2}\sqrt{4u^2+1} + \frac{1}{4}\ln\left(2u + \sqrt{4u^2+1}\right)\right]_0^2 = \sqrt{17} + \frac{1}{4}\ln\left(4 + \sqrt{17}\right).

Answer: L=17+14ln⁡(4+17)≈4.647L = \sqrt{17} + \frac{1}{4}\ln\left(4 + \sqrt{17}\right) \approx 4.647.


Summary

Every application on this page is the same move: identify a quantity that varies across an interval, multiply it by an infinitesimal piece of that interval, and accumulate. The geometry and the physics differ only in what the quantity is — a height, a radius, a force, a density — and in what the accumulation is called: an area, a length, a volume, a work, an average. Two habits keep the details honest: decide whether you want signed area or total area before writing the integral, and check the answer against something independent, such as the symmetry of a region or the length of the straight chord.

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
∫\intmathematical symbolintegralThe integration operator
f(x)f(x)mathematical symbolf of xThe function being integrated
SSmathematical symbolSArea of a plane region
LLmathematical symbolLArc length of a plane curve
VVmathematical symbolVVolume of a solid of revolution
WWmathematical symboldouble uWork done by a force
xˉ\bar{x}mathematical symbolx barThe xx-coordinate of a center of mass
fˉ\bar{f}mathematical symbolf barThe average value of ff on an interval
ρ(x)\rho(x)Greek letterrhoDensity of a planar region
∣f(x)∣\lvert f(x)\rvertmathematical symbolabsolute value of f of xTurns signed area into total area
Δx\Delta xGreek letterdelta xThe width of one strip in a Riemann sum
kkmathematical symbolkThe spring constant
GGmathematical symbolGThe gravitational constant
CS,PSCS, PSmathematical symbolC S, P SConsumer surplus and producer surplus
p∗,q∗p^*, q^*mathematical symbolp star, q starEquilibrium price and equilibrium quantity

Found an issue with this content?

Tell us what could be improved.