What exactly is i? (And other weird questions about complex numbers)
by greenturtle3141, Apr 24, 2023, 5:05 AM
This is a topic that comes up quite a bit. This is of no surprise, of course, since imaginary numbers tend to be introduced in a confusing manner. Even math teachers often get tripped up by the numerous traps that surround this mysterious number
. What is
, anyway?
More likely than not, you were taught that
is the square root of
. That is,
. Of course, negative numbers don't have square roots, and the excuse that teachers tend to make is "well, just invent such a number
that satisfies
, and everything is ok". While this works for some time, it will not be long before the mathematically curious mind runs into some major issues.
Paradox 1: We start from the very true equation
Taking the square root of both sides, we obtain
Cross-multiplying gives
.
The astute reader may surely complain that the error is simply that the square root is multiplicative. While this is true, I'd say that this is merely a symptom of a larger problem. Indeed, why must square root suddenly not follow such a rule that worked perfectly for the reals? I purport that the "root cause" of such a paradox is, in fact, a misunderstanding of what a square root even is! What does it mean to take a square root in a complex plane?
Paradox 2: We know that
. Squaring both sides, we get
, so that
. Taking the log gives
. That is,
.
Here, the issue is a failure of understanding clearly what taking the exponential or a logarithm of a complex number really means.
Now that I have laid out the issue, here is my outline for this post. My aims are:
The fallacy of
"But isn't that the last bullet of your outline?" Not quite! My last goal was to argue against
. Here, I will simply make an easy argument against
, i.e. "the definition of
is
".
As I mentioned before, negative numbers do not have square roots. So the attitude that people tend to have is that we will simply pretend that
exists, and call it
. But does that really make sense? You can't just take something that doesn't exist 'a priori' and then suddenly declare that it exists. This is like saying that unicorns have never been observed, but we will just pretend that they exist in order to benefit scientific study. Or, perhaps, this is like saying "
does not exist, but we can just pretend that it exists and call it
". Math and logical reasoning simply does not work like that!
At its core, the assertion that
is defined to be
does not answer the question of what
is, and neither does the assertion that
is some magical "number" that, when squared, gives you
(but this does make me slightly happier, as we shall see soon).
So what, then, does it mean to come up with a "definition" for
? It means that we have to point at an existing mathematical object and call it
. The mood here is similar to that of my real numbers post, where we came up with a definition for real numbers by essentially "playing God" with math. Starting from sticks and stones, we can bring into the mathematical world the concept of integers, rationals, and then the real numbers, by simply looking at the constructs and tools that we already have and using them an interesting way to "create new definitions". What we need to do for
is essentially the same.
It turns out that, provided that we have the real numbers
and the ability to take ordered pairs
of numbers, it is extremely easy to define what
and complex numbers are.
Definition (Complex Numbers): The complex numbers
is literally just
, i.e. the set of all ordered pairs
of real numbers. The value
is defined to be the ordered pair
.
is endowed with the following operations:
You might initially throw up at how contrived "multiplication" is, and indeed it appears to be unmotivated and ugly without viewing
as
, but just hold that thought for a minute so that we can appreciate how completely robust this definition is! There are no logical, technical, or rigorous issues here. We defined the complex numbers by simply pointing at something that already exists, named
. And, tacking on "operations" on
cannot be objected to, since morally we're simply defining functions
.
Now, do note that we call these operations "addition" and "multiplication", but that doesn't immediately mean that they will necessarily satisfy properties that
and
"typically" satisfy, like commutativity, associativity, and distributivity. These must be proven manually from this "ugly" definition, which is certainly a major disadvantage of this approach. Thus, I would absolutely not use this approach to introduce the concept of complex numbers to someone. It's just so much easier to play with things like
when doing algebraic manipulations.
...Speakiing of things like
, how exactly do we fit this into our rigorous framework? Remember, we've defined complex numbers to be ordered pair, and in particular we have
. So if we write something like
, we're really writing
. Now, first issue: What exactly is
? We've never really defined it so it doesn't make sense. Never mind that though, suppose we got around that and somehow got the "obvious" result
. Now we have to evaluate
. What is that??? You can't add a real number to an ordered pair of numbers, that makes no sense. It's like mixing water and oil!
The solution to both of these problems is stupid, and we call it an "abuse of notation".
Abuse of Notation: We identify the
-axis of
with the real numbers
. That is, whenever we see the ordered pair
, we view it as the same exact thing as the number
. Conversely, whenever we see the number
, we view it as the exact same thing as
.
Now now, this might sound absolutely horrifying (and it should!). Perhaps it might even sound completely un-rigorous! No worries though: The mindset to have behind "abuses of notation" is that we don't have to do them. They just make life a lot easier. Indeed, we can do complex number math just fine by writing them as ordered pairs all day long. But then easy equations like
will start looking needlessly long, like
. It also makes algebraic manipulations with complex numbers much less intuitive. So, we cut back on the formality to make math easier.
Do not be pressured to do any of the following exercises. I write them here merely to point out that these are facts that aren't immediately obvious from our rigorous definition of complex numbers.
Exercises:
Alright, we've defined
rigorously. We know that
. Now it's time to pop the question: Is it true that
? The answer is... that this question is ill-posed! As of right now, this function
is only defined over non-negative real numbers. There is no sense in writing
when
is literally not defined when you plug in
.
Now, there is not too much stopping you from making the definition
. (Note that this is different from saying
; here,
is the object that we are familiar with and
is the object that does not yet exist, and
says that we bring
into existing by saying that it is exactly
.) But before we do something so rash, we need to ask ourselves some key questions: Is this a useful definition, in that it satisfies "good" properties? Is it a natural definition?
"Square Root": One side of the coin
Before things truly go off the rails, let's discuss one way to define a square root on
.
Let's begin with re-examining how we came up with the square root over non-negative reals. For
, the goal is to find some real number
for which
. As you are well aware, there are generally two such values of
: One positive and one negative. Which do we choose to be the value of
? We certainly cannot take it to be both such values; to say that
would be ludicrous. For the square root to be a well-defined function, we are allowed to only select one possible value for each possible input!
Well, since positive numbers are in some sense more "pure" and "natural" than their negative counterparts, it is certainly sensible to choose the positive branch. This also ensures that the identity
holds for all
.
Extending the square root to
experiences a similar issue. You probably know, for example, that
has "two sane values":
and
. Which do we choose? Which one is a more natural choice? If you had to ask me, I would go with
without too much hesitation. This is because
and
lie on the same "side" of the complex plane. To be precise, we can split the complex plane along the real line, to divide into two "halves". A complex number
would then lie in one of these halves, and there would be exactly two values of
that would satisfy
: One that lies in the "upper half" (i.e. has positive imaginary part), and one that lies in the "bottom half" (i.e. has negative imaginary part). It is logical to pick the value of
that lies in the same half as
.
This also makes sense from a perspective of polar form. A somewhat advanced reader may be aware that there is a little trick for dealing with complex numbers and multiplication/exponents: View it not as a number formed by a real part and an imaginary part. Rather, view all complex numbers as formed by a magnitude and an angle. (i.e. write in the form
... which is a can of worms that we shall open up in the next section.) I won't go over how this works since that's not quite the main point of this post, but if you're interested then I highly recommend googling it (it's extremely useful).
Anyway, when viewing complex numbers in this way, it is dead simple to multiply complex numbers: You simply multiply their magnitudes and add their angles! Similarly, to square a complex number, you would square its magnitude and double its angle. So, the natural assumption then is that to take the square root of a complex number, you square root its magnitude and halve its angle... right?
Wellll there's a bit of a weird issue. If a complex number
has magnitude
and angle
, then there are multiple angles
that, when doubled, would give you
. This may sound incredibly false until you remember that angles are all taken mod
... for instance,
has magnitude
and angle
. Now,
is one obvious angle that gives
when doubled. But another one is
. When doubled, you get
, which is the same as
(up to a difference of
). So there is a non-uniqueness issue! Fortunately this can be solved without too much trouble: Just give a very concrete procedure for halving the angle in a unique way. But what's the most natural procedure?
Let's try one "obvious" way.
Attempt 1
Is this a mathematically natural function? Let's plot some complex numbers and take their square roots.
At first sight, this might seem ok. However, I don't like it! This is because this lacks symmetry. As suggested by the diagram, we're always choosing the "clockwise" root, when there is no natural reason to do so. The issue lies in the first step: It is actually not natural to restrict to
. This is biased! In fact, it is more symmetrical to take
.
Attempt 2
Now let's plot some square roots under this procedure.
I'd say this is much nicer! Look at the symmetry! It's so pretttyyyyy! ...but do you see the issue?
Yeah that's right, what's
? This procedure, in its pursuit of pure symmetry, has left out the case in which the angle is an odd multiple of
. This is because when we restricted the angle to
, we did not include either
or
. Which should we include?
No matter how you spin it, something breaks! What now?
As far as I know, the two sane approaches are the 2nd and 3rd bullets.
Definition (Principal Square Root, "Totality Approach"): Let
be a complex number, with magnitude
and angle
. Then
is the complex number with magnitude
and angle
.
Definition (Principal Square Root, "Symmetry Approach"):
While a bunch of calculators (like Google's searchbar) and the Wikipedia article enjoy the "totality appoach" (that's totally a name I made up by the way), the "symmetry approach" is not without its proponents, because I exist. Maybe I'm alone in this "opinion", but I really do think that
simply should be left undefined, because I really like symmetry. To have a value on the negative real line as a "special case" just seems so arbitrary to me.
Maybe you agree with this, and maybe you don't. Whatever the case, if you're still somehow reading this, I do have at least one other reason for my opinion. To properly explain it, we must start by addressing the elephant in the room...
What are complex exponents?
You've probably seen
a hundred times by now. You've probably also asked yourself "what the heck does it mean to raise
to an imaginary number" another hundred times. A common "proof" of this identity is to take the power series
and then plug in
. The right side will be well-defined because we can always multiply and add complex numbers, so we can just take
to be whatever that right side comes out to (which is
). Though, this still doesn't really address what it means to raise
to a complex power!
So what does it mean? Unfortunately, I do not think these is any true intuitive way to think about it. After all, it's complete nonsense to try and multiply
by itself
times, or whatever. So... believe it or not, we literally define
to be the power series!
Definition:Let
be a complex number. Then
is the complex number which we define to be the infinite sum

This might sound absurd. But if you think really hard, it might not be so far-fetched! Think about it:
and multiply it by itself
times. The way we resolve this is to take what we know - that we can have rational exponents - and use this to extend to real exponents by virtue of approximation. So, for example,
would be the value approached by
.
So, to resolve complex exponents, we take what we know - that real exponents are a thing, and we have a power series
- and use this to naturally extend to complex exponents. That is precisely what has happened here.
Now, as with how we defined the complex numbers, this definition of
has some funny quirks:
Great. We now have a definition for
, where
is a complex number. But what is
, where
are both complex numbers? Well, we want to try to reduce this to just the case where
, so here's a pretty "natural" approach.
Definition (Complex Exponents):
(Note: I do not like writing
, I tend to prefer
. You might experience the same shift in preference when you go through college!)
Ok cool!
...wait a minute, we've turned one problem into another! What the heck is
where
is a complex number?
The woes of taking logs
Unfortunately, the answer is... not pretty at all.
For our definition
to have any hope of making sense, the property that "
" must satisfy is
How in the world do we go about finding some complex number
for which
? That sounds hard, and it is hard. Fortunately some smart people figured out how to do this... kinda. Let's be inspired by an interesting property that logs over real numbers satisfy, namely, that it is the integral of
:
So, "naturally", we can try to define
as
for
a complex number. Now, this does not make sense as a definition, because what does it mean to integrate on a complex plane with these "complex endpoints"? Well, it turns out that you can integrate on a complex plane, but it's not as simple as "find an antiderivative and plug in the endpoints" (that sometimes works, but only in nice conditions). Rather, when we're in
, we take integrals over paths.
I'm not going to explain exactly what this means, but don't worry. You don't have to understand every little detail of this post. If you're still here, just hold out for a bit longer and believe me when I say that you can integrate over paths in the complex plane, and that that's basically how we do integrals. Then our attempted definition for
would, more properly, be
where
is a path from
to
. Notice that I haven't quite specified what path to use: Is it a straight line? Is it a wavy line? Is it some weird curve?
Hm. Taking "
" as an example, let's try a few paths in an attempt to find a good value for
. One path from
to
is a straight line.
If we choose this straight line to be
, then it turns out that we get
.
How about something curved, like a quarter-circle?
Interestingly, we still get
. Could this be a good value to assign to
...?
Ok what if we drew something crazy, like this?
Amazingly, we still get
! Wait, so if
is the same for every possible path
, then
would be well-defined!
That's so cool! As a last sanity check, what if we try this path?
Then we get
. Coo- wait WHAT???
Oh no... this isn't what we've been getting before! ...did looping around
break something?? What if we loop twice?
It turns out that this path integral comes out to
. Blegh.
Hmm, perhaps we can figure out what's going on with some educated guessing (which will all be very correct because I'm writing it
).
So, we got different answers for "
" because of the loops that went around
. Thus, in general, if we want
to be well-defined, then we must restrict the domain of
in such a way that it is impossible to draw loops around
.
Finally, we are ready to reveal what a complex log is. (If you don't know what "open" means, don't worry about it.)
Definition (Complex Logarithms): Let
be an open set satisfying the following conditions:
is given by
where
is a path from
to
that stays in
.
...as usual, this has some weird but fascinating quirks.
Definition (Principal Logarithm): The logarithm whose domain is the slit plane is the principal logarithm.
The slit plane is the biggest symmetrical domain we can hope to define a logarithm over, where by "a logarithm", we mean "an antiderivative of
. So you cannot reasonably take the log of negative numbers if you hope to preserve the key property with the integral. Hm... does that sound familiar?
Back to Square Roots
What is
? It's just
. But what does that mean? Well, by definition of exponentiation, I suppose it's just
. But what is
? The most natural log to take here is the principal one. So, here is the second argument I wish to make for my opinion: Since the principal log is not defined on negative numbers, neither should the square root.
Resolving the paradoxes
It turns out that
when we take the principal logarithm and restrict
properly, as we might expect from log. However, it is not true in general that
. We can break this because we can spin around
enough to make things bad. For example, if we take
, then
, whereas
, so we do not have
.
This also explains why
in general. Spiritually, trying to take a square root can be reduced to trying to take a log, and since the log doesn't satisfy
, we cannot expect that
, i.e.
.
This fully resolves the first paradox in a very overkill way, but what about the second paradox? For that, we can reason that the identity
should only hold for
restricted in
(or
, if you prefer that philosophy). This is because if we imagine the slit plane, we can only "go up to
counter-clockwise or
clockwise around
".
Final Notes
Whether or not you agree with my opinion, I hope this was a fun read! (I once again spent way too much effort on a blog post.)


More likely than not, you were taught that





Paradox 1: We start from the very true equation



The astute reader may surely complain that the error is simply that the square root is multiplicative. While this is true, I'd say that this is merely a symptom of a larger problem. Indeed, why must square root suddenly not follow such a rule that worked perfectly for the reals? I purport that the "root cause" of such a paradox is, in fact, a misunderstanding of what a square root even is! What does it mean to take a square root in a complex plane?
Paradox 2: We know that





Here, the issue is a failure of understanding clearly what taking the exponential or a logarithm of a complex number really means.
Now that I have laid out the issue, here is my outline for this post. My aims are:
- Explain what
"actually" is.
- Lay out what
and
and
really mean, in the complex plane, and in doing so, resolve the above paradoxes.
- Along the way, I'll try to make a case for my perhaps controversial opinion that
. I am calling it an "opinion" beacuse I admit that it is highly disputable. If it sounds like nonsense to you, you can totally skip that, and hopefully you'll learn some cool stuff in this post regardless!
The fallacy of

"But isn't that the last bullet of your outline?" Not quite! My last goal was to argue against




As I mentioned before, negative numbers do not have square roots. So the attitude that people tend to have is that we will simply pretend that




At its core, the assertion that





So what, then, does it mean to come up with a "definition" for



It turns out that, provided that we have the real numbers



Definition (Complex Numbers): The complex numbers






- Addition: For complex numbers
and
, their sum is simply
- Multiplication: For complex numbers
and
, their product is given by
You might initially throw up at how contrived "multiplication" is, and indeed it appears to be unmotivated and ugly without viewing





Now, do note that we call these operations "addition" and "multiplication", but that doesn't immediately mean that they will necessarily satisfy properties that



...Speakiing of things like







The solution to both of these problems is stupid, and we call it an "abuse of notation".
Abuse of Notation: We identify the







Now now, this might sound absolutely horrifying (and it should!). Perhaps it might even sound completely un-rigorous! No worries though: The mindset to have behind "abuses of notation" is that we don't have to do them. They just make life a lot easier. Indeed, we can do complex number math just fine by writing them as ordered pairs all day long. But then easy equations like


Do not be pressured to do any of the following exercises. I write them here merely to point out that these are facts that aren't immediately obvious from our rigorous definition of complex numbers.
Exercises:
- (The key property of
) Prove that
.
- (Complex numbers can be written in the "standard" way) Let
. Prove that
.
- (Complex numbers scale in the obvious way) Let
. Prove that
.
- (Multiplication behaves how we expect it to behave) Let
. Prove that
. Prove that
.
- (Multiplication interacts with addition the way we expect it to) Let
. Prove that
.
- Let
be a complex number. Come up with a reasonable definition for "
". Come up with a reasonable definition for "
" when
.
- Let
be complex. Come up with a reasonable definition for "
". Come up with a reasonable definition for "
" when
.
- What does
mean?
Alright, we've defined







Now, there is not too much stopping you from making the definition







"Square Root": One side of the coin
Before things truly go off the rails, let's discuss one way to define a square root on

Let's begin with re-examining how we came up with the square root over non-negative reals. For






Well, since positive numbers are in some sense more "pure" and "natural" than their negative counterparts, it is certainly sensible to choose the positive branch. This also ensures that the identity


Extending the square root to












This also makes sense from a perspective of polar form. A somewhat advanced reader may be aware that there is a little trick for dealing with complex numbers and multiplication/exponents: View it not as a number formed by a real part and an imaginary part. Rather, view all complex numbers as formed by a magnitude and an angle. (i.e. write in the form

Anyway, when viewing complex numbers in this way, it is dead simple to multiply complex numbers: You simply multiply their magnitudes and add their angles! Similarly, to square a complex number, you would square its magnitude and double its angle. So, the natural assumption then is that to take the square root of a complex number, you square root its magnitude and halve its angle... right?
Wellll there's a bit of a weird issue. If a complex number















Let's try one "obvious" way.
Attempt 1
- Start with a complex number
.
- Find its angle,
, and restrict it to
.
- Then the halved angle is
.
Is this a mathematically natural function? Let's plot some complex numbers and take their square roots.
![[asy]
real depth = 100;
void exparrow(pair z, pen q){
draw(z+2*dir(45)*((z^(1+10/depth)-z))--z,p=q);
draw(z+2*dir(-45)*((z^(1+10/depth)-z))--z,p=q);
for(int i = 0; i < depth; ++i){
draw(z^(1+i/depth)--z^(1+(i+1)/depth),p=q);
}
dot(z^2,p=q+linewidth(5));
}
size(7cm);
draw((-4,0)--(4,0),arrow=Arrows(5),p=linewidth(1.5));
draw((0,-4)--(0,4),arrow=Arrows(5),p=linewidth(1.5));
//i, 2*cis(60), 3*cis(135)
exparrow(dir(45),red);
exparrow(sqrt(2)*dir(30),orange);
exparrow(sqrt(3)*dir(135/2),yellow);
exparrow(-dir(-45),green);
exparrow(-sqrt(2)*dir(-30),blue);
exparrow(-sqrt(3)*dir(-135/2),purple);
[/asy]](http://latex.artofproblemsolving.com/d/e/7/de7882ac8dc24f06726a15188299333ee72ccb68.png)
At first sight, this might seem ok. However, I don't like it! This is because this lacks symmetry. As suggested by the diagram, we're always choosing the "clockwise" root, when there is no natural reason to do so. The issue lies in the first step: It is actually not natural to restrict to


Attempt 2
- Start with a complex number
.
- Find its angle,
, and restrict it to
.
- Then the halved angle is
.
Now let's plot some square roots under this procedure.
![[asy]
real depth = 100;
void exparrow(pair z, pen q){
draw(z+2*dir(45)*((z^(1+10/depth)-z))--z,p=q);
draw(z+2*dir(-45)*((z^(1+10/depth)-z))--z,p=q);
for(int i = 0; i < depth; ++i){
draw(z^(1+i/depth)--z^(1+(i+1)/depth),p=q);
}
dot(z^2,p=q+linewidth(5));
}
size(7cm);
draw((-4,0)--(4,0),arrow=Arrows(5),p=linewidth(1.5));
draw((0,-4)--(0,4),arrow=Arrows(5),p=linewidth(1.5));
//i, 2*cis(60), 3*cis(135)
exparrow(dir(45),red);
exparrow(sqrt(2)*dir(30),orange);
exparrow(sqrt(3)*dir(135/2),yellow);
exparrow(dir(-45),green);
exparrow(sqrt(2)*dir(-30),blue);
exparrow(sqrt(3)*dir(-135/2),purple);
[/asy]](http://latex.artofproblemsolving.com/e/0/8/e08dcf955d1f28ef30df5a7d260aa445ae3cab44.png)
I'd say this is much nicer! Look at the symmetry! It's so pretttyyyyy! ...but do you see the issue?
Yeah that's right, what's





- We can't include both of them, since then the angle's restricted value is not unique...
- If we include neither of them, then
is not defined...
- If we include
, so that the restricted angle is taken from
, then
. The drawback is that we lose symmetry.
- If we include
, so that
, then we run into a similar issue.
No matter how you spin it, something breaks! What now?
As far as I know, the two sane approaches are the 2nd and 3rd bullets.
Definition (Principal Square Root, "Totality Approach"): Let


![$\theta \in (-\pi,\pi]$](http://latex.artofproblemsolving.com/f/2/2/f22e6f59b65fb444a9bdbe754a1deb2c2e3036c4.png)



Definition (Principal Square Root, "Symmetry Approach"):
- If
is a negative real number, then
is not defined.
- If
is a non-negative complex number, with magnitude
and angle
, then
is the complex number with magnitude
and angle
.
While a bunch of calculators (like Google's searchbar) and the Wikipedia article enjoy the "totality appoach" (that's totally a name I made up by the way), the "symmetry approach" is not without its proponents, because I exist. Maybe I'm alone in this "opinion", but I really do think that

Maybe you agree with this, and maybe you don't. Whatever the case, if you're still somehow reading this, I do have at least one other reason for my opinion. To properly explain it, we must start by addressing the elephant in the room...
What are complex exponents?
You've probably seen







So what does it mean? Unfortunately, I do not think these is any true intuitive way to think about it. After all, it's complete nonsense to try and multiply



Definition:Let



This might sound absurd. But if you think really hard, it might not be so far-fetched! Think about it:
- Exponents like
are perfectly sane: It's just
.
- Exponents like
are also fine. You first just take
, and then you find the cube root (which, as a real number, exists!).
- ...what the heck does something like
mean? How would you compute it?




So, to resolve complex exponents, we take what we know - that real exponents are a thing, and we have a power series

Now, as with how we defined the complex numbers, this definition of

- The "crazy theorem"
becomes almost completely trivial, once we recognize that
is nothing but
.
- It is not obvious that
. Remember, we defined
as a power series, not as an exponent! So, we don't actually yet know that it satisfies the nice properties that real exponents do. Fortunately, this equality is true, and you can show this.
- (Is it obvious that
is well-defined? That is, can you find an easy argument for why the power series converges over complex numbers?)
Great. We now have a definition for





Definition (Complex Exponents):

(Note: I do not like writing


Ok cool!
...wait a minute, we've turned one problem into another! What the heck is


The woes of taking logs
Unfortunately, the answer is... not pretty at all.
For our definition











I'm not going to explain exactly what this means, but don't worry. You don't have to understand every little detail of this post. If you're still here, just hold out for a bit longer and believe me when I say that you can integrate over paths in the complex plane, and that that's basically how we do integrals. Then our attempted definition for





Hm. Taking "




![[asy]
size(7cm);
draw((-2,0)--(2,0),arrow=Arrows(5),p=linewidth(1.5));
draw((0,-2)--(0,2),arrow=Arrows(5),p=linewidth(1.5));
draw((1,0)--(0,1),p=purple,arrow=Arrow);
dot("$1$",(1,0),S,p=red+linewidth(5));
dot("$i$",(0,1),W,p=blue+linewidth(5));
label((1.5,1.5),"$\gamma$",p=purple);
[/asy]](http://latex.artofproblemsolving.com/9/6/9/969faa42b7c57d2d67d2320a0c8293e6c6f1a55a.png)
If we choose this straight line to be


How about something curved, like a quarter-circle?
![[asy]
size(7cm);
draw((-2,0)--(2,0),arrow=Arrows(5),p=linewidth(1.5));
draw((0,-2)--(0,2),arrow=Arrows(5),p=linewidth(1.5));
draw(arc((0,0),1,0,90,CCW),p=purple,arrow=Arrow);
dot("$1$",(1,0),S,p=red+linewidth(5));
dot("$i$",(0,1),W,p=blue+linewidth(5));
label((1.5,1.5),"$\gamma$",p=purple);
[/asy]](http://latex.artofproblemsolving.com/2/f/3/2f3fd9c0a734975f690592c4256c762507ff7a60.png)
Interestingly, we still get


Ok what if we drew something crazy, like this?
![[asy]
size(7cm);
draw((-2,0)--(2,0),arrow=Arrows(5),p=linewidth(1.5));
draw((0,-2)--(0,2),arrow=Arrows(5),p=linewidth(1.5));
draw((1,0)..(.5,1.5)..(-1,1)..(0.1,0.3)..(1.5,0.5)..(1,1)..(0.5,0.5)..(-.5,1)..(0,1),p=purple,arrow=Arrow);
dot("$1$",(1,0),S,p=red+linewidth(5));
dot("$i$",(0,1),W,p=blue+linewidth(5));
label((1.5,1.5),"$\gamma$",p=purple+fontsize(20));
[/asy]](http://latex.artofproblemsolving.com/texer/n/nspaemno.png)
Amazingly, we still get




That's so cool! As a last sanity check, what if we try this path?
![[asy]
real depth = 100;
size(7cm);
draw((-2,0)--(2,0),arrow=Arrows(5),p=linewidth(1.5));
draw((0,-2)--(0,2),arrow=Arrows(5),p=linewidth(1.5));
pair z = 1.5^(1/depth)*dir(360/depth);
for(int i = 0; i < depth; ++i){
draw(z^i--z^(i+1),p=rgb(1-i/depth,0,i/depth));
}
draw((1.5,0){up}..(0,1){left},p=blue);
dot("$1$",(1,0),S,p=red+linewidth(5));
dot("$i$",(0,1),W,p=blue+linewidth(5));
label((1.5,1.5),"$\gamma$",p=purple+fontsize(20));
[/asy]](http://latex.artofproblemsolving.com/d/4/a/d4afc91ae4a90dcd6065528b1679228cdb4e1788.png)
Then we get

Oh no... this isn't what we've been getting before! ...did looping around

![[asy]
real depth = 100;
size(7cm);
draw((-2,0)--(2,0),arrow=Arrows(5),p=linewidth(1.5));
draw((0,-2)--(0,2),arrow=Arrows(5),p=linewidth(1.5));
pair z = 0.6^(1/depth)*dir(720/depth);
for(int i = 0; i < depth; ++i){
draw(z^i--z^(i+1),p=rgb(1-i/depth,0,i/depth));
}
draw((0.6,0){up}..(0,1){left},p=blue);
dot("$1$",(1,0),S,p=red+linewidth(5));
dot("$i$",(0,1),W,p=blue+linewidth(5));
label((1.5,1.5),"$\gamma$",p=purple+fontsize(20));
[/asy]](http://latex.artofproblemsolving.com/d/7/4/d740c8aecdcab49535386ad351083dd3658db0c1.png)
It turns out that this path integral comes out to

Hmm, perhaps we can figure out what's going on with some educated guessing (which will all be very correct because I'm writing it

- Every time we loop around
counter-clockwise, the value of the path integral increases by
. This probably makes sense: The integrand
induces smoe "spin" around
, and looping around
will "collect a full spin".
- If, however, we do not loop around
(or try to go around it "the other way"), then somehow by some magical mathematics, we keep getting the value
.
So, we got different answers for "





Finally, we are ready to reveal what a complex log is. (If you don't know what "open" means, don't worry about it.)
Definition (Complex Logarithms): Let

- For any
, there is a path starting from
and ending at
that always stays in
.
does not "loop around
".






...as usual, this has some weird but fascinating quirks.
- This implies that there are actually infinitely many ways to define a logarithm, one for each possible selection of the domain
.
- There is no logarithm whoes domain is
(where it is natural to exclude
because
isn't even a thing for real numbers). Indeed,
does not satisfy the conditions because it allows you to spin around
while staying in
.
- On the other hand, the slit plane
DOES satisfy the conditions! If you can't cross the negative reals, then you can never loop around
. So there is a log on this domain
.
Definition (Principal Logarithm): The logarithm whose domain is the slit plane is the principal logarithm.
The slit plane is the biggest symmetrical domain we can hope to define a logarithm over, where by "a logarithm", we mean "an antiderivative of

Back to Square Roots
What is




Resolving the paradoxes
It turns out that








This also explains why




This fully resolves the first paradox in a very overkill way, but what about the second paradox? For that, we can reason that the identity



![$(-\pi,\pi]$](http://latex.artofproblemsolving.com/a/0/8/a08e290b528e8ad6c0c997f95fcbc60a49f8fcb6.png)



Final Notes
- My definition for the principal log is different from what most people would define it as. Indeed, most people happily include the negative reals, so that in some sense its behavior on the negative reals is akin to how it behaves on the upper half of the complex plane, similar to how people deal with square roots of negative reals.
- You might be wondering why we would ever use a log other than the principal log (however you wish to define that). It turns out that there actually are some proofs in complex analysis that use a domain for a log that isn't the slit plane!
- There are other things I don't like about defining the square root of the negative numbers. In particular, it won't be continuous if we do that.
- How can we, say, reconcile the undefinedness of
with convenient facts such as the quadratic formula? Well, we can just interpret the square root in the quadratic formula as "a square root", not the "most natural" square root.
- There is another really weird approach for dealing with complex numbers and exponents. Basically, you make a cut along the negative reals, and then stack infinitely many complex planes on top of each other, glued along the slits, to make an infinite spiral. Google "Riemann surface".
Whether or not you agree with my opinion, I hope this was a fun read! (I once again spent way too much effort on a blog post.)
This post has been edited 4 times. Last edited by greenturtle3141, Mar 11, 2025, 1:12 AM