How Do You Integrate (e^ax)cos^2(2bx)dx Correctly?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
Geronimo85
Messages
20
Reaction score
0
I'm supposed to integrate the following expression, and supposedly there is a very simple way to do so. Maple comes up with something rediculous, so I'd appreciate any input. Sorry about the short hand, don't know how to make everything pretty on here:

Integral[(e^ax)cos^2(2bx)dx] where a and b are positive constants

So far all I've got is:

(e^ax)cos^2(2bx)= (e^ax)*[(e^(i*2*b*x) - e^(-i*2*b*x))/2]^2

because: cosx = (e^ix - e^-ix)/2

squaring inside the brackets gets me:

(e^ax)*2[(e^(-4*b^2*x^2)-e^(4*b^2*x^2))/4]

I'm stuck and need to get this done for tomorrow
 
Last edited:
Physics news on Phys.org
Why did you start a new thread for the same question? You are also still making the same mistake that was point out to you before:

Squaring inside the brackets does NOT give you

(e^ax)*2[(e^(-4*b^2*x^2)-e^(4*b^2*x^2))/4]

Because [itex](e^x)^2 = e^{2x}[/itex], NOT [itex]e^{x^2}[/itex].

And, although I shouldn't have to say it if you are taking calculus, (a+ b)2 is NOT a2+ b2!