Complexifying an Integral: How to Solve Tricky Integrals Using Complex Numbers

  • Thread starter Thread starter jellicorse
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary
The discussion centers on using complex numbers to solve integrals involving exponential and trigonometric functions, specifically through the method introduced by Arthur Mattuck. The integral ∫ e^{-x}cos(x)dx can be simplified using the identity e^{ix} = cos(x) + isin(x), allowing it to be expressed as Re∫ e^{x(-1+i)}dx. Users express uncertainty about applying this method to integrals involving sin(x), noting that the imaginary part of e^{ix} should be utilized instead. Clarification is sought on the transition to the expression Re∫ e^{x+i(\frac{\pi}{2}-2x)}dx and the subsequent steps to reach the final result. The conversation highlights the effectiveness of complex integration techniques while addressing specific challenges with sine functions.
jellicorse
Messages
40
Reaction score
0
Watching a video on differential equations by Arthur Mattuck of MIT, I came across a method which was new to me for solving certain integrals, such as \int e^{-x}cos(x)dx . part of the video is here:

Given that e^{ix}=cosx+isinx, this integral can be re-written as Re\int e^{ix}\cdot e^{-x}dx = Re\int e^{x(-1+i)}dx and integrated this way, avoiding the need for reduction formulas...

I have looked up a few examples of this and think I can understand it when cos(x) is part of the integral, but am unsure when it comes to sin(x).

There is a (now closed) thread on this forum https://www.physicsforums.com/showthread.php?t=511534&highlight=complexifying+integral which I have been attempting to follow but I can't see quite how it works. I was wondering if anyone could help me to understand this.

The following is effectively the working from that post:

\int e^x sin2x dx

=Re\int e^x \cdot e^{i(\frac{\pi}{2}-2x)}dx

I can see that since the real part of polar co-ordinates is contained in the "cos(2x)" part, they have put the Sin(2x) in terms of Cos(2x) by subtracting it from \frac{\pi}{2}.

But I don't see how the next step is reached:

=Re\frac{i}{1-2i}e^{(1-2i)x}


I'm not sure how they got to this, nor what the intermediate steps might be. If I was doing this, I would have gone along the lines of Re\int e^{x+i(\frac{\pi}{2}-2x)}dx. While I can see that that expression doesn't look very attractive to try to integrate, I can not see how the author got to e^{(1-2)x}
 
Last edited by a moderator:
Physics news on Phys.org
jellicorse said:
Watching a video on differential equations by Arthur Mattuck of MIT, I came across a method which was new to me for solving certain integrals, such as \int e^{-x}cos(x)dx . part of the video is here:

Given that e^{ix}=cosx+isinx, this integral can be re-written as Re\int e^{ix}\cdot e^{-x}dx = Re\int e^{x(-1+i)}dx and integrated this way, avoiding the need for reduction formulas...

I have looked up a few examples of this and think I can understand it when cos(x) is part of the integral, but am unsure when it comes to sin(x).


If you want sin(x), take the imaginary part of e^{ix} instead of the real part.
 
Last edited by a moderator:
  • Like
Likes 1 person
OK, thanks Pasmith...
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K