Extract Real Part From ln(e^{ix}+i)

  • Thread starter Thread starter cragar
  • Start date Start date
Click For Summary
To extract the real part of ln(e^{ix}+i), the expression can be rewritten using Euler's formula, leading to the logarithm of a complex number. The real part is derived as (1/2)log(cos^2(x) + (sin(x) + 1)^2), which simplifies to (1/2)log(2(1 + sin(x))). An alternative method involves using the product of ln(exp(ix)+i) and ln(exp(-ix)-i), resulting in a different expression for the real part as (1/2)ln(2 + 2sin(x)). The discussion also clarifies that cos^2(x) is part of the complex modulus, and "arg" refers to the argument of the complex number.
cragar
Messages
2,546
Reaction score
3
How do I take the real part of this
ln(e^{ix}+i)
I know you can write the arctan(x) in terms of logs with complex numbers should I do something like that? I came across this because I was trying to integrate sec(x) with Eulers formula.
 
Mathematics news on Phys.org
cragar said:
How do I take the real part of this
ln(e^{ix}+i)
I know you can write the arctan(x) in terms of logs with complex numbers should I do something like that? I came across this because I was trying to integrate sec(x) with Eulers formula.



$$e^{ix}+i=\cos x+i\sin x+i=\cos x+(\sin x+1)i\Longrightarrow Log(e^{ix}+i)=\frac{1}{2}\log\left(\cos^2x+(\sin x+1)^2\right)+i\arg(e^{ix}+i)$$

So never mind what branch of the complex logarithm we choose, the real part is:

$$\frac{1}{2}\log\left(\cos^2x+(\sin x+1)^2\right)=\frac{1}{2}\log\left(2(1+\sin x)\right)$$
 
where did you get the cos(x)^2 and what does arg mean
 
Another way :
2*Real part = ln(exp(ix)+i)+ln(exp(-ix)-i)
(exp(ix)+i)*(exp(-ix)-i) = 1-i*exp(ix)+i*exp(-ix)+1 = 2+2sin(x)
Real part =(1/2) ln(2+2sin(x))
 
cragar said:
where did you get the cos(x)^2 and what does arg mean

Cosine square is part of the (complex) module (or absolute value) of the complex number written there, and arg = argument.

DonAntonio
 
Good morning I have been refreshing my memory about Leibniz differentiation of integrals and found some useful videos from digital-university.org on YouTube. Although the audio quality is poor and the speaker proceeds a bit slowly, the explanations and processes are clear. However, it seems that one video in the Leibniz rule series is missing. While the videos are still present on YouTube, the referring website no longer exists but is preserved on the internet archive...

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
667
  • · Replies 3 ·
Replies
3
Views
596
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K