Faster Polynomial Multiplication

AI Thread Summary
The discussion focuses on the challenges of polynomial multiplication, particularly with the expression (m^2-m-1)(m^2+m-1). Initial attempts to apply the difference of squares formula lead to incorrect results due to misapplication of algebraic identities. Participants emphasize the importance of correctly identifying terms and using the FOIL method to account for all components in the multiplication. The correct final result is established as m^4 - 3m^2 + 1, highlighting the necessity of careful term management. Overall, the conversation underscores the learning process involved in mastering polynomial multiplication techniques.
Kys91
Messages
12
Reaction score
0
I can solve:

(2x+3y-4z)(2x-3y+4z) = [2x +(3y-4z)] [2x -(3y-4z)] = (2x)^2 -(3y-4z)^2 = (2x)^2 - (9y^2 - 24yz - 16z) = 4x^2 - 9y^2 + 24yz + 16z which is fine, but if I try to solve:

(m^2-m-1)(m^2+m-1) = [m^2 -(m+1)][m^2+(m-1) = (m^2)^ 2 - (m-1)^2 = (m^2)^2 - (m^2 -2m +1) = m^4 - m^2 +2m -1 which is not, and I also tried doing:

[(m^2 - m)-1] [(m^2+m)-1] = (m^4 - m^2) + 1 = this latest one is near, but anyway it should be m^4-3m^2 + 1

Doing normal multiplication I get: m^4 +m^3 -m^2 -m^3 -m^2+ m-m^2-m+ 1 = m^4-3m^2 + 1

So why is it that I have -m^2 when is it really -3m^2?

Thanks
 
Physics news on Phys.org
Since you have factors which are sums of powers of m, use a lattice system to help keep like terms easily found.
 
You are using the equality: (x + y)(x - y) = x2 - y2, right?

Kys91 said:
...

(m^2-m-1)(m^2+m-1) = [m^2 -(m+1)][m^2+(m-1) = (m^2)^ 2 - (m-1)^2 = (m^2)^2 - (m^2 -2m +1) = m^4 - m^2 +2m -1 which is not, and I also tried doing:

Notice the bolded part, that's where you went wrong. Since m + 1 does not equal m - 1, so you cannot apply the equality here. Remember that:

(x + y)(x - y) = x2 - y2

[(m^2 - m)-1] [(m^2+m)-1] = (m^4 - m^2) + 1 = this latest one is near, but anyway it should be m^4-3m^2 + 1

This is totally wrong, since m2 - m is not the same as m2 + m.

And you are having 2 minus signs here (the red part). It should be one plus, and one minus instead. Please stick to the formula! It's NOT: (x - y)(x - y) = x2 + y2! This is nowhere near correct!

Instead, what we should use here is:

(x + y)(x - y) = x2 - y2

-----------------------

So, back to your problem:

(m2 - m - 1)(m2 + m - 1)

Notice the 2 terms -m, and +m, they are of different signs. Let's see if you can find any way to apply the equality (x + y)(x - y) = x2 - y2 here. :)
 
Last edited:
Kys91 said:
I can solve:

(2x+3y-4z)(2x-3y+4z) = [2x +(3y-4z)] [2x -(3y-4z)] = (2x)^2 -(3y-4z)^2 = (2x)^2 - (9y^2 - 24yz - 16z) = 4x^2 - 9y^2 + 24yz + 16z which is fine, but if I try to solve:

(m^2-m-1)(m^2+m-1) = [m^2 -(m+1)][m^2+(m-1) = (m^2)^ 2 - (m-1)^2 = (m^2)^2 - (m^2 -2m +1) = m^4 - m^2 +2m -1 which is not, and I also tried doing:

[(m^2 - m)-1] [(m^2+m)-1] = (m^4 - m^2) + 1 = this latest one is near, but anyway it should be m^4-3m^2 + 1

Doing normal multiplication I get: m^4 +m^3 -m^2 -m^3 -m^2+ m-m^2-m+ 1 = m^4-3m^2 + 1

So why is it that I have -m^2 when is it really -3m^2?

Thanks
Because you did it wrong, of course!:wink:
You have [(m^2- m)-1][(m^2+m)-1] and did the first part as a "sum and difference product": (m^2- m)(m^2+ m)= (m^2)^2- m^2= m^4- m^2 which is correct. And, of course, (1)(1)= 1. But you forgot the "middle terms" (the "O" and "I" of "FOIL").
[(m^2- m)- 1][(m^2+m)- 1]= (m^2- m)(m^2+m)+ (m^2-m)(-1)+ (-1)(m^2+m)+(-1)(-1)
= (m^4- m^2)- (m^2- m)- (m^2+ m)+ 1= m^4- 3m^2+ 1
(The "m" and "-m" terms cancel.)
 
Alright guys, thanks. :smile: Studying yourself + this forum is a lethal formula for learning about a lot of things.
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top