Why is ii actually a real number?

This article explains why the i-th power of i is a real number. Starting from Euler's formula, through the introduction of the exponential representation of complex numbers, the definition and multi-valuedness of complex logarithms, and the definition of complex powers, it is deduced that the i-th power of i is a real number, and its principal value is equal to e to the power of -π/2.

Why is ii actually a real number?

It turns out that i^i is a real number! This is quite surprising and interesting. Now, let's explain the reason behind this. This involves the definition of the complex power of a complex number. Everything can be started from the famous Euler's formula e^(iθ) = cosθ + isinθ. Using trigonometric identities, the complex exponential e^(iθ) has the same properties as the ordinary real exponential. For example, for a general complex number z = x + iy (where x and y are real numbers), we have e^z = e^(x+iy) = e^x e^(iy) = e^x (cosy + isiny).

For z = x + iy ≠ 0, let θ be a real number satisfying -π < θ ≤ π. Then, x and y can be written as x = r cosθ and y = r sinθ. In this case, the complex number z can be expressed as z = r (cosθ + isinθ) = re^(iθ), which is called the exponential representation of the complex number z. Since trigonometric functions are periodic with a period of 2π, it can be seen that the exponential representation of the complex number z is not unique. In fact, for any integer k, z = re^(i(θ+2kπ)).

We know that the logarithm is the inverse operation of the exponential, and this should also hold for the complex exponential. Therefore, we can define the logarithm of a complex number: If z = re^(i(θ+2kπ)), then lnz = lnr + i(θ + 2kπ), where k = 0, ±1, ±2,... Here, a strange phenomenon occurs: the logarithm of a complex number actually has infinitely many values. When k = 0, that is, lnz = lnr + iθ is called the principal value of the logarithm lnz.

Now we can use the complex exponential and complex logarithm to define the power of a complex number z^α. If α = n is a natural number, then z^n is just the product of n z's. What should we do when α is a general complex number? We rely on the exponential function and the logarithmic function to define it: z^α = e^(α ln z). The reasonableness of this definition is that for a positive real number x, a > 0, we already have x^a = e^(ln x^a) = e^(a ln x). Obviously, for a general complex number α, z^α also has infinitely many values.

Now let's see what i^i really equals. Since i = cos(π/2) + isin(π/2) = e^(iπ/2), by definition, we have Therefore, it can be seen that i^i is indeed a real number, and its principal value is e^(-π/2).