A definite integral gives signed area: positive above the x-axis, negative below it. To find the actual (unsigned) area enclosed by a curve that dips below the axis, integrate over each piece where the sign doesn't change, and add the absolute values together.
Worked example: a full period of cosine
Find the area bounded by y=cosx between x=0 and x=2π.
Solution:cosx≥0 on [0,2π]∪[23π,2π] and cosx≤0 on [2π,23π]. By symmetry, the total area is 4 times the area of one quarter-period:
y = cos x from 0 to 2π. The two outer pieces lie above the axis and the middle piece below it. Each quarter-period encloses an area of 1.4∫0π/2cosxdx=4[sinx]0π/2=4(1−0)=4
Integrating straight across, ∫02πcosxdx=0, because the area below the axis cancels the area above it. That is the signed-area trap the section above warns about.
Worked example: deriving the area of a circle
Find the area of the circle x2+y2=a2 by integration.
Solution: The circle's upper half is y=a2−x2. By symmetry, the full circle's area is 4 times the area in the first quadrant:
4∫0aa2−x2dx=4[2xa2−x2+2a2sin−1ax]0a
At x=a the square-root term vanishes and sin−1(1)=2π, while both terms vanish at x=0:
=4(2a2⋅2π)=πa2
Area between two curves
When a region is bounded by two curves instead of one curve and the axis, integrate the upper curve minus the lower curve between the points where they meet:
A=∫ab[f(x)−g(x)]dx,f(x)≥g(x) on [a,b]
Sketch both curves so you can see which one is on top.
Find the intersection points by solving f(x)=g(x). These are the limits a and b.
Integrate (upper minus lower) from a to b.
If the curves cross again inside the interval, split it there, since the upper and lower curves swap.
Worked example: a line and a parabola
Find the area enclosed between y=x and y=x2.
Solution: They meet where x2=x, so at x=0 and x=1. Between them the line is on top (at x=21, the line is at 21 and the parabola at 41):
A=∫01(x−x2)dx=[2x2−3x3]01=21−31=61The region between y = x (upper) and y = x² (lower) from x = 0 to x = 1. Its area is 1/6.
Common mistakes
Integrating straight across a sign change. Split the interval wherever the curve crosses the axis, or the pieces cancel, as cosx does over [0,2π].
Subtracting the wrong way round. Lower minus upper gives a negative answer. An area is never negative, so a negative result means the order is reversed.
Guessing the limits. Solve for the intersection points. Don't read them off a rough sketch.
Continue learning
Area calculations are a direct application of definite integrals, the same evaluate-the-antiderivative-at-the-limits process used here shows up in any definite integral.