mangren
- 4
- 0
Homework Statement
A cubic polynomial gives remainders (5x + 4) and (12x -1) when divided by x^2 - x + 2 and x^2 + x - 1 respectively. Find the polynomial.
I presume that you seek help with this problem, rather than merely intending to duplicate your textbook?mangren said:Homework Statement
A cubic polynomial gives remainders (5x + 4) and (12x -1) when divided by x^2 - x + 2 and x^2 + x - 1 respectively. Find the polynomial.
No, that's wrong. P(x)/(x^2- x+ 2)= Q(x)+ (5x+4)/(x^2- x+ 2) andmangren said:Sorry, this is the first time I posted here. I'm lost in this problem. I tried starting solving it by using:
P(x)/(x^2 - x + 2) = Q(x) + (5x + 4) and
P(x)/(x^2 + x - 1) = R(x) + (12x - 1)
I see four dimensions of equations and four unknowns; there shouldn't be a problem. Don't forget that, for two polynomials to be equal, their coefficients must be equal!mangren said:...
x(b + c) -a(x + 2) - 2b + d which is equal to (5x + 4),
...
x(2a + c) - bx + d - a which is also equal to (12x - 1), then i tried to solve simultaneously, but there are just too many unknowns... don't know what to do next...
HallsofIvy said:It might help to write it as P(x)= Q(x)(x^2- x+ 2)+ 5x+4 and P(x)= R(x)(x^2+ x-1)+ 12x-1.
You also know that P is cubic so Q and R must be linear. P(0)= 2Q(0)+ 4= -R(0)- 1 and P(1)= 2Q(1)+ 9= R(x)+ 11. Two points should be enough to determin a linear equation.