Yes, this is a math post, but don’t run off too quickly. I’ll keep it as simple as possible (but no simpler), and I’ll do all the actual math so you can just ride along and watch. What I’m about here is laying the groundwork to explain a fun fact about the Mandelbrot.

This post is kind of an origin story. It seeks to explain why something rather mind-bending — the so-called *“imaginary numbers”* — are actually vital members of the mathematical family despite being based on what seems an impossibility.

The truth is, math would be a bit stuck without them.

Suppose I told you that equations such as the one below *always* have a value for ** x** that satisfies the equation (that makes it true)?

In the equation, ** a** and

**can have any value, except that**

*b**cannot be zero.*

**a**If ** a** is zero, the first term is always zero, and it doesn’t matter what

*is. That requires*

**x***to be zero to satisfy the equation, which invalidates the premise that*

**b****and**

*a***can have any value.**

*b*So when ** a** is zero, the premise doesn’t apply because

**has been**

*x**“taken out of the equation.”*

But when ** a** is

*non*-zero, the first term has a non-zero value. The premise asserts that, regardless of the value of

**, there is some**

*b**that satisfies the equation.*

**x****§ §**

Let’s start with a simple example: ** a**=

**+1**and

**=**

*b***0**:

When ** x** is

**0**, the equation is satisfied, the premise holds. So far, so good.

In fact, when ** b** is zero,

**has to be zero no matter what value**

*x***has.**

*a*(In a way, this is the exception to the exception about ** a** being non-zero — the equation is always satisfied when

**and**

*a***are both zero, regardless of**

*b***.)**

*x***§**

When ** b** (but not

**) has a negative value, we can still easily find a value for**

*a***that, squared and multiplied by**

*x***, gives us the matching**

*a**opposite*value of

**.**

*b*For example, suppose: ** a**=

**+1**and

**=**

*b***-4**. Then we have:

Which means that ** x** has to be

**2**(since 2 squared is +4).

In fact, in this case there are two answers, **+2** and **-2**, because squaring either gives us **+4**.

If ** a** is something other than

**+1**, we just need to adjust

**so that squaring it, and then multiplying it by**

*x***, gives us the (positive) value that matches**

*a***.**

*b*The premise, so far, seems to hold.

**§**

We can also satisfy the equation when ** a** (but not

**) is negative.**

*b*For example, suppose: ** a**=

**-1**and

**=**

*b***+4**. Then we have:

And ** x** has to be

**2**(as above, both

**+2**and

**-2**), because:

If ** a** has some other negative value, then

**will have some other value such that its square times**

*x***results in**

*a***-4**.

For example, if ** a**=

**-16**(and still

**=**

*b***+4**), then:

As demonstrated, ** x** has to be

**0.5**, which squared is

**0.25**, and which multiplied times

**-16**gives us the needed

**-4**.

**§**

But what about a version where both ** a** and

**are positive? (Or if both are negative?)**

*b*For example, suppose: ** a**=

**+1**and

**=**

*b***+4**. Then we have:

Which seems problematic. Any value for ** x** is squared and ends up positive which, added to

**4**, can’t possibly equal

**0**.

There seems no way to satisfy the equation.

It appears, then, the premise must be false?

**§ §**

It would seem so, unless we can come up with a way to square a number and end up with a negative value.

Which is something that our arithmetic, *as we understand it so far*, says never happens. A squared number is always positive.

But we need this:

As a general principle, what we really need is:

Because if we can figure *that* out, we can get any other negative value just by multiplying with any value we want.

If we solve for ** x** (by taking the square root of both sides) we end up with:

We call this value ** i** (tragically labeled as the “imaginary unit”), and we can use it to solve that unsolvable equation above. (And many others.)

That’s the big deal about ** i** — that’s what makes it useful. It provides a mechanism that allows important equations to work. (As it turns out, since many of those are basic physics equations, it appears

**is somehow fundamental in describing how reality works.)**

*i*We can’t actually calculate the square root of a negative number, but if we accept that there is such a thing — take it on faith — then we can use it to make these equations work.

As you’ll see, sometimes ** i** is a bit of magic we stick into an equation (to give it special properties), and sometimes

**goes away because we square away the weird magic and end up with mundane**

*i***-1**.

For example, getting back to our problematic equation, if we set ** x**=

**2**:

*i*As you see, ** i** is squared away, and the

**-1**gives us the negative value we needed.

The bottom line is that our imaginary friend allows us to keep our mathematical truth! (Make of that what you will.)

**§ §**

Our imaginary friend enables a new type of number: the **complex numbers**. (Sometimes called the “imaginary” numbers.)

The natural numbers (ℕ) are natural. They enable a new kind of number, integers (ℤ), which include natural numbers but add negative numbers. (And definitely includes zero. It’s optional in the natural numbers, but I prefer the definition that begins at zero rather than one.)

The integers enable the rational numbers (ℚ) (who have the form: ** p**/

**). These include the integers (which include the natural numbers). These three kinds of numbers are all countably infinite.**

*q*The real numbers (ℝ) are a new kind of number, distinguished for being uncountably infinite. They include the countable number kinds, but add the concept of a smooth (uncountable) continuum.

**§**

The complex numbers (ℂ), then, which are enabled by ** i**, include the real numbers (which include,… etc). They are a new kind of number with some different properties from other numbers.

One of those properties is that each complex number contains two parts — they have an inherent two-dimensional nature that turns out to be quite useful (and crucial to where I’m headed with all this).

Admittedly, if one is seeking a place to declare that *“math is made up”* the divide between the countable and uncountable is one intriguing line in the sand. The idea of ** i** is even more challenging. I know people who find

**very hard to accept as meaningful.**

*i*But, as with many abstract mathematical concepts, it demands recognition for having such valuable application to the world we live in. Math would be incomplete without complex numbers.

[As an aside, the hierarchy of number types doesn’t end with complex numbers. There are quaternions (ℍ), which have *three* (*different!*) ‘imaginary” components, and octonions (too obscure for a Unicode character), which have *seven*.]

**§
**

The two-dimensional nature of complex numbers comes simply from having two parts, a *real* part and an *imaginary* part.

We usually write a complex number like this:

+abi

The first part is the real part, the second is the imaginary part. The presence of ** i** in the imaginary part means the addition can’t really be done, so the two-part combination

*is*the number.

Various math operations on such numbers typically resolve to the same form. Math with complex numbers results in new complex numbers.

The two real numbers, ** a** (the

*real coefficient*) and

**(the**

*b**imaginary coefficient*), can have any value — including zero.

When ** b** is zero, the imaginary part is zero, and the number is essentially the real number

**(which may, itself, be zero, of course).**

*a*This two-part nature leads to seeing complex numbers as 2D coordinates, in which case, we often write them like this:

[

,x]yi

(Using ** x** &

**rather than**

*y***&**

*a***highlights the 2D context. In all cases these are just placeholders for real numbers. The square brackets indicate the numbers are coordinates in some space.)**

*b*If ** x** and

**are coordinates on a two-dimensional Cartesian-style graph, then**

*y**all complex numbers are points somewhere on that graph*.

(When plotting we ignore ** i** — it’s just there to visually remind us the vertical axis (

**) is the imaginary axis. It also reminds us to use complex number math.)**

*y*When we do this, we refer to the ** xy** graph as the

*complex plane*.

**§ §**

That’s enough for this time.

Next I’ll explore what makes the complex plane — as opposed to just the ** xy** plane — so useful. (For one thing, it’s really handy for drawing images. It’s especially handy when it comes to

*rotating*an image.)

Before that I’ll take a detour to show you *visually* why ** i** is necessary. It’s the same territory we just covered, but with pictures.

Finally we’ll get to our ultimate goal: the heart of the Mandelbrot.

*Stay complex, my friends!*

∇

March 23rd, 2020 at 9:21 am

“I know people who find i very hard to accept as meaningful.”

I think people would find it easier to accept if its utter bizarreness were admitted, and that it took mathematicians themselves centuries to come to terms with it.

March 23rd, 2020 at 10:08 am

Which is why I’m spending two posts talking about it (next post tomorrow)! The gut reaction from our intuitions is definitely WTF?! As I mentioned in the post, the real numbers, once you really understand them, are bad enough, but the square root of -1? Definitely a bridge too far for many.

They’re a real fly in the ointment in the Platonic debate, too. How can something so bizarre be so necessary for the most fundamental physics math? If that math describes reality, what is going on there?

But as this post tries to show, they are a natural progression that demands our attention once we invented this math stuff. (It drives one positively Tegmarkian.)

March 23rd, 2020 at 10:19 am

As I understand it, it was the scientists during the 17th century who forced the mathematicians to deal with it. They were like, “Look, we’re modeling real stuff here. You guys need to get this straight!”

BTW, have you seen the latest Westworld episode? The square root of -1 plays a role.

March 23rd, 2020 at 11:00 am

No, I don’t have HBO right now and haven’t decided if I’m in on

Westworldor not, yet. The second season was so disappointing compared to the first.March 23rd, 2020 at 11:56 am

Do you have a reference about scientists forcing complex numbers on mathematics? My impression was that math itself demands them, and Wiki seems to confirm that.

As this post tries to illustrate, they really do pop out of the fundamental theorem of algebra.

March 23rd, 2020 at 1:11 pm

Sorry Wyrd. My bad. I was conflating the story of irrational numbers with imaginary numbers, which I got from Morris Kline’s book:

March 23rd, 2020 at 1:19 pm

Yeah, the irrationals really blew people’s minds. I think some people got killed over it.

Well, that eliminates my next question. I was curious if a specific physics equation was involved in the fight. I was thinking maybe it showed up in Maxwell’s equations. It seems like the first time I ran into

had something to do with electronic systems but that was so long ago I don’t recall. (Something to do with bandpass filters, maybe?)iMarch 23rd, 2020 at 3:29 pm

“I think some people got killed over it.”

Supposedly the guy who discovered them, did so during a sea voyage, and was thrown overboard for it. The Pythagoreans made mathematics their religion, and reacted accordingly to a conclusion that rocked their faith.

March 23rd, 2020 at 6:23 pm

In the Kevin Smith film,

Dogma, Chris Rock (the 13th Disciple who was left out of the Bible because he’s black) has a neat speech about the danger of ideas turning into beliefs. That speech always stuck with me. (And I thinkDogmawas Smith’s best film. Casting Alanis Morissette as God was sheer brilliance.)March 23rd, 2020 at 7:09 pm

I think I saw Dogma, but it was a long time ago. I might have to dig up that speech.

March 23rd, 2020 at 8:10 pm

Here it is. Bethany (Linda Fiorentino) is the last scion, a blood relative of Jesus. She’s the only one who can stop the two renegade fallen angels Bartleby (Ben Affleck) and Loki (Matt Damon) from destroying all of creation.

She’s talking with Rufus (Chris Rock) the 13th Apostle about Jesus…

Bethany: What’s He like?Rufus: He likes to listen to people talk. I remember the old days when we were sittin’ around the fire. You know, whenever we were goin’ on about unimportant shit, He’d always have a smile on his face. His only real beef with mankind is the shit that gets carried out His name. Wars. Bigotry. Televangelism. The big one though, is the factioning of the religions. He said, “Mankind got it all wrong by takin’ a good idea and building a belief structure out of it.”Bethany: So you’re saying that having beliefs is a bad thing?Rufus: I just think it’s better to have an idea. You can change an idea; changing a belief is trickier. People die for it, people kill for it. The whole of existence is in jeopardy right now because of the Catholic belief system in this Plenary Indulgence bullshit. Bartleby and Loki, whether they know it or not, are exploiting that belief, and if they’re successful, you, me, all of this ends in a heartbeat. All over a belief.March 24th, 2020 at 7:07 am

Thanks!

It seems to me that beliefs are inevitable. It’s hard to get out of bed without utilizing them. We construct world models. It’s what we do. The trick is not getting too attached to those models, to being open to revising or dumping them if they’re not working.

March 24th, 2020 at 10:02 am

Absolutely. And to have a good

understandingof the difference.March 23rd, 2020 at 1:31 pm

Complex numbers were needed (and still are) to describe the propagation of light. They are all over optical science. But my understanding is that they are usually thought of as an accounting technique, rather than as a reflection of reality. Perhaps that’s just to avoid controversy.

March 23rd, 2020 at 3:21 pm

Ah, yes, optics.

That’swhere I first encountered the little guy. I have — literally — a life-long interest in light. The word “light” was my second word as an infant (“star” was the first). I discovered my artistic side when I became the “lighting guy” in high school. I was fascinated by lasers way back in the 1970s and always interested in astronomy. So, yeah, light and optics is where I must have first run into.iI get the sense mathematicians think complex spaces are more than accounting, but that’s just my sense. I would like to find a higher mathematician I could chat with. I have some questions about the Mandelbrot…

April 30th, 2020 at 11:09 pm

Here’s a really good video that shows how the “imaginary” numbers extend the real numbers, and exactly why they form a 2D plane:

It’s part of a series about the complex numbers that’s really good. I highly recommend this series if you’re interested in the complex numbers.

August 6th, 2021 at 6:33 am

[…] more, see: “Imaginary” Numbers and The Complex […]