Math · Calculus I · Worked example
Split the area where two curves cross
Find the total area enclosed by y = x³ and y = x.
Find the crossings
x³ = x gives x³ − x = x(x − 1)(x + 1) = 0, so x = −1, 0 or 1.
Check the order on each piece
At x = −1/2, x³ = −1/8 lies above x = −1/2. At x = 1/2, x = 1/2 lies above x³ = 1/8. So x³ is on top on [−1, 0] and x is on top on [0, 1].
Integrate the left piece
An antiderivative of x³ − x is x⁴/4 − x²/2, which is 0 at x = 0 and 1/4 − 1/2 = −1/4 at x = −1.
Integrate the right piece and add
On [0, 1], x − x³ gives 1/2 − 1/4 = 1/4, so the total is 1/4 + 1/4 = 1/2. Integrating x − x³ straight across [−1, 1] gives 0 instead, because the two pieces cancel.
Result
The total area is 1/2. The signed integral of x − x³ over [−1, 1] is 0.
Your turn
Find the area between y = sin x and y = cos x on [0, π/2].
Show the answer and explanation
2√2 − 2 ≈ 0.828.
The curves cross at x = π/4. Cosine is on top on [0, π/4] and sine on [π/4, π/2]. The first piece is √2 − 1, and by symmetry about x = π/4 so is the second, so the area is 2(√2 − 1) ≈ 0.828.
Keep exploring
In Graph, the curves enclose two matching loops, one on each side of the origin. Turning the picture half a turn about the origin swaps them, which is why both have area 1/4.
Return to the concept →Sources and scope
Authored study material. Tool results depend on the stated inputs and model assumptions.
Try in the workspace
Open the example inputs, change a value and keep a useful result on your board.
See both curves in Graph Check the pieces in Math Open worked example on a board Area between curves in Math ReferenceYour existing work stays on this device. Examples open as editable copies.