Using complex numbers for evaluating integrals

Click For Summary

Discussion Overview

The discussion revolves around the use of complex numbers to evaluate integrals, specifically focusing on the integral from 0 to pi of the function e^2x cos 4x. Participants explore the relationship between this integral and the integral of the complex function e^((2 + 4i)x), discussing the process of extracting the real part of the complex integral.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant questions how to relate the integral of e^2x cos 4x to the integral of e^((2 + 4i)x) and expresses confusion over the process of taking the real part.
  • Another participant suggests that the relationship is established by the property Re(integral f(x)) = integral Re(f(x)), which simplifies the evaluation.
  • A participant provides a detailed derivation showing how to integrate e^((2 + 4i)x) and extract the real part, leading to a final expression involving e^2pi and e^0.
  • There is mention of a technical issue with post submissions, indicating some participants are experiencing difficulties in sharing their contributions.

Areas of Agreement / Disagreement

Participants generally agree on the property that allows the extraction of the real part from the integral, but there is no consensus on the clarity of the initial explanation or the process of integration itself, as some participants express confusion.

Contextual Notes

Some assumptions regarding the properties of complex integrals and the specific steps in the integration process remain unverified, and there are unresolved issues related to the clarity of the initial problem statement.

genjix
Messages
3
Reaction score
0
How can I use complex numbers to evaluate an integral? For instance I'm reading a book on complex numbers and it says that to evaluate the integral from 0 to pi { e^2x cos 4x dx }, I must take the real part of the integral from 0 to pi { e^((2 + 4i)x) dx}.

It totally skips how you do that. I don't see how taking the real part of the second integral relates to the first one. If I try to integrate e^((2 + 4i)x) and then take the real part, I eventually get:

Re(z) = 1/5 e^2x (1/2 cos 4x + sin 4x)

But I don't see any relation whatsoever, or how they did this.
 
Physics news on Phys.org
welcome to pf!

hi genjix! welcome to pf! :smile:

(try using the X2 button just above the Reply box :wink:)
genjix said:
If I try to integrate e^((2 + 4i)x) and then take the real part, I eventually get:

Re(z) = 1/5 e^2x (1/2 cos 4x + sin 4x)

show us how you did this :smile:
 
Well I went onto #math on Freenode and someone gave me the missing puzzle piece. Basically that Re(integral f(x)) = integral Re(f(x)). With that in hand, everything is obvious:

Take the real part of e^2x e^4ix
Re(e^2x e^4ix) = e^2x (cos 4x + i sin 4x) ... from de moivre and because the Re(integral f(x)) = integral Re(f(x)), we can say that Re(integral e^2x e^4ix) = integral Re(e^2x e^4ix) = integral Re(e^2x (cos 4x + i sin 4x)) = integral e^2x cos 4x

now the integral e^2x e^4ix = integral e^(2 + 4i)x and to integrate exponentials we have the usual integral e^cx = 1/c e^cx

so we get:
1/(2 + 4i) e^{(2 + 4i)x}
http://mathbin.net/110072 (multiply top and bottom of fraction by (2 - 4i) on first line)
now we have the bottom line to be evaluated from 0 to +pi (as per the original integral)
cos 4pi = cos 0 = 1
sin 4pi = sin 0 = 0

so we get the final line as being:
1/5 e^2pi (1/2 cos 4pi + sin 4 pi) - 1/5 e^0 (1/2 cos 0 + sin 0) = 1/10 (e^2 - 1)
 
Last edited by a moderator:
I just did, but my post isn't showing up? I try to click back in my browser and submit it, but it is saying I've made a duplicate post strangely.

I found someone on #math in Freenode who told me that the Re(integral f(x)) = integral Re(f(x)) which is the missing puzzle piece I needed to work everything out. The post I've tried to make here shows all my working out for others to see how it is done.
 
hi genjix! :smile:

(just got up :zzz:)
genjix said:
Re(integral f(x)) = integral Re(f(x))

yes, that's right :smile:

(if you're still unsure, try submitting your proof again)
 

Similar threads

  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K