Beware that, when fighting monsters, you yourself do not become a monster… for when you gaze long into the abyss. The abyss gazes also into you, Friedrich W. Nietzsche

A complex number is specified by an ordered pair of real numbers (a, b) ∈ ℝ2 and expressed or written in the form z = a + bi, where a and b are real numbers, and i is the imaginary unit, defined by the property i2 = −1 ⇔ i = $\sqrt{-1}$, e.g., 2 + 5i, $7\pi + i\sqrt{2}.$ ℂ= { a + bi ∣a, b ∈ ℝ}.
Definition. Let D ⊆ ℂ be a set of complex numbers. A complex-valued function f of a complex variable, defined on D, is a rule that assigns to each complex number z belonging to the set D a unique complex number w, f: D ➞ ℂ.
We often call the elements of D as points. If z = x+ iy ∈ D, then f(z) is called the image of the point z under f. f: D ➞ ℂ means that f is a complex function with domain D. We often write f(z) = u(x ,y) + iv(x, y), where u, v: ℝ2 → ℝ are the real and imaginary parts.
In complex analysis, roots, powers, and polynomials behave much like in the real setting —but with extra richness and complexity due to arguments (angles) and multiple values.
For any nonzero complex number z = x + iy = $re^{i\theta}$
$f(z) = \sqrt{z} = \sqrt{|z|e^{iArg(z)}},~k = 0, 1.$ The square roots of $z$ are the two numbers $w$ satisfying $w^2 = z$. In exponential form: w = $\sqrt{|z|}e^{i\frac{θ+2\pi·k}{2}}$, k = 0, 1.
More generally, the $n$-th roots of z = x + iy = $re^{i\theta}$, r > 0 are the n distinct solutions of $w^n = z$, namely
$w_k = \sqrt[n]{z} = \sqrt[n]{r}e^{i\frac{\theta + 2\pi·k}{n}}$,k = 0, 1, …, n − 1.
Equivalently, $w_k = \sqrt[n]{r}(cos\frac{\theta + 2\pi·k}{n}+isin\frac{\theta + 2\pi·k}{n})$
Geometric representation: these $w_k$ lie at the vertices of a regular n-gon inscribed in the circle of radius $r^{1/n}$.
Real-axis special case: if $z=x$ is positive real ($\theta=0$), then $w_k = x^{1/n} e^{2\pi i k / n}$ are the well‐known “roots of unity” times $x^{1/n}$.
Branch choice: one often designates $k=0$ as the principal $n$-th root.
For any complex number z and any complex power p, we can express the exponentiation as: $z^p = e^{log(z^p)} = e^{p∙log(z)}$ where $\textbf{Log(z)}$ is the (multi-valued) complex logarithm.
Recall the Complex Logarithm. The complex logarithm of a complex number z can be written as: $\textbf{Log(z)} = \textbf{ln|z|} + i(Arg(z)+2πk), k \in ℤ$ where ln denotes the natural logarithm of the magnitude (or modulus) of z, denoted as ∣z∣ and Arg represents the principal argument of z (typically in the range (-π, π]) or angle of z in the complex plane, which is the angle formed with the positive real axis. k is an integer that accounts for the multivalued nature of the logarithm due to the periodicity of the argument, as the angle can be expressed in multiple equivalent forms.
Applying to ii, we have (z = i and p = i) $i^i = e^{i∙Log(i)}$
Logarithm of i: For z = i: $Log(i) = ln|i| +i(\pi/2+2\pi k)=i(\pi/2+2\pi k)$ since $|i|=1, ln(1)=0$.
$i^i = e^{i∙Log(i)} = e^{i²(π/2 + 2πk)}$ = {e-(π/2+2πk) | k ∈ ℤ}
Example: $(1+i)^{2+3i} =$[By definition] $e^{(2+3i)log(1+i)}$ =[Log(z) = ln∣z∣ + i(Arg(z)+2πk)] $e^{(2+3i)[ln|1+i| + i(Arg(1+i)+2πk)]} = e^{(2+3i)[ln(\sqrt{2}) + i(\frac{π}{4}+2πk)]} = e^{2ln(\sqrt{2}) -3(\frac{π}{4}+2πk)+i(3ln(\sqrt{2})+2(\frac{π}{4}+2πk))} = e^{2ln(\sqrt{2}) -3(\frac{π}{4}+2πk)+i(3ln(\sqrt{2})+\frac{π}{2}+4πk)} = e^{ln(2)+\frac{-3π}{4}-6πk+i(3ln(\sqrt{2})+\frac{π}{2}+4πk)} = 2e^{\frac{-3π}{4}-6πk+i(3ln(\sqrt{2})+\frac{π}{2}+4πk)}$, ,k ∈ ℤ.
Consider the general quadratic in ℂ, $az² + bz + c = 0$ where a, b and c ∈ ℂ, a ≠ 0.
Since a ≠ 0, we can divide by a, $z²+ \frac{b}{a}z + \frac{c}{a} = 0$, and then complete the square, $(z+ \frac{b}{2a})² -(\frac{b}{2a})² + \frac{c}{a} = 0$
Rearrange to isolate the square: $(z+ \frac{b}{2a})² = \frac{b²-4ac}{4a²}$
$z+ \frac{b}{2a} = \plusmn \sqrt{\frac{b²-4ac}{4a²}}$
Recall that $w^{\frac{1}{2}} = $ {$\sqrt{w}, -\sqrt{w}$} where $\sqrt{w} = \sqrt{|w|}e^{i\frac{Arg(w)}{2}}$ [*]
Therefore, z = $-\frac{b}{2a} ± \sqrt{\frac{b²-4ac}{4a²}} = \frac{-b ± \sqrt{b²-4ac}}{2a}$ but take into consideration that $\sqrt{b²-4ac}$ is a complex expression.
$z = \frac{-b ± \sqrt{b²-4ac}}{2a} = \frac{-(2-2i) ± \sqrt{(2-2i)²+4(7+26i)}}{2} = \frac{-(2-2i) ± \sqrt{−8i+28+104𝑖}}{2} = \frac{-(2-2i) ± \sqrt{28+96i}}{2}$
Let’s compute $\sqrt{28+96i}, |\sqrt{28+96i}| = \sqrt{28²+96²} = 100$.
Since the complex number lies in the first quadrant, its argument is given by 𝜃$ = arctan(\frac{96}{28}) = arctan(\frac{24}{7}) ≈ 1.287$ radians.
The two square roots are given by $±\sqrt{100}e^{\frac{\theta}{2}} = ±10(cos(\frac{\theta}{2})+isin(\frac{\theta}{2})) ≈ ±10(0.8+i0.6) = ±(8+6𝑖)$
$z = \frac{-(2-2i) ± \sqrt{28+96i}}{2} = \frac{-(2-2i) ±(8+6𝑖)}{2} = −1+i±(4+3𝑖)$. Hence, the two roots or solutions of the complex quadratic equation are z = 3 + 4i and z =−5 − 2i.
Because complex numbers have two components (real and imaginary), visualizing a function f: ℂ → ℂ requires representing both input (domain) and output (range) in a two-dimensional plane. This is often done by using two separate complex planes, a dual-plane visualization:
Let’s clarify this idea on a few examples.
This means that every point z in the complex plane is shifted by b1 units in the real direction and b2 units in the imaginary direction.
As an example, let’s take the unit circle {z: |z| = 1}. Draw the output set in another complex plane where w = f(z). The transformation f(z) = z + b shifts the unit circle by b. So, the range is the circle f({z: |z| = 1}) = {z: |z - b| = 1}, a circle of radius 1 centered at b (Figure 1).

z = $\rho(cos(\phi)+ isin(\phi))$ where ρ = |z| is the magnitude of z, and $\phi$ = Arg(z) is the argument of z. When you multiply two complex numbers in polar form, the magnitudes multiply, and the arguments add: $f(z) = r\rho(cos(\theta+\phi)+isin(\theta+\phi))$ (Figure 2).

The magnitude of the result, rρ, is the product of the magnitudes of a and z. Therefore:
The argument of the result, θ + φ, is the sum of the arguments of a and z. Therefore, the transformation rotates every point counterclockwise by an angle of θ (the argument of a).
Geometrically:
The modulus (magnitude) of f(z) is r³. This means:
The argument (angle) of f(z) is 3θ. This means that the complex number z is rotated counterclockwise around the origin by an angle of 3θ (Figure A).

The function f(z) = z³ maps each sector of the complex plane with an angle of 2π/3 onto the entire complex plane.
This means that every non-zero complex number in the codomain has three distinct pre-images (roots) in the domain.
Roots interpretation: Since z3 = w has three solutions (the three cube roots of w), every nonzero point w in the codomain has three distinct pre‐images in the domain.
f(z) = zn = (reiθ)n = rneinθ = rn(cos(nθ) + i sin(nθ))
The modulus of f(z) is rn. So:
The argument of f(z) is nθ. So, z is rotated counterclockwise around the origin by an angle of nθ - a winding around the origin.
The function f(z) = zn maps each sector of the complex plane with an angle of 2π/n onto the entire complex plane. The sectors are:
Consequently,every non-zero complex number w in the codomain has n distinct pre-images (nth roots) in the domain.