From Signed Accumulation to Geometric Area
A definite integral records signed accumulation. Where a function is positive, its contribution is positive; where it is negative, its contribution is negative. Geometric area, by contrast, is never negative. If a graph crosses the x-axis, the signed contributions on opposite sides can cancel, even though the regions on both sides have positive area.
To find the geometric area between the graph of a continuous function and the x-axis on a closed interval, locate the function’s zeros, determine its sign between consecutive zeros, and add the areas of the resulting pieces. On each piece, the function has a consistent sign, so its area is either the integral of the function or the negative of that integral.
Why the Absolute Value Gives Area
Imagine dividing \([a,b]\) into narrow subintervals. Over a subinterval of width \(\Delta x\), the graph’s vertical distance from the x-axis is approximately \(|f(x)|\), so the corresponding thin strip has area approximately \(|f(x)|\Delta x\). Adding these nonnegative strip areas and taking the limit gives the integral of \(|f|\). Continuity ensures that this Riemann integral exists.
The sign of \(f\) determines how to calculate this integral. If \(f(x)\geq 0\) throughout an interval, then \(|f(x)|=f(x)\); if \(f(x)\leq 0\), then \(|f(x)|=-f(x)\). Thus, when the zeros divide \([a,b]\) into finitely many intervals on which the sign is constant, the total area is the sum of the appropriate signed integrals.
where \(a=x_0<x_1<\cdots<x_n=b\) and each interval \([x_{i-1},x_i]\) contains no sign change in its interior. In practice, choose the \(x_i\) to include every zero where the sign changes. Including other zeros is also valid, and can make the sign analysis clearer.
Worked Example: A Curve That Crosses the Axis Twice
Worked Example: A Curve That Crosses the Axis Twice
Find the area between \(f(x)=x^2-1\) and the x-axis on \([-2,2]\).
First locate the zeros:
These zeros divide the interval into \([-2,-1]\), \([-1,1]\), and \([1,2]\). On the first interval, testing \(x=-\frac32\) gives \(f(-\frac32)=\frac94-1=\frac54>0\). On the middle interval, \(f(0)=-1<0\). On the last interval, \(f(\frac32)=\frac54>0\). So the graph is above, below, and then above the axis.
An antiderivative is \(F(x)=\frac{x^3}{3}-x\), since \(F'(x)=x^2-1\). Calculate the area of each piece:
The middle integral is negative, so reverse its sign to obtain the geometric area:
The last piece has the same positive sign as the first:
Therefore, \(A=A_1+A_2+A_3=\frac43+\frac43+\frac43=4\) square units. As a check, the signed integral over the whole interval is \(\frac43-\frac43+\frac43=\frac43\), not \(4\), because its negative middle contribution cancels part of the positive area. Differentiating \(F\) gives \(F'(x)=x^2-1\), confirming the antiderivative used.
Zeros Tell You Where to Check the Sign
A continuous function cannot change from positive to negative, or from negative to positive, without taking the value zero in between. Therefore, between consecutive zeros it has a constant sign. To identify that sign, choose one test point in the interval and evaluate the function there. The test point tells you whether to integrate \(f\) or \(-f\) on the whole piece.
Not every zero is a crossing. For instance, a graph may touch the x-axis and turn back. Such a zero still divides the interval for sign-checking, but the sign can be the same on both sides. The next example illustrates why a repeated root must not automatically be treated as a sign change.
Worked Example: A Repeated Root Without a Sign Change
Worked Example: A Repeated Root Without a Sign Change
Find the area between \(f(x)=x(x-2)^2\) and the x-axis on \([0,3]\).
The zeros are \(x=0\) and \(x=2\), with \(x=2\) repeated. For \(0<x<3\), \(x>0\), and \((x-2)^2>0\) except at \(x=2\). Thus \(f(x)>0\) on both \((0,2)\) and \((2,3)\). The curve touches the axis at \(2\) but does not cross it. We may integrate across the whole interval, or split at \(2\); either way, the area is the integral of \(f\).
Expand the polynomial and find an antiderivative:
Since the function is nonnegative, calculate:
The answer is \(\frac94\) square units. Check the antiderivative by differentiating: \(F'(x)=x^3-4x^2+4x=x(x-2)^2\). Also, the sign check confirms that the computed integral is geometric area, rather than a signed value with negative pieces.
Worked Example: Several Sign Intervals
Worked Example: Several Sign Intervals
Find the area between \(f(x)=x^3-3x\) and the x-axis on \([-2,2]\).
Factor the function to locate its zeros:
The zeros \(-\sqrt{3}\), \(0\), and \(\sqrt{3}\) divide the interval into four pieces. Test \(x=-2\): \(f(-2)=-8+6=-2<0\). Test \(x=-1\): \(f(-1)=-1+3=2>0\). Test \(x=1\): \(f(1)=1-3=-2<0\). Test \(x=2\): \(f(2)=8-6=2>0\). Thus the signs, in order, are negative, positive, negative, positive.
An antiderivative is \(F(x)=\frac{x^4}{4}-\frac{3x^2}{2}\), because \(F'(x)=x^3-3x\). Its values at the endpoints of the pieces are:
For the negative first piece, take the negative of the signed integral:
The second piece is positive:
The third piece is negative:
The fourth piece is positive:
Adding the nonnegative areas gives \(A=\frac14+\frac94+\frac94+\frac14=5\) square units. Differentiating \(F\) confirms \(F'(x)=x^3-3x\); the sign checks show why the first and third signed integrals must be negated.
A Reliable Calculation Process
Solve \(f(x)=0\), keeping only roots in \([a,b]\). Include the interval endpoints when they are zeros.
List the endpoints and zeros in increasing order. These points divide the domain into intervals where the sign can be checked.
Test one interior point in each interval, or reason from the factors of \(f\). Do not assume every zero is a crossing.
Integrate \(f\) on positive pieces and \(-f\) on negative pieces; then add the resulting nonnegative areas.
Confirm that every piece contributes a nonnegative amount, the antiderivative differentiates to \(f\), and the final area is not confused with the signed integral.
Common Pitfall: Reporting the Signed Integral as Area
A frequent error is to integrate across the entire interval and report the result without accounting for portions below the x-axis. For \(f(x)=x^2-1\) on \([-2,2]\), the incorrect calculation is:
This is the signed integral, not the geometric area. It subtracts the region below the axis. The zeros at \(-1\) and \(1\) reveal the sign change, so the correction is to partition and add the magnitudes: \(\frac43+\frac43+\frac43=4\) square units. Equivalently, integrate \(|x^2-1|\) over the full interval.
Check Your Understanding
For each question, pay attention to the zeros and the sign of the function between them.
- Why can \(\int_a^b f(x)\,dx\) fail to equal the geometric area between the graph and the x-axis?
- Find the zeros of \(f(x)=x^2-4\) on \([-3,3]\), and state the sign of \(f\) on each interval they determine.
- Does \(f(x)=(x-1)^2\) change sign at \(x=1\)? Explain how you can tell.
- For a continuous function with no zeros in \((a,b)\), what sign test can determine whether its area on \([a,b]\) is \(\int_a^b f(x)\,dx\) or \(-\int_a^b f(x)\,dx\)?
- What is the geometric meaning of \(|f(x)|\) in the area formula?