Analyzing the Setup
The problem asks us to evaluate the integral I=∫0π∣cosx∣3dx. At first glance, the modulus sign ∣…∣ acts as a gatekeeper, ensuring the function remains non-negative.
If you ignore the modulus, you will calculate the net area rather than the total area. We must respect the geometric reality that the function is strictly non-negative.
The Visual Trap
Imagine the graph of cosx. It starts at 1 at x=0, drops to 0 at x=2π, and dives into negative territory, reaching −1 at x=π.
When we cube the function, the negative values remain negative. However, the modulus ∣cosx∣3 reflects that negative section back above the x-axis.
Because of this behavior, we cannot integrate from 0 to π in one go. We must split the integral at the point where the function changes sign: x=2π.
The Piecewise Strategy
By splitting the integral, we adhere to the definition of the modulus. In the interval [0,2π], cosx is positive, so ∣cosx∣3=cos3x.
In the interval (2π,π], cosx is negative, so ∣cosx∣3=(−cosx)3=−cos3x. Our integral becomes:
I=∫02πcos3xdx−∫2ππcos3xdx
This transformation turns a tricky modulus problem into two standard integrals.
The Power Reduction Toolkit
To integrate cos3x, we linearize the power using the triple angle identity: cos3x=4cos3x−3cosx. Rearranging this, we obtain:
This substitution is a classic JEE maneuver. It converts a complex power into simple, integrable cosine terms. Substituting this into our expression, we get:
I=41[∫02π(cos3x+3cosx)dx−∫2ππ(cos3x+3cosx)dx]
The Execution
Integrating is now straightforward. The integral of cos3x is 3sin3x, and the integral of 3cosx is 3sinx.
Applying the limits, the first part evaluates to 32. The second part, due to the limits and the negative sign, also contributes 32. Adding them together, we get:
The final result is 34.
The Pro Shortcut
Wallis' Formula
Because the function ∣cosx∣3 is symmetric about x=2π, the area from 0 to 2π is exactly half the total area. We can use Wallis' Formula:
∫02πcosnxdx=nn−1⋅n−2n−3…
For n=3, this yields 32×1=32. Doubling this gives us 34 instantly. Mathematics is about finding the most elegant path; keep practicing to spot these symmetries!