Chalk−1

Math · Calculus I · Worked example

Split the area where two curves cross

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

y=x3,y=x

Try one — Chalk checks each line

Find the crossings

x3=x gives x3−x =x⁢(x−1)⁢(x+1) =0, so x=−1, 0 or 1. Three crossings mean two pieces, and the order of the curves may differ on each.

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

Check the order on each piece

At x=−1⁢/2, x3=−1⁢/8 lies above x=−1⁢/2. At x=1⁢/2, x=1⁢/2 lies above x3=1⁢/8. x3 is on top on [−1,0], and x is on top on [0,1].

Integrate the left piece

Top minus bottom on [−1,0] is x3−x. An antiderivative is x4/4−x2/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

On [0,1] the order flips, so the gap is x−x3. Its integral is 1⁢/2−1⁢/4=1⁢/4.

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

Add the pieces

Both pieces are positive, so they add to the area, 1⁢/4+1⁢/4=1⁢/2. Integrating x−x3 straight across [−1,1] gives 0 instead, because the two pieces cancel.

14+14=12

Result

The total area is 1⁢/2. The signed integral of x−x3 over [−1,1] is 0.

Your turn

1. One like the example

Find the area between y=sinx and y=cosx on [0,π⁢/2].

Show the answer and explanation

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

2. A variation

Find the area between y=x2 and y=x on [0,2]. This time the interval is given, and it runs past the crossing.

Show the answer and explanation

1. The signed integral of x−x2 over [0,2] is −2⁢/3.

x2=x at x=0 and x=1, so split at 1. On [0,1] the line is on top and the piece is 1⁢/2−1⁢/3=1⁢/6. On [1,2] the parabola is on top and the piece is (8⁢/3−2)−(1⁢/3−1⁢/2) =5⁢/6. The area is 1⁢/6+5⁢/6=1.

x2=xx=0 or ⁢x=1∫01(x−x2)d⁢x=12−13=16∫12(x2−x)d⁢x=(83−2)−(13−12)=5616+56=1
x2=xx=0 or ⁢x=1∫01(x−x2)d⁢x=16∫12(x2−x)d⁢x=(83−2)−(13−12)=5616+56=1

3. Somewhere new

Two runners start together. A runs at t m⁢/⁢s and B at a steady 2 m⁢/⁢s, t seconds after the start. How far ahead does B get, and when does A draw level?

Show the answer and explanation

B leads by 2 m at t=2 s, and A draws level at t=4 s.

The speeds are equal at t=2. Before that B is faster, and the lead grows by the area between the speed graphs, ∫02 (2−t) d⁢t=2 m. After t=2, A is faster and gains ∫24 (t−2) d⁢t=2 m by t=4. The signed integral ∫04 (t−2) d⁢t=0 says they are level then.

t=2∫02(2−t)d⁢t=4−2=2∫24(t−2)d⁢t=(8−8)−(2−4)=2∫04(t−2)d⁢t=8−8=0
t=2∫02(2−t)d⁢t=4−2=2∫24(t−2)d⁢t=(8−8)−(2−4)=2∫04(t−2)d⁢t=8−8=0

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.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

See both curves in Graph Check the pieces in Math Study the 4 key terms Open worked example on a board Area between curves in Math Reference

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