Curves That Cross Several Times
When two curves cross more than twice, the top and bottom curves switch at each crossing. This guide shows how to find every crossing, set up one integral per piece, and add the pieces.
Solve \(f(x) = g(x)\) by factoring to find every crossing. Between consecutive crossings, test a point to see which curve is on top, and integrate top minus bottom on that piece. Add the pieces. A single integral across a crossing lets the pieces cancel, and its value is not the area. On a calculator, \(\int_a^b |f - g|\,dx\) does the splitting for you.
1Finding every crossing
Area between \(y = x^3\) and \(y = x\)
- 1Crossings: \(x^3 = x\), so \(x^3 - x = x(x - 1)(x + 1) = 0\): \(x = -1, 0, 1\).
- 2On \((-1, 0)\), test \(x = -0.5\): \(-0.125 \gt -0.5\), so \(x^3\) is on top. On \((0, 1)\), \(x\) is on top.
- 3\(\displaystyle\int_{-1}^{0}(x^3 - x)\,dx + \int_0^1(x - x^3)\,dx = \frac14 + \frac14\).
“The curves intersect at \(x = -1, 0, 1\). The area is \(\displaystyle\int_{-1}^{0}(x^3 - x)\,dx + \int_0^1(x - x^3)\,dx = \frac12\).”
Between \(y = x^3\) and \(y = 4x\)
- 1Dividing \(x^3 = 4x\) by \(x\) gives \(x^2 = 4\) and loses \(x = 0\). Factor instead: \(x(x - 2)(x + 2) = 0\).
- 2Three crossings: \(-2, 0, 2\). By symmetry, area \(= 2\displaystyle\int_0^2(4x - x^3)\,dx = 2(8 - 4) = 8\).
Dividing both sides by \(x\) throws away the solution \(x = 0\), and with it one of the pieces. Move everything to one side and factor.
2One piece at a time
Between \(y = x^3 - x^2 - 2x\) and the x-axis
- 1Factor: \(x(x^2 - x - 2) = x(x - 2)(x + 1)\). Crossings at \(x = -1, 0, 2\).
- 2On \((-1, 0)\) the curve is above the axis: \(\displaystyle\int_{-1}^{0}(x^3 - x^2 - 2x)\,dx = \frac{5}{12}\).
- 3On \((0, 2)\) it is below: \(\displaystyle\int_0^2\left[0 - (x^3 - x^2 - 2x)\right]dx = \frac83\).
- 4Total: \(\frac{5}{12} + \frac{32}{12} = \frac{37}{12}\).
\(\displaystyle\int_{-1}^{1}(x^3 - x)\,dx = 0\), even though the region in Figure 1 has area \(\frac12\). The two pieces have opposite signs and cancel.
The top curve can change at each crossing. In Worked Example 3 the curve is above the axis on \((-1, 0)\) and below it on \((0, 2)\). Test a point in every piece.
Each piece is a positive area once top minus bottom is right. The total is their sum: \(\frac{5}{12} + \frac83\), not \(\frac83 - \frac{5}{12}\).
3Shortcuts
Same region, half the work
- 1Both \(x^3\) and \(x\) are odd functions, so the left piece is the right piece turned upside down.
- 2Area \(= 2\displaystyle\int_0^1(x - x^3)\,dx = 2\cdot\frac14 = \frac12\).
One integral with absolute value
- 1The area between \(f\) and \(g\) on \([a, b]\) is \(\displaystyle\int_a^b |f(x) - g(x)|\,dx\). The absolute value flips each piece where \(g\) is on top.
- 2For Worked Example 3: \(\displaystyle\int_{-1}^{2}|x^3 - x^2 - 2x|\,dx \approx 3.083\).
Quick reference
| Step | Action |
|---|---|
| 1 | Solve f = g by factoring; list every crossing |
| 2 | Test a point in each piece for the top curve |
| 3 | Integrate top − bottom on each piece |
| 4 | Add the pieces (all positive) |
| Calculator | \(\int_a^b |f(x) - g(x)|\,dx\) |