The area of the region bounded by the curve y=max{∣x∣,x∣x−2∣}, then x-axis and the lines x=−2 and x=4 is equal to ______.
Answer: 12
Solution
On [−2,4] the graph is y=max{∣x∣,x∣x−2∣}, and since ∣x∣≥0 the curve never falls below the x-axis. For −2≤x≤0, ∣x∣=−x exceeds the negative x(2−x), so y=−x. For 0≤x≤1, x(2−x)−x=x(1−x)≥0, so y=x(2−x). For 1≤x≤3 the line y=x dominates, as both x(2−x) on [1,2] and x(x−2) on [2,3] stay below x. For 3≤x≤4, x(x−2)−x=x(x−3)≥0, so y=x(x−2). The area is