Chalk−1

Math · Calculus I · Worked example

Split the area where two curves cross

Find the total area enclosed by y = x³ and y = x.

y=x3,y=x

Find the crossings

x³ = x gives x³ − x = x(x − 1)(x + 1) = 0, so x = −1, 0 or 1.

x3−x=x⁢(x−1)⁢(x+1)=0

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.

∫−10(x3−x)d⁢x=0−(14−12)=14
∫−10(x3−x)d⁢x=0−(14−12)=14

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.

∫01(x−x3)d⁢x=12−14=14

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.

sinx=cosxx=π4∫0π⁢/4(cosx−sinx)d⁢x=(sinπ4+cosπ4)−(0+1)=2−12(2−1)≈0.828
sinx=cosx⟹x=π4∫0π⁢/4(cosx−sinx)d⁢x=2−1A=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.

Make it concrete

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 Reference

Your existing work stays on this device. Examples open as editable copies.