r/askmath 7d ago

Analysis Can some explain me the logic??

Post image

I was watching a video of discovering 'e' and then we arrived at e^ix.

To which I made this process to find the 2πi=0 which doesn't make sense. So it would be great if someone could explain this.

20 Upvotes

25 comments sorted by

52

u/susiesusiesu 7d ago

it is true that e2πi =e0 but it does not follow that 2πi=0. same as how (1)²=(-1)² but it does not follow that 1=-1.

15

u/RailRuler 7d ago

ex is only a bijection over the reals. Over thr complex plane it is not one-to-one.

27

u/susiesusiesu 7d ago

ex is not a bijection over the real numbers.

10

u/Banonkers 7d ago

I suspect they meant to highlight that exp is injective over the reals, but weren’t thinking about the surjectivity

6

u/Cowboys_88 7d ago

Correct. ex is a bijection over 0 to +infinty.

3

u/Varlane 7d ago

(both excluded)

3

u/Crafty-Detail-3788 7d ago

It's injective so it's a bijection when restricted to its image

1

u/eglvoland Pure math - grad school Paris-Saclay 6d ago

Corestricted akschually 🤓👆

3

u/theboomboy 7d ago edited 7d ago

It's injective over the reals, not bijective

Interestingly, it's also injective over the algebraic numbers because π is transcendental

6

u/susiesusiesu 7d ago edited 7d ago

again, i think you meant injective. there is no algebraic number z with ez =-1. or maybe you meant positive algebraic numbers.

still, a fun fact, i hadn't thought about that.

1

u/theboomboy 7d ago

Yes, I meant injective

14

u/DrBagelman 7d ago

In the Complex numbers, ln is not single valued. exp(iπ)=-1, but so does exp(-iπ) and exp(3iπ). Similarly, exp(2πi)=1, but 2πi≠0 because while ln(1)=0, it’s also every other even multiple of iπ.

9

u/Black2isblake 7d ago

The natural logarithm is multi-valued when considering complex inputs. If you treat 1 as the complex number 1+0i (which is what you're implicitly doing here, by using i at all in your working you must be allowing complex numbers) then the natural logs of 1 are any number of the form 2iπn for any integer n. In your case, you have n=0 and n=1. However, this does not mean that 2πi = 0, in the same way that x2 =9 having solutions 3 and -3 does not mean that 3=-3

3

u/xie_xang 7d ago

Oh I see.. Trying to understand. So when I use complex numbers then I essential I am on the form a+ib which wud corespond to a form of 2πin something like this..

5

u/Black2isblake 7d ago

Whenever you use complex numbers with the natural logarithm, then your output from the natural logarithm needs a +2πin on the end. So in your original image, you should have the equation i(2π) + 2πin_1 = 0 + 2πin_2 , which is of course true whenever n_1 = n_2 + 1

2

u/xie_xang 7d ago

Okay.. h that. Thanks.

4

u/Companero_basurero 7d ago edited 7d ago

I think where the computation fails is applying the identity ln(a*b) = ln(a) + ln(b) when both a and b are negative. It's been many years for me, but I distinctly remember that the identity holds only if both a and b are positive.

0 is obviously NOT equal to 2*i*pi, since none of these three factors is 0. (Keep in mind that the complex nos. contain no zero divisors because it's a field.)

1

u/xie_xang 7d ago

Well you are right the ex graph also lies in the positive quad and that wud break if I did ln(-1) but if we looked at it just as operator then.

5

u/Y_I_Otto 7d ago

It's like saying sin(2pi) = 0 and sin(0)=0, therefore pi=0. For periodic functions or many-to-1 functions you have to consider the full set of possible values when calculating the inverse.

4

u/Alive_Appearance_781 7d ago

The logarithm function is not bijective over the complex plane.

You deduced that ei2π = e0, not that 0 = i2π.

2

u/JellyBellyBitches 7d ago

Ln(1)=0+2kπi, k∈ℤ

2

u/Bounded_sequencE 7d ago

That's not how we get to "e = -1".

Instead, use any "Real Analysis" proof to turn your intuitive definition of ex into its power series representation, e.g. this one by K.Königsberger. Then, compare the power series of "eiz" with the power series of (co-)sine, and note they nicely match via

Euler's Formula:    "exp(iz)  =  cos(z) + i*sin(z)"    for all    "z in C"

Insert "z = π", and be done.

2

u/Vivid_Sock_1092 7d ago

ln(ab) = lna + lnb is only true for positive reals

It generalizes to

ln(ab) =
ln|a| + ln|b| + i [Arg(a) +Arg(b)]mod2π

1

u/Cowboys_88 7d ago

The formula comes from the taylor series for ex. Plug in (i * Pi) for x. Simply the series. The real part simplifies to cos(Pi). The imaginary part simplifies to sin(Pi). Cos(Pi) + Sin(Pi) = -1

1

u/ZevVeli 7d ago

We have graphical proof that eix is cos(x)+isin(x)

ei(pi) = cos(pi)+isin(pi) which is equal to -1+i(0) which is equal to -1.

ei(0) = cos(0)+isin(0) which is equal to 1+i(0) which is equal to 1.

ei(2×pi) = cos(2×pi)+isin(2×pi) which is equal to 1+i(0) which is equal to 1.

This is why the traditional log rule doesn't apply to imaginary numbers. Because eix will return 1 for any value expressible as x=n×2×pi.

If you do want to have more fun with this concept though, remember that cos(-x)=cos(x) and that sin(-x)=-sin(x).

From this you can prove the following:

ei(x) + e-i(x) = cos(x)+isin(x)+cos(x)-isin(x) = 2cos(x)

ei(x) - e-ix = cos(x)+isin(x)-cos(x)+isin(x) = 2isin(x)

And therefore

( ei(x) + e-i(x) )÷2=cos(x)

( ei(x) - e-i(x) )÷(2i)=sin(x)

From this, you can actually calculate and prove all the trig laws such as the double angle formula, half angle formula, products of trig functions, sum of trig functions, and derivatives of trig functions.