can someone show me what is the next step of this integral?
\[\pi \int\limits_{0}^{\frac{ \pi }{ 4 }}(cosx+1)^{2}-(sinx+1)^{2}dx\]
expand the squares cos^2x - sin^2x = cos 2x other terms are standard
what do you mean?
(a+b)^2 = a^2+2ab +b^2 (cos x +1)^2 =.... (sin x +1)^2 = ...
oh the top equals sin^2 x and the bottom cos^2 x right?
not actually (cos x + 1)^2 = cos^2x + 2 cos x +1 no simplification similarly do (sin x +1)^2
sin^2x+2sinx+1
yes, so your function to be integrated will be cos^2x - sin ^2 x + 2 cos x - 2 sin x right ??
yea
theres still a pi in the front right?
yes, let that pi remain there :) now use cos^2 x - sin ^2 x = cos 2x now can you integrate each term ? cos 2x 2cos x -2sin x
would it be sin2x+2sinx+2cosx
sin2x /2 isn't it ? 2sin x +2 cos x are correct :)
what is cos2x?
cos 2x = cos^2 x - sin^2 x integral of cos 2x = (sin 2x)/2
was that your doubt ?
yea
so could you solve the entire integral now ?
am i doing this correctly so far? \[\pi(\frac{-3\sqrt{2} }{ 2}+2)\]
pi [ (1/2 +2/sqrt 2 + 2/sqrt 2) - (0+0+2) ] how did you get that ?
isn't 1/2sin2(pi/4)=sqrt2/2
1/2 sin (pi/2) = 1/2 (1) = 1/2 because sin pi/2 = 1
oh i thought i plug in pi/4?
you do plug in pi/4 in sin 2x -----> sin 2(pi/4) = sin (2pi/4) = sin (pi/2)
oh i see and how come 2sin(pi/4)=2/sqrt2
sin pi/4 = 1/ sqrt 2
is the answer pi/2?
pi [ (1/2 +2/sqrt 2 + 2/sqrt 2) - (0+0+2) ] = pi[2 sqrt 2 - 3/2]
so that would be the answer?
yes :)
thank you for your help!!!
welcome ^_^
Join our real-time social learning platform and learn together with your friends!