'Equating the coefficients' question

  • Thread starter Thread starter Parsifal1
  • Start date Start date
  • Tags Tags
    Coefficients
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
Parsifal1
Messages
61
Reaction score
3

Homework Statement


Expand the brackets to get a cubic containing the unknowns. This is an example in the textbook but I don't see how they've expanded the brackets to get their answer:

(x-3)(px^2+qx+r)=px^3+(q-3p)x^2+(r-3q)x-3r

Homework Equations


(x-3)(px^2+qx+r)

The Attempt at a Solution



I would have done it how you expand long brackets:

(x-3)(px^2)+(x-3)(qx)+(x-3)(r)=px^3-3px^2...
 
Physics news on Phys.org
pasmith said:
Yes, and the next step is to collect all the terms involving x^2 together, and all the terms involving x together...

What I don't get is how they factorized what you get from expanding: px^3+qx^2+rx-3px^2-3qx-3r. How do you get px^3+(q-3p)x^2+(r-3q)x-3r from that?
 
Ah, I see if you do (q-3p)x^2 and multiply it out and the same with the other factorized terms, you get the terms you get when you'd first expand it out. I hadn't noticed that px^3+(q-3p)x^2... etc. was a cubic. I need to work on noticing things, I've found. :rolleyes:
 
  • Like
Likes   Reactions: SammyS