If both (x - 2) and (x−12) are factors of px2+5x+r, prove that p = r.
Let f(x) = px2+5x+r
It is given that (x – 2) is a factor of f(x).
Using factor theorem, we have
f(2)=0
⇒p(2)2+5(2)+r=0
⇒4p+r=-10 .....(1)
Also, (x−12) is a factor of f(x).
Using factor theorem, we have
f12=0
⇒p×122+5×12+r=0
⇒p4+r=−52
⇒p+4r=-10 .....(2)
From (1) and (2), we have
4p+r=p+4r
⇒4p-p=4r-r
⇒3p=3r
⇒p=r