The area, enclosed by the curves y=sinx+cosx and y=∣cosx−sinx∣ and the lines x=0, x=2π, is
📖 Explanation
Determining the area enclosed by two curves requires evaluating the integral of the upper function minus the lower function across the specified interval. Because the expression y=∣cosx−sinx∣ contains an absolute value, it changes definition at the point where cosx=sinx, which is x=4π. On the sub-interval [0,4π], the expression cosx is greater than or equal to sinx, so the integrand simplifies to (sinx+cosx)−(cosx−sinx)=2sinx. On the sub-interval [4π,2π], sinx is greater than or equal to cosx, leading to an integrand of (sinx+cosx)−(sinx−cosx)=2cosx.
The total area is found by summing the results of the two definite integrals:
∫04π2sinxdx+∫4π2π2cosxdx
Evaluating these, the first integral becomes 2[−cosx]04π=2(1−21), and the second integral becomes 2[sinx]4π2π=2(1−21). Adding these segments together results in 2(1−21+1−21)=2(2−2). Factoring this expression leads to the final result of 22(2−1).