How do you evaluate the integral #int (sin^2x-cos^2x)/cosx# from #[-pi/4, pi/4]#?
1 Answer
Explanation:
Using the fundamental trig Identity
# = int_(-pi/4)^(pi/4) (1-2cos^2x)/cosx dx #
# = int_(-pi/4)^(pi/4) 1/cosx-2cosx dx #
# = int_(-pi/4)^(pi/4) secx-2cosx dx #
# = [ln|secx+tanx| -2sinx]_(-pi/4)^(pi/4) #
# = (ln|sec(pi/4)+tan(pi/4)| -2sin(pi/4)) - (ln|sec(-pi/4)+tan(-pi/4)| -2sin(-pi/4)) #
# = (ln(sqrt2+1) -2 1/2 sqrt2) - (ln(sqrt2-1) -2 1/2 sqrt2) #
# = ln(sqrt2+1) -2 1/2 sqrt2 - ln(sqrt2-1) +2 1/2 sqrt2 #
# = ln(sqrt2+1) - ln(sqrt2-1) #
# = ln((sqrt2+1)/(sqrt2-1)) #
# = ln( (sqrt2+1)/(sqrt2-1) * (sqrt2+1)/(sqrt2+1) ) #
# = ln( (2+2sqrt2+1)/(2-1) ) #
# = ln( 3+2sqrt2 ) #