Let’s factor . Did you get ? [You can check this on *Wolfram|Alpha*. Just copy and paste: **(sqrt(10)x+sqrt((2*i*sqrt(30)-13)x)+i*sqrt(3))(sqrt(10)x-sqrt((2*i*sqrt(30)-13)x)+i*sqrt(3))** into the search box.] Usually we find simpler linear factors when we factor a trinomial. In our case we would get or . By the way the second factorization is the best one as measured by speed and utility. I am trying to get a paper published that makes just that point. The factorization at the beginning of this article is ugly, weird, and wonderful. The intent of the rest of this post is justify the “wonderful” part of that description. To do this I will have to teach you to multiply two and three digits numbers using a nonstandard algorithm.

Consider the following graphic. (Note: Due to my lack of knowledge about math notation and blogging, I am basically cutting and pasting from OneNote.)

Note that the problem is worked left to right. The hundreds are calculated first, 20 times 60=1200. Then the tens are calculated, 20 times 5 plus 60 times 3 = 280. I call this part cross-multiplication with addition. Finally the ones are 3 times 5 = 15. When I want to shake up my students as we begin a section on multiplying polynomials, I produce the right hand part of the diagram just after I ask them to multiply 23 times 65 by hand. This is the so-called pyramid method. You can see how it works now. Mental calculators (I am a very junior member of their club) go left to right and do the cross-multiplying with adding automatically.

Now look at this demonstration of 3 digit by 3 digit multiplication.

As before we go left to right. The 14 stands for 200×700, 29 for 200×40+700×30, 51 for 200×2+30X40+700×5 ( all the 100’s), 26 for 30×2+40×5, and 10 for 2×5. Notice particularly how the three multiplications are done for the 100’s. A slight variation in the pyramid scheme is on the right. Can you figure out what’s different and why?

Now let’s apply this method to polynomials.

The cross-multiplications with addition make the operation more efficient though it wastes space not to write the answer in one line. The diagonal has some beauty however. Now consider this.

That is pretty cool looking. Note we have nonstandard factorizations of and . Multiply left to right using cross-multiplication with addition and you can see where the zeroes come from. Isn’t it really lovely how the alternating signs of the middle term in the factors produce the first and last zeroes and how the term under the square root sign is chosen to make the middle zero?

Now let’s go back to the factorization of . The steps are easier to follow if we generalize. We wish to factor into . We need only ensure that the middle term when we multiply is equal to , that is, . So . Our factorization is . Applying this formula for we get .

I got interested in this structure when I was working through the very good book *The Beginnings & Evolution of Algebra* by Isabella Bashmakova and Galina Smirnova. In a section on the fundamental theorem of algebra (p.95-98) the authors describe Leonard Euler’s factorization of polynomials of degree . For degree 4 Euler starts with . The coefficient of the term can always be made zero by a suitable translation. He then shows how to factor it into the form . I thought it was pretty cool to see the term disappear as I multiplied left to right. He then used this form to find a 6th degree polynomial equation for . I am pretty sure Euler was an excellent mental calculator. I guess what interested me in all this was that something as mundane as a multiplication algorithm could influence one’s view and/or discovery of a mathematical relation.

### Bonus Complication

Did you know that can be factored as ? [Paste **10((x+13/20)+sqrt((2/20)(x+13/20)(17i))+(17i)/20)((x+13/20)-sqrt((2/20)(x+13/20)(17i))+(17i)/20) **into *Wolfram|Alpha* to see the factors multiplied.] Now I know it is beginning to look like I am just adding more layers of complication but a logical progression of steps based on what we have just learned gets us there. Again the step are easier to see with the generalization to .

Rewrite the equation as . Use the quadratic equation and the factor theorem to rewrite it as . Let so we get . This step is just a translation to get the roots symmetrical about zero. This can now be rewritten as . Use the method we used to get the “strange” factorization of above to get . Multiply left to right with cross-multiplication and you can see those wonderful three diagonal zeroes. Now substitute for . We end up with this weird, ugly and now wonderful factorization . Plug in the coefficients from and find .

Pingback: Mental Math – Square Roots | Math Thoughts