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

  • Thread starter Math10
  • Start date
  • Tags
    Integrate
In summary, the student is trying to integrate e^(ax+by)(a*cos(xy)-y*sin(xy)) with respect to x and is stuck. They try integrating by parts but it complicates the problem and then try substitution. After doing the integrals by hand, the student concludes that the integrand might be the result of the product rule and simplifies the problem.
  • #1
Math10
301
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
  • #2
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.
 
  • #3
Let me try.
 
  • #4
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))
 
  • #5
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.
 
  • #6
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.
 
  • #7
Nevermind, this looks like a better candidate for substitution.
Try ##u = e^{ax+by} a cos(xy)##. What would du be?
 
  • #8
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.
 
  • #9
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.
 

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

How do I determine the best integration method to use?

The best integration method to use depends on the specific problem you are trying to solve. Some common methods include the trapezoidal rule, Simpson's rule, and Euler's method. Consider the type of function and the desired accuracy when choosing a method.

What are the steps for performing numerical integration?

The general steps for numerical integration are:

  1. Choose an appropriate integration method
  2. Divide the interval of integration into smaller subintervals
  3. Calculate the function values at the endpoints of each subinterval
  4. Apply the integration method to each subinterval and sum the results

What is the difference between definite and indefinite integration?

Definite integration involves finding the numerical value of an integral over a specific interval, while indefinite integration involves finding a general expression for the integral. In other words, definite integration gives a specific answer, while indefinite integration gives a function.

Can I use numerical integration for any type of function?

Numerical integration can be used for a wide range of functions, including polynomial, exponential, and trigonometric functions. However, it may not give accurate results for functions with sharp corners or discontinuities.

How can I improve the accuracy of my numerical integration?

To improve the accuracy of numerical integration, you can use a smaller step size or a more precise integration method. It is also important to check for potential sources of error, such as round-off error or using an inappropriate integration method for the given function.

Back
Top