The rule
∫ₐᵇ (f(x) − g(x)) dx = ∫ₐᵇ f(x) dx − ∫ₐᵇ g(x) dx
Holds when f and g are integrable on [a, b] and all three integrals have the same limits. It follows from the sum rule and the constant factor rule with the factor −1.
Worked examples
∫₁³ (x² − x) dx = 26/3 − 4 = 14/3 ≈ 4.667.
The area between two curves. The line y = x + 2 lies above the parabola y = x² from x = −1 to x = 2. The area between them is
∫₋₁² ((x + 2) − x²) dx = [x²/2 + 2x − x³/3]₋₁² = 10/3 − (−7/6) = 9/2
The upper curve comes first. Compare the area under a curve.
Common mistakes
- Subtracting in the wrong order. For an area, the upper function goes first; otherwise the sign is wrong.
- Assuming the curves do not cross. If they swap places inside [a, b], split the interval at the crossing, as on splitting an integral, and take each part positive.
- Subtracting the integrands but not the limits. The limits are shared.
Common questions
Can the answer be negative?
Yes, if g lies above f on most of the interval. The integral counts that as negative, which is why area
problems fix the order of the curves first.