Integrating e^ax+by(a*cos(xy)-y*sin(xy)) with respect to x

  • Thread starter Thread starter Math10
  • Start date Start date
  • Tags Tags
    Integrate
Math10
Messages
301
Reaction score
0

Homework Statement


Integrate e^(ax+by)(a*cos(xy)-y*sin(xy)) with respect to x.

Homework Equations


None.

The Attempt at a Solution


The answer is (cos(xy))(e^(ax+by)). I know that I need to treat y as a constant since I'm integrating it with respect to x but I don't know how to integrate this at all. Please help me.
 
Physics news on Phys.org
Here is the equation in a LaTeX format:

$$\int e^{ax+by}(a*cos(xy) - ysin(xy)) dx = a \int e^{ax+by}cos(xy) dx - y \int e^{ax+by}sin(xy) dx$$

I believe integration by parts should take it from here.
 
Let me try.
 
I tried integration by parts but it seems that it complicates the problem even more.
Here's my work:
u=cos xy
dv=ae^(ax+by) dx
du=-y*sin(xy)
v=e^(ax+by)
(cos(xy))(e^(ax+by))-integral of (e^(ax+by))(-y*sin(xy))
 
Have you been introduced to the table method? It makes integration by parts a little bit easier to manage.

I hope you have a lot of paper laying around for this one.
 
Have you seen the exponential substitution for ##\sin ## and ##\cos##?
##\sin xy = \frac{e^{ixy}-e^{-ixy}}{2i}, \quad \cos xy = \frac{e^{ixy}+e^{-ixy}}{2}##.
Handling this integration on exponentials will be much simpler.
 
Nevermind, this looks like a better candidate for substitution.
Try ##u = e^{ax+by} a cos(xy)##. What would du be?
 
Zondrina said:
Here is the equation in a LaTeX format:

$$\int e^{ax+by}(a*cos(xy) - ysin(xy)) dx = a \int e^{ax+by}cos(xy) dx - y \int e^{ax+by}sin(xy) dx$$

I believe integration by parts should take it from here.
And the above can be simplified slightly by bringing eby outside each integral. The property I'm using is that eu + v = eu * ev. Since the integration is to be done with respect to x, any factors involving just y can be considered constants, and brought out of the integration.

To do each integral, you'll need to use integration by parts twice. It will seem that you're going around in circles, as you end up with something similar to what you started with (if you do it right), but you can solve algebraically for the integral. Your textbook probably has an example of this technique.
 
After you pull the ##e^{by}## out as Mark suggested, you're left with an integrand of ##ae^{ax}\cos xy - e^{ax}y\sin xy##. My first thought upon seeing that integrand was that it looked like it might be the result of the product rule because ##ae^{ax}## is the derivative of ##e^{ax}##. A quick check verified that it was indeed, making the integration trivial. Doing stuff like that can help you avoid a lot of unnecessary work.
 
  • Like
Likes PeroK
  • #10
How does the table method of integration by parts work? I've never been taught using that method.
 
Back
Top