AP Syllabus focus:
‘Area between two graphs on an interval can also be written as ∫_a^b |f(x) − g(x)| dx, ensuring that the integrand representing the vertical distance is always nonnegative.’
This subsubtopic explains how using an absolute value inside a definite integral guarantees a nonnegative measure of vertical distance between curves, even when the top and bottom functions switch.
Using the Integral of the Absolute Value of a Difference
When determining the area between two curves, students often subtract the lower function from the upper function on a given interval. However, when the relative positions of the curves change, identifying which function is greater at each subinterval can become inefficient or unclear. The integral of the absolute value of the difference provides a consistent method to ensure that accumulated area remains nonnegative regardless of which curve lies above the other.
Understanding Vertical Distance
The vertical distance between curves at a point refers to the magnitude of the difference in their -values. Since area must always be nonnegative, the integrand should never be allowed to take on negative values. The absolute value resolves this issue by ensuring positivity. Whenever the value of changes sign, the integral of continues to accumulate distance without requiring manual subdivision of the interval.
Vertical Distance: The nonnegative difference in -values between two curves evaluated at the same -coordinate.
Between graphs that may cross multiple times, this definition guarantees that the expression inside the area integral represents the actual separation rather than a signed quantity. This allows the absolute-value integral to function as a general tool for constructing area expressions without the need for piecewise analysis unless simplification is desired.
The Absolute Value Integral as Total Enclosed Area
Using the integral of the absolute value of a difference gives a single expression for the area between curves on an interval :
= Total area between the curves on
= Functions defining the curves
This formulation corresponds directly to the syllabus requirement: the integrand must represent a nonnegative quantity. Because the absolute value automatically adjusts to whichever function lies above at a point, the approach is particularly useful if intersections are difficult to solve analytically or if the region switches configuration often.
A key feature of this method is that it mirrors how area is treated geometrically: area accumulates magnitude only, without regard to orientation. Without the absolute value, a definite integral of could produce cancellation, distorting the actual enclosed area. The absolute value prevents such cancellation.
When the Absolute Value is Especially Useful
Students encounter situations in which the absolute value integral provides a cleaner or more reliable representation of area. Common conditions include:
Multiple intersection points where determining subintervals manually would be cumbersome.
Alternating top and bottom curves, making the usual “top minus bottom” formula unstable across .
Graphs defined by tables or data where the ordering of and is not algebraically obvious.
Contextual problems where sign changes occur unpredictably and precise decomposition is unnecessary for conceptual understanding.
Each of these circumstances benefits from a method that ensures correct accumulation of area even when algebraic complexity increases. The absolute value thus streamlines the process while preserving mathematical correctness.
Conceptual Meaning of the Absolute Value
The presence of the absolute value indicates that the integral is accumulating a distance rather than a net difference. Whereas measures signed area, the expression with captures the full geometric region. This interpretation aligns closely with the idea of area as a physical quantity, reinforcing the foundational principle that area is inherently nonnegative.
Signed Area: A definite integral’s representation of area that allows positive and negative contributions based on function order.
A definite integral of a real-valued function represents a signed area, where regions below the x-axis contribute negative area.

This graph shows a function with regions above and below the x-axis shaded in distinct colors, illustrating positive and negative signed areas. It highlights that can include both positive and negative contributions. The geometric region may appear similar, but the sign difference affects the integral’s value. Source.
Between any two definition blocks, regular sentences are present to maintain clarity. Understanding the distinction between signed area and geometric area helps students appreciate why the absolute value formulation is necessary in certain integral applications.
Structure of the Integrand
The integrand embodies the magnitude of separation between curves. Because the absolute value function measures distance on the real number line, it naturally fits the requirement for representing the vertical separation of curves. Additional insights into the behavior of the integrand include:
When f(x) > g(x), the integrand simplifies to .
When f(x) < g(x), it becomes .
At intersection points where , the integrand is zero, but this does not affect total area.
We can interpret as the accumulated area of infinitely many thin vertical strips between the two graphs over .

This diagram shows with the region under the curve shaded from to . It illustrates the definite integral as accumulated area formed by thin vertical slices. Though shown for a single curve, the same idea applies when slice height equals . Source.
Notably, the integral does not require explicit partitioning where the curves cross, though doing so may sometimes simplify evaluation.
Interpreting the Absolute Value Graphically
Graphically, the quantity corresponds to the vertical distance between the two curves at each value of . This perspective reinforces the geometric meaning of the area integral. Regardless of orientation, the distance remains measured as a nonnegative quantity, maintaining consistency with the procedure required for computing enclosed area.
Benefits for Applied or Complex Regions
In applied contexts or when working with irregularly shaped regions, the absolute value approach provides an efficient and reliable method. Because it avoids assumptions about which function lies above, it aligns naturally with situations where modelled phenomena cross or fluctuate. Whenever and intersect, the identity of the top and bottom curves changes, so we split the interval at those intersection -values and evaluate separate integrals on each subinterval.

This graph displays and with the region between them split into two subregions. One curve lies above the other in each subregion, illustrating how the vertical distance changes at intersection points. The extra labels (R1 and R2) help highlight the shift in which function is on top. Source.
FAQ
The integral of the absolute value automatically adjusts to whichever function is on top at each point, so it does not rely on knowing the number of intersections beforehand.
This is particularly helpful when intersections are difficult to solve algebraically or occur at irrational values. The integrand simply measures the vertical distance at each x-value, regardless of curve behaviour.
It is inappropriate only when the question requires signed area rather than geometric area. Signed area preserves positive and negative contributions, while the absolute value erases sign entirely.
If a task specifically asks for net change in area-like quantities, using the absolute value may give a result that does not reflect the intended interpretation.
Look for signs that the relative positions of the curves are inconsistent:
• The curves cross more than once.
• The spacing between curves changes direction.
• There is no clearly defined “top” or “bottom” function across the interval.
These situations make splitting the interval more time-consuming, so the absolute value provides a more efficient single-integral method.
The numerical method remains the same, but the function you evaluate changes. You compute values of |f(x) − g(x)| instead of f(x) − g(x).
This ensures every trapezoid or rectangle adds to the geometric area, preventing cancellation even when the estimate is made from discrete data.
In real scenarios, the key quantity is often the magnitude of separation between curves, such as difference in speed, cost, or concentration.
The absolute value expression directly models this magnitude without requiring the interpreter to determine which value is larger at each stage, reducing the chance of misidentifying top and bottom functions and improving conceptual clarity.
Practice Questions
Question 1 (1–3 marks)
The graphs of two continuous functions f and g intersect at x = 1 and x = 3 on the interval [0, 4].
Explain why the area between the curves on [0, 4] can be written as
∫ from 0 to 4 of |f(x) − g(x)| dx
even though the functions change which one lies above the other.
Question 1
1 mark: Correctly states that the absolute value ensures the integrand is always non-negative.
1 mark: Indicates that the sign of f(x) − g(x) changes because the curves swap which one is above.
1 mark: Concludes that the single expression using the absolute value therefore captures the full geometric area on the whole interval.
Total: 3 marks.
Question 2 (4–6 marks)
Let f and g be continuous functions on the interval [2, 7].
The functions intersect at x = 3 and x = 5.
On 2 ≤ x < 3, f(x) > g(x).
On 3 < x < 5, g(x) > f(x).
On 5 < x ≤ 7, f(x) > g(x).
(a) Write an expression for the total area enclosed between f and g on [2, 7] using definite integrals without absolute values.
(b) Hence write a single integral involving |f(x) − g(x)| which also represents this total area.
(c) State one advantage of using the absolute value form in applied or graphical problems.
Question 2
(a)
1 mark: Correct integral on [2, 3] written as ∫ from 2 to 3 of (f(x) − g(x)) dx.
1 mark: Correct integral on [3, 5] written as ∫ from 3 to 5 of (g(x) − f(x)) dx.
1 mark: Correct integral on [5, 7] written as ∫ from 5 to 7 of (f(x) − g(x)) dx.
(b)
1 mark: Writes a single integral ∫ from 2 to 7 of |f(x) − g(x)| dx.
(c)
1 mark: States an acceptable advantage, such as:
• It avoids having to identify which curve is on top on each subinterval.
• It prevents cancellation of areas when the difference changes sign.
• It is easier to apply when working directly from a graph or data table.
Total: 6 marks.
