To find the area bounded by the curves y=sinx+cosx and y=∣cosx−sinx∣ over the interval [0,2π], we set up the definite integral:
A=∫0π/2((sinx+cosx)−∣cosx−sinx∣)dx
We split the interval [0,2π] at x=4π based on the definition of the absolute value function:
-
For x∈[0,4π]:
cosx≥sinx⟹∣cosx−sinx∣=cosx−sinx
The integrand becomes:
(sinx+cosx)−(cosx−sinx)=2sinx
-
For x∈[4π,2π]:
sinx≥cosx⟹∣cosx−sinx∣=sinx−cosx
The integrand becomes:
(sinx+cosx)−(sinx−cosx)=2cosx
Now, we evaluate the integral over both sub-intervals:
A=∫0π/42sinxdx+∫π/4π/22cosxdx
Evaluating each integral separately:
∫0π/42sinxdx=[−2cosx]0π/4=−2(21)−(−2(1))=2−2
∫π/4π/22cosxdx=[2sinx]π/4π/2=2(1)−2(21)=2−2
Adding the two results together gives the total area:
A=(2−2)+(2−2)=4−22=22(2−1)
Therefore, the correct option is B.