Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> But the Euler equation e^iπ = -1 has nothing to do with exponentiating e, it's just a notational convention that is defined to be the series above.

Can't the same thing be said about using fractions on the exponent? Exponentiation is actually just repeated multiplication (a^n=a*a*...*a, repeated n times), but you can't do that when n is a fraction or irrational anymore than you can do it when it's imaginary.

We have to define what it means for an exponent to be non-integer: for fractions we might define a^(b/c) as the root of the equation x^c=a^b, and to allow irrationals I think you need some real analysis (it's been a while, but I think the usual way is to first define exp and log, and then say that a^b=exp(b*log(a)), which is kind of cheating because we have to define exp first!).

There's a very intuitive way to "see" that e^ix=cos(x)+i*sin(x): all you have to do is to treat complex numbers like you would any other number, and "believe" the derivative rule for complex numbers (so (e^(ix))'=ie^(ix)). Then you can just graph f(x)=e^(ix) for real x by starting at x=0 (when clearly f(x)=1) and from there take small steps in the x axis and use the derivative to find the value of the next step with the usual formula f(x+dx)=f(x)+f'(x)*dx.

Doing that you realize the image of e^(ix) just traces a circle in the complex plane because every small step in the x direction makes e^(ix0) walk a small step perpendicular to the line going from 0 to e^(ix0), simply because multiplying by i means rotating 90 degrees.



> to allow irrationals I think you need some real analysis (it's been a while, but I think the usual way is to first define exp and log, and then say that a^b=exp(b*log(a)), which is kind of cheating because we have to define exp first!).

a^b, for positive a and irrational b can also be defined as lim (x -> b, x € Q) a^x - which is possible because Q is dense in R. This is a pretty natural way of extending a function to the reals.

The way we extend exponentiation to complex exponents is IMHO much less straightforward.


Ah, a vaguely wondered if it had something involving Cauchy sequences, I think that was that limit!

> The way we extend exponentiation to complex exponents is IMHO much less straightforward.

I think it depends on how much you're used to dealing with complex numbers. In college, I was always taught to prove that Euler formula by replacing ix for x in that series, and then noting that the alternating signs and presence/absence of i in the terms allowed you to separate it into two series for cosine and sine. That always felt awkward, like there was no way anyone could just come up with that naturally.

Many years later I found that construction with graphing e^(ix) by taking small steps using f(x+dx)=f(x)+f'(x)*dx, and everything clicked: how exponentials work in the real axis is pretty different from the imaginary axis, but both are completely intuitive and unavoidable once you understand that.

Even later I "discovered" the connection with group theory[1]; that one still blows my mind.

[1] This is a really nice explanation: https://www.youtube.com/watch?v=mvmuCPvRoWQ


"Exponentiation is actually just repeated multiplication (a^n=a*a*...*a, repeated n times), but you can't do that when n is a fraction or irrational anymore than you can do it when it's imaginary."

That depends on your point of view. You can also view exponentiation as "really" being e's infinite series, and it so happens that that matches what you get in the case of repeated multiplication. The advantage of that is now you can start exponentiating a lot more than just numbers. Here's 3blue1brown on raising e to the power of a matrix: https://www.youtube.com/watch?v=O85OWBJ2ayo

In general there is fruit in viewing infinite series as the fundamental building block of a lot of math and non-infinite series as the special case. I won't claim which is "real" or "correct", though, just point out that there is value in viewing "repeated multiplication" as the special case rather than the "real" thing. Of course you can always view exponentiation as the generalization too.


> Can't the same thing be said about using fractions on the exponent?

Yes, it can. In fact, it is really useful to think of the "usual" definition of exponentiation as repeated multiplication as nothing more than a special case of a much more general concept, which is evaluating a function whose defining property is that it is its own derivative.


> but you can't do that when n is a fraction

Sure you can. You know what 2^n is and you want that 2^(1/3) 2^(1/3) 2^(1/3)= 2^1=1. That uniquely defines the exponential function on the rationals. For the real numbers you need some amount of continuity or measurability, but then it is also uniquely determined.

> but I think the usual way is to first define exp and log, and then say that a^b=exp(b*log(a)), which is kind of cheating because we have to define exp first!).

No, you don't just "say" that. You prove it. Big difference.


> No, you don't just "say" that. You prove it. Big difference.

Whether a^b=exp(b*log(a)) is a definition or a proof really depends on how exactly you define certain terms (e.g. exp). What's certainly a theorem that requires a proof is that the definition of a^b (for irrational b) via limits of rational exponents and the one via exp are equivalent.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: