The quadratic polynomial a x 2 + b x + c , when divided by the linear factors x , x − 1 and x − 2 , leaves remainder 1, 2, and 9 respectively.
What is the value of a + b + c ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Smart one :-).
U s i n g t h e s e c o n d g i v e n c o n d i t i o n , L e t E q u a t i o n p ( x ) w h e n d i v i d e d b y ( x − 1 ) g i v e s r e m a i n d e r 2 . S o p u t x = 1 i n p ( x ) , ⇒ a ( 1 ) 2 + b ( 1 ) + c = 2 ⇒ a + b + c = 2
CHEERS:)
I pressed the wrong button again. Old age.
This is a good one for applying the Python sympy library. First we divide the general quadratic with each of the binomial factors, requiring division in the ring of polynomials with integer coefficients (that's the domain thing), to obtain expressions for the required remainders.
>>> from sympy import *
>>> a,b,c,x=symbols('a b c x')
>>> div(a x 2+b x+c,x,domain='ZZ')
(a*x + b, c)
>>> div(a x 2+b x+c,x-1,domain='ZZ')
(a*x + a + b, a + b + c)
>>> div(a x 2+b x+c,x-2,domain='ZZ')
(a x + 2 a + b, 4 a + 2 b + c)
Then we equate these remainders with the required numerical values and solve:
4 a + 2 b + c = 9 a + b + c = 2 c = 1
to get
a = 3 , b = − 2 a n d c = 1
Now we can verify that we have the correct values:
>>> div(3 x 2-2 x+1,x)
(3*x - 2, 1)
>>> div(3 x 2-2 x+1,x-1)
(3*x + 1, 2)
>>> div(3 x 2-2 x+1,x-2)
(3*x + 4, 9)
p(x)=q(x)(x-1)+2 so p(1)=2=a+b+c
Problem Loading...
Note Loading...
Set Loading...
Using long division of polynomials:
x − 1 a x 2 + b x + c = a x + b + a + x − 1 a + b + c
Remainder is a + b + c , so a + b + c = 2
interestingly, is not necessary to divide by x or x − 2 .