Better Students Ask More Questions.
What are a and b if the roots of equation x^2+ax+b=0 are integers and a+b=12?
1 Answer | add yours
The roots of the equation x^2 + ax + b = 0 are `x1 = (-a + sqrt(a^2 - 4b))/2` and `x2 = (-a - sqrt(a^2 - 4b))/2`
a + b = 12 and as the roots are integers `a^2 - 4b = (12 - b)^2 - 4b` has to be a square.
`(12 - b)^2 - 4b = (12 - b - 2*sqrt b)(12 - b + 2*sqrt b)`
`-2*sqrt b = 2*sqrt b`
=> `4*sqrt b = 0`
=> b = 0
a = 12
The required values of a and b are 12 and 0 respectively.
Posted by justaguide on July 20, 2012 at 4:51 PM (Answer #1)
Join to answer this question
Join a community of thousands of dedicated teachers and students.