Find points of intersection.
We need to see where the parabola y=x2+4x+2 intersects the absolute value function y=∣x+2∣.
• Case 1: x≥−2 (where ∣x+2∣=x+2)
x2+4x+2=x+2⟹x2+3x=0⟹x=0 or x=−3 (reject −3).
• Case 2: x<−2 (where ∣x+2∣=−(x+2))
x2+4x+2=−x−2⟹x2+5x+4=0⟹(x+1)(x+4)=0⟹x=−4 or x=−1 (reject −1).
Set up the integral.
The area is bounded between x=−4 and x=0.
Area=∫−40(∣x+2∣−(x2+4x+2))dx
Since the functions are symmetric about x=−2, we can calculate the area from −2 to 0 and double it:
Area=2∫−20((x+2)−(x2+4x+2))dx=2∫−20(−x2−3x)dx
=2[−3x3−23x2]−20=2[0−(38−6)]=2(310)=320