Remix.run Logo
jcranmer 5 days ago

The problem is a^b := exp(b ln(a)) sort of breaks down when a is negative, which is a case that is covered in algebra class but glossed over in calculus.

dawnofdusk 4 days ago | parent | next [-]

It doesn't break down, one just needs the complex logarithm. If you ignore complex numbers it breaks down in both cases. If you allow complex numbers it works in both cases.

ogogmad 3 days ago | parent [-]

No, using complex numbers alone DOES NOT work. To really allow complex numbers, you also need Riemann surfaces. The function "ln" has type ln: R -> CC where "R" denotes the Riemann surface corresponding to the natural domain of ln, and "CC" denotes the complex numbers. See here for details: https://en.wikipedia.org/wiki/Complex_logarithm#The_associat...

dawnofdusk an hour ago | parent [-]

You can also allow it to be multi-valued and consider a principal branch when needed, the same we do when we discuss roots of monomials in algebra. The two situations are identical (as they must be, because logarithms generalize roots).

5 days ago | parent | prev [-]
[deleted]