What is the integral of sqrt(cos^(2)x)cos2x from zero to pi?

2 Answers
May 6, 2015

int_0^ pi sqrt cos^2 xdxπ0cos2xdx= int_0^pi cos x dxπ0cosxdx

This definite integral means the area bounded by the curve y= cos x between x=0 to x= piπ. To evaluate this area correctly, divide the interval in two parts 0 to pi/2π2 and pi/2 π2 to piπ
= [sinx]_0^(pi/2)[sinx]π20 +

[sin x]_(pi/2)^(pi)[sinx]ππ2

The area above x axis would come to be +1 and that below x axis would come to be -1. The sum of the two areas would not be 0.
The sum of both the areas would be 1+1 =2

May 6, 2015

Note that sqrt(u^2) = absuu2=|u| if we cannot be sure that uu is positive.

In the interval [0, pi][0,π], we have:.

sqrt(cos^2x ) = abs(cosx) = { (cosx, ", if " 0<= x <= pi/2), (-cosx, ", if " pi/2<= x <= pi) :}

So the integral becomes:

int_0^pi sqrt(cos^2x ) dx = int_0^pi abs(cosx) dx

color(white)"sssssssssssssss" = int_0^(pi/2) cosx dx+int_(pi/2)^pi -cosx dx

Both of these integrals evaluate to 1, so we get:

int_0^pi sqrt(cos^2x ) dx = 1+1=2