Games
Problems
Go Pro!

Ask Professor Puzzler


Do you have a question you would like to ask Professor Puzzler? Click here to ask your question!

Luigi from Brooklyn writes, "My brother told me that 111,111,111 multiplied by itself is 12,345,678,987,654,321. Is that true or is that just another lie?"

Well, Luigi, it sounds to me like you and your brother have some trust issues! Does he often lie to you about math problems?

I can imagine you might have tried doing the multiplication on a calculator, and found that the calculator didn't have enough place values to display the result. Probably you got something ugly in scientific notation. There are calculators out there that will display enough digits to give you the answer. For example, the calculator on my computer will show the complete answer:

Hopefully that settles the dispute to your satisfaction. Of course, you don't need a calculator to do this; you can multiply it out by hand quite readily:

        111111111
      x 111111111 
        ---------
        111111111
       111111111
      111111111
     111111111
    111111111
   111111111
  111111111
 111111111
111111111
-----------------
12345678987654321

By the way, the title of this blog post is "Palindromic Multiplication," and there's a reason for that. A palindrome is a number (or word) that is the same both forward and backward. For example, "racecar" is a palindrome because, if you spell it backwards, you still have "racecar." This is an example where we squared a palindrome, and the result is another palindrome.

This doesn't always happen; it happens in this case because the multiplication doesn't result in any carrying (you can see from my multiplication above that the most we ever have added together in one column is 9 ones; if we had more than 9 ones, we'd have to do some carrying, which might mess up the palindromic nature of the result. So if we keep the digits small (mostly ones, zeroes, and maybe some twos), we may be able to find other palindromic results.

For example, multiply 121 by itself:

  121
x 121
  ---
  121
 242
121
-----
14641

But watch what happens if we try 131:

  131
x 131
  ---
  131
 393
131
-----
17161

This one is not a palindrome. Do you see why? In the third addition column we have 1 + 9 + 1, which results in a carry, and that throws off the symmetry of the result.

I know this is a lot more than you asked for in your question, but I think palindromes are very interesting, so I couldn't resist telling you a bit about them.

And finally, I leave you with the words of Napoleon, after he was exiled to the island of Elba: "Able was I ere I saw Elba." Now spell that backwards, and see what you get. :)

Louis from Uganda asks, "What is the place value of 3 in 131 base three?"


Well, Louis, funny thing is, I can't answer that question. Because 131 is not a base three number. You see, if you are working in base n, there is no symbol for the number n. In base ten, for example, we have symbols for 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9, but there is no symbol for the number 10. We require two symbols to represent that number (the symbol 1 and the symbol 0).

In base three, there is no symbol for the number three. "3" as a symbol does not exist. So your number doesn't actually exist.

It would be like asking me, "What is the place value of ¥ in 75¥23 base ten?" The answer is, that's not a base ten number, because there is no symbol "¥" in the base ten system.

In base three, you have three symbols to work with. They are 0, 1, and 2. Thus, you could have the number 101, 111, or 121, but 131 doesn't exist.

So let's suppose you meant to write "What is the place value of 2 in 121 base three?" In that case, I can answer you fairly easy; that is the "threes place". Whatever number is multiplied by three to find its actual value.

I could give you a more detailed answer, but we actually already have a fairly detailed unit on bases here: Number Theory Unit on Bases, so you might want to take a look at that for more information! If you're wondering why you can't use the symbol "3" in base three, take a look at this page, which elaborates a bit more: Avoiding Ambiguity in Notation.

Thanks for asking, Louis!

In our previous blog post, we were answering the question "Why is it useful to write complex numbers in trigonometric form?"

We saw how squaring a complex number can be simplified using trig, and we saw the same thing is true for multiplying any two complex numbers. In this blog post we'll explore how trigonometric form for complex numbers can help us take roots (cube roots, fourth roots, etc).

Before we get into taking roots of numbers, I'd like to point out something that you might not have realized: there are an infinite number of ways to write a complex number in cis form, because cos and sin are periodic functions:

rcis(xº) = rcis(xº + 360º) = rcis(xº + 720º) = etc.

Okay, tuck that information away in your memory banks; we'll get back to it shortly. Now let's talk about taking a cube root.

Let's suppose we wanted to take the cube root of the number 8...

"Well, that's silly," you might argue, "I already know the cube root of 8. It's TWO!"

Ah...but you only think you know. Bear with me, and I'll show you something interesting.

How would you write 8 as a complex number? It's 8 + 0i. Which is the same as 8cis0º. Now we know from the previous post, that if rcisx cubed equals 8cis0º, then r3 = 8, and 3x = 0º. Or, since it's the same value, 3x = 360º, or 3x = 720º.

Thus, x = 0º, x = 120º, or x = 240º.

Therefore, the cube roots of 8cis0º are 2cis0º, 2cis120º,  and 2cis120º.

But what are those numbers?

Well, 2cis0º is easy; it's just 2 + 0i = 2. "Ah ha!" you might say, "I told you it was two!"

Very good, but let's keep going:

2cis120º = 2cos120º + 2isin120º = -1 + 1.732i

2cis240º = 2cos240º + 2isin240º = -1 - 1.732i

So it turns out that 8 has three cube roots, and you found them using trigonometry!

It turns out that you could have found those roots algebraically, by setting up the following equation:

x3 = 8

x3 - 8 = 0

(x - 2)(x2 + 2x + 4) = 0

So either x - 2 = 0 or x2 + 2x + 4 = 0

The first equation gives us the root we expected: x = 2.

The second equation can be solved using the quadratic formula:

x = (-2 +/- 3.4641i)/2, which simplifies to:

x = -1 + 1.732i or x = -1 - 1.732i

We obtain the same result algebraically as we did using trigonometry. You might argue that it was easier to use the algebraic method, but that's only because you know how to factor x3 - 8, and the factors are a linear factor and a quadratic. But suppose I'd asked you to find the fifth root of 32...what would you have done then? Or what if I'd asked you to find the cube root of 1 - 2i?

In these cases, algebraic solutions would be much more challenging, and the the trigonometry solution simplifies the process significantly.

This is a follow-up post to yesterday's "What is CIS Notation?" post. In this post we explore why it is useful to write complex numbers in their trigonometric form. Here you will find reference to the trigonometric double-angle formulas, and sum-of-angle formulas. If you're not familiar with these, you'll just have to take our word for those steps!

Let's start with a complex number in trigonometric form: 4cis(30º). If we were to write this number out without using the "cis" shorthand, it would look like this:

4[cos(30º) + isin(30º)]

This evaluates to approximately 3.4641 + 2i

Now supposing we wanted to square this complex number. You know the process, right?

(3.4641 + 2i)=

(3.4641 + 2i)(3.4641 + 2i) =

12 + 6.9282i + 6.9282i - 4 = 

8 + 13.8564i

Let's do the same thing, but using the trig form for the complex number.

{4[cos(30º) + isin(30º)]}2 =

4[cos(30º) + isin(30º)] · 4[cos(30º) + isin(30º)] = 

16[cos2(30º) + isin(30º)cos(30º) + isin(30º)cos(30º) - sin2(30º)] = 

16[cos2(30º) - sin2(30º) +2isin(30º)cos(30º)] = 

Now here's where those double-angle formulas come in:

cos(2x) = cos2(x) - sin2(x)

sin(2x) = 2sin(x)cos(x)

Thus, our expression can be simplified to:

16[cos(60º) +isin(60º)] = 

16cis(60º)

Do you see what just happened there? When all is said and done, we ended up squaring the magnitude, and doubling the angle, and that was it!

As another example, let's take the complex number that we used in our previous blog post: 3 + 4i. If you wanted to square this, you would multiply it out as follows:

(3 + 4i)(3 + 4i) = 

9 + 12i + 12i - 16 = 

-7 + 24i

On the other hand, if we had the angle in cis notation: 5cis(53.16º), we can square the complex number by squaring the magnitude, and doubling the angle:

5cis(53.16º) = 25cis(106.32º), and we're done, just like that! That was a LOT quicker!

And, incidentally, this works for any cubing, raising to the fourth power, etc. To raise a complex number to the nth power, raise its magnitude to the nth, and multiply its angle by n. Now that's "power"ful! 

But suppose we aren't squaring a complex number - suppose we're multiplying two different complex numbers? What happens then?

Let's make this very general; we'll call the two complex numbers r1cisA and r2cisB. Their product is:

r1(cosA + isinA) · r2(cosB + isinB) = 

r1r2(cosAcosB + icosAsinB + isinAcosB - sinAsinB) = 

r1r2[(cosAcosB - sinAsinB) +  i(cosAsinB + sinAcosB)] =

r1r2[cos(A + B)* +  isin(A + B)*] =

r1r2cis(A + B)

* sum of angle formulas were used to obtain this result.

Wow! Isn't that a great result - to multiply two complex numbers, you multiply their magnitudes and add their angles! That's easy!

But the real power (that was a double pun, by the way) of this way of writing complex numbers is in taking roots of numbers.

And that, I think, will become the topic of one more follow-up blog post!

 

B. from Vermont wants to know what "cis" notation is, how it works, and why it's useful.

"cis" is a shorthand way of writing complex numbers. Let's talk for just a minute about what complex numbers are. If you're already familiar with complex numbers, you can skip to the next section.

Complex Numbers

A complex number is a number which is made up of two parts. The first part is called the "real" part, and it is a real number (any of your normal counting numbers, zero, negatives, fractions, radicals, etc.) and the second part of the number is a real number times i.

i, in case you don't know, is the square root of negative one. "But," you might protest, "that's not a real number!" That's correct. In a very literal sense, by definition, it is not a member of the set of Reals.

So a complex number looks like this. a + bi. We call the "a" the "real part" and "b" is the "imaginary part."

Graphing Complex Numbers

Obviously, you can't graph a complex number on a number line, since the number line contains only Real numbers. However, if you take two number lines and put them at right angles to each other, so that they cross on their zeroes, you can now graph a complex number. You use the horizontal number line to measure off the real part, and you use the vertical number line to measure off the imaginary part.

So, for example, to graph the point 3 + 4i, we would count three units to the right, and 4 units up. It's the same process we would use to graph the ordered pair (3,4) on a cartesian plane.

Similarly, -3 +4i would be graphed like this: count three units to the left, and four units up.

 

Magnitude and Angle

I don't know if you've ever thought about this, but if you're graphing points on a cartesian plane, every point can be described with an x and y, but there is another way to describe the point. You can describe it using a magnitude and an angle.

The magnitude is its distance from the origin (0,0), and its angle is the angle it makes with the positive x axis.

In the same way, every complex number can be described using a magnitude and angle. Let's consider the complex number 3 + 4i.

How far is that point from the origin? Well, it's three units right and four units up. Using the Pythagorean Theorem (or the distance formula, which is basically the same thing), we find that its distance from the origin is the square root of (32 + 42), which is 5 units.

so r = 5.

 

But what about the angle? Well, if you've done some trig, you'll figure out that the angle is sin-1(4/5), which is approximately 53.16 degrees.

In the same way, you could find an angle and radius for every complex number on the plane.

 

CIS Notation

But wait a minute! Doesn't that mean we can write 3 + 4i like this: 5(cos(53.16º) + isin(53.16º))?

As a matter of fact, it does mean that. Every complex number can be written in the form r(cosx + isinx), where r is the complex number's magnitude, and x is its angle.

Mathematicians are notorious for not wanting to write everything out longhand, so, cosx + isinx gets simplified to CIS, which stands for "Cosine i Sine".

So 3 + 4i can be written as 5cis53.16º

That, hopefully, will answer your question "What is cis notation?" CIS notation is a shorthand way of writing complex numbers using its magnitude and some trig functions.

But that doesn't really answer the question, "Why is it helpful to write complex numbers in a trigonometric form?" And I'm going to try to give you a simple answer to that question in a follow-up post, which you can find here: Manipulating Complex Numbers in Trigonometric Form.
 
Older posts

Blogs on This Site

Reviews and book lists - books we love!
The site administrator fields questions from visitors.
Like us on Facebook to get updates about new resources
Home
Pro Membership
About
Privacy