When calculating the area bounded by a curve and the x-axis, you must use the absolute value of the function, $|f(x)|$. This often requires splitting the integral into multiple intervals at the points where the function crosses the x-axis (i.e., at its roots).