x3=x gives x3−x=x(x−1)(x+1)=0, so x=−1,0or 1. Three crossings mean two pieces, and the order of the curves may differ on each.
x3−x=x(x−1)(x+1)=0
2
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].
3
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)dx=0−(41−21)=41
∫−10(x3−x)dx=0−(41−21)=41
4
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)dx=21−41=41
5
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.
41+41=21
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
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.
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)dx=21−31=61∫12(x2−x)dx=(38−2)−(31−21)=6561+65=1
x2=xx=0 or x=1∫01(x−x2)dx=61∫12(x2−x)dx=(38−2)−(31−21)=6561+65=1
3. Somewhere new
Two runners start together. A runs at tm/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) dt=2 m. After t=2,A is faster and gains ∫24 (t−2) dt=2 m by t=4. The signed integral ∫04 (t−2) dt=0 says they are level then.
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.