Signed Accumulation from Left to Right
A definite integral records accumulation across an interval. In this tutorial, the interval is traversed from its left endpoint to its right endpoint. The contribution at each location depends on the sign of the function: values above the horizontal axis add to the total, while values below the axis subtract from it.
This means the definite integral is not always the same as the total geometric area between the graph and the axis. Positive and negative contributions can partly or completely cancel. Keeping track of their signs is essential whenever the function crosses the axis or changes sign at a jump.
Here \(\Delta x_i\) is the positive width of a subinterval, and \(x_i^*\) is a sample point in that subinterval. The sign comes from the function value, not from the width. The integral is the net result of all these contributions as the partition is refined.
How the Graph Determines the Sign
Where \(f(x)>0\), the graph lies above the horizontal axis, so the corresponding signed accumulation is positive. Where \(f(x)<0\), the graph lies below the axis, so its contribution is negative. A point where \(f(x)=0\) contributes nothing by itself; what matters for the integral is the behavior across intervals around that point.
For a graph made of simple regions, it is often useful to describe the result as a difference:
In this expression, both geometric areas are nonnegative numbers. The subtraction is what makes the integral signed. By contrast, the total geometric area counts both regions positively, so it is the sum of their areas. These are different quantities whenever the graph lies below the axis over a region of positive width.
The sign of the integral is determined by the balance of the contributions, not just by whether the graph crosses the axis. A function can be positive on part of an interval and negative on another part, yet have a positive, negative, or zero integral depending on the sizes of those contributions.
Why Positive and Negative Contributions Combine This Way
The sign rule follows directly from the Riemann-sum definition. In a partition, each rectangle has width \(\Delta x_i>0\) and signed height \(f(x_i^*)\). Its signed contribution is therefore \(f(x_i^*)\Delta x_i\). If the sampled height is positive, the term is positive; if the height is negative, the term is negative.
Suppose, for example, that a graph is above the axis on one part of the interval and below it on another. Choose partitions that include the points where the sign changes. At each stage, group the sum's terms according to which part of the graph they sample. The positive-side terms approximate the area above the axis. The negative-side terms have negative signs, and their absolute values approximate the area below the axis. As the mesh shrinks, the sums approach the integral, giving the difference between the two areas.
This argument explains why the integral is a net accumulation. It does not say that a region below the axis has negative geometric area. Its geometric area is positive; its contribution to the signed integral is negative.
Worked Example: Equal Positive and Negative Contributions
Worked Example: Equal Positive and Negative Contributions
Calculate \(\int_0^4 (x-2)\,dx\), and compare the signed integral with the total geometric area.
The function \(f(x)=x-2\) is negative for \(0\le x<2\), zero at \(x=2\), and positive for \(2<x\le4\). On \([0,2]\), its graph forms a triangle below the axis with base \(2\) and height \(2\). Its geometric area is
On \([2,4]\), the graph forms a triangle above the axis with the same base and height. Its geometric area is also
The lower triangle contributes negatively and the upper triangle positively. Therefore, the signed integral is
The total geometric area, which counts both regions positively, is \(2+2=4\). The signed integral is \(0\), not \(4\), because the two contributions cancel.
We can check the integral with right-endpoint Riemann sums. Divide \([0,4]\) into \(n\) equal subintervals. Then \(\Delta x=4/n\), and the \(i\)-th right endpoint is \(x_i=4i/n\). The sum is
As \(n\) tends to infinity, \(8/n\) tends to \(0\), confirming the result. The finite sums need not be exactly zero, but their limit is.
Worked Example: A Positive Net Result with a Sign Change
Worked Example: A Positive Net Result with a Sign Change
Calculate \(\int_0^3 (x-1)\,dx\), then find the total geometric area between the graph and the axis.
The function \(x-1\) is negative on \([0,1)\), zero at \(1\), and positive on \((1,3]\). On \([0,1]\), the graph forms a triangle below the axis with base \(1\) and height \(1\), so its area is
On \([1,3]\), it forms a triangle above the axis with base \(2\) and height \(2\), so its area is
Subtract the below-axis area from the above-axis area to get the signed integral:
The total geometric area is instead
As a Riemann-sum check, use \(n\) equal subintervals with right endpoints \(x_i=3i/n\) and width \(\Delta x=3/n\). Then
The limit of this sum is \(3/2\), as found from the signed areas. The positive contribution is larger than the negative one, so the net integral is positive even though the function is negative on part of the interval.
Worked Example: Several Sign Changes
Worked Example: Several Sign Changes
Let \(f\) be \(1\) on \([0,1)\), \(-2\) on \([1,2)\), and \(1\) on \([2,4]\). Find its signed integral on \([0,4]\) and its total geometric area. Values at the individual breakpoints do not affect these integrals.
The first interval contributes \(1\) over a width of \(1\), so its signed contribution is \(1\cdot1=1\). The second interval contributes \((-2)\cdot1=-2\). The final interval contributes \(1\cdot2=2\). Adding the signed contributions gives
For the total geometric area, count the region from the middle interval positively as well. The three areas are \(1\), \(2\), and \(2\), so the total is
To check by Riemann sums, use partitions that include \(0,1,2,4\). On each constant piece, every rectangle has the same height as the function, so the sums are exactly \(1\), \(-2\), and \(2\) on the respective intervals. Their total is \(1\), agreeing with the signed integral. This example shows why the sign must be tracked separately on every region where the function changes sign.
Two Different Sources of Sign
When interpreting definite integrals, keep separate two ideas that can both affect signs.
- Function sign: On an interval traversed from left to right, a region where \(f\) is below the axis contributes negatively; a region where \(f\) is above contributes positively.
- Direction of the interval: The order of the integration bounds is another sign issue. Reversing bounds is a separate rule, considered separately from deciding whether the graph is above or below the axis.
For the calculations here, the bounds are in increasing order. A negative answer does not by itself mean that the bounds were reversed: it may simply mean that the below-axis contributions outweigh the above-axis contributions.
Common Mistake: Adding Every Area Positively
A frequent error is to calculate the geometric areas correctly but then add them all when asked for a definite integral. For \(f(x)=x-1\) on \([0,3]\), this incorrect calculation would be
The calculation on the right gives the total geometric area, not the signed integral. The left triangle lies below the axis and must contribute negatively. The correction is
A reliable check is to mark the sign of the function on each region before calculating. Then attach a plus sign to the above-axis areas and a minus sign to the below-axis areas. Only after forming that signed sum should you simplify.
Why Signed Accumulation Matters
Many quantities accumulate with direction or deviation from a reference level. For instance, if a rate is positive during some time intervals and negative during others, its integral represents the net change: increases and decreases contribute with opposite signs. The total amount of movement, by contrast, would count both directions positively. This is the same distinction as signed integral versus total geometric area.
For graphs that cross the axis several times, the practical method is consistent: identify the intervals of positive and negative function values, find each contribution, and combine them with their signs. This prevents a large region on one side of the axis from being mistaken for the net result without considering the contributions on the other side.
Check Your Understanding
For each question, distinguish the signed integral from geometric area where appropriate.
- If a graph has area \(6\) above the axis and area \(4\) below it, what are the signed integral and the total geometric area?
- Can a function that is positive on part of an interval and negative on another part have integral zero? Explain what must happen to its contributions.
- For \(f(x)=x-2\) on \([0,4]\), why is the total geometric area not equal to the definite integral?
- In a Riemann sum with positive subinterval widths, what determines whether an individual term is positive or negative?
- A negative value of a definite integral with increasing bounds means the graph must be below the axis everywhere. Is this conclusion correct? Explain.