Let a and b be integers. It is known that the polynomial P(x) = x³ + ax² + bx - 2 has…
- User
Let a and b be integers. It is known that the polynomial
P(x) = x³ + ax² + bx - 2
has only one real root.
If P(1) = 0, what is the smallest possible integer value of a?
- Assistant
To solve this problem, we are given a cubic polynomial:
[ P(x) = x^3 + a x^2 + b x - 2 ]
We are told:
- ( P(1) = 0 ).
- ( P(x) ) has only one real root.
- ( a ) and ( b ) are integers.
From ( P(1) = 0 ), substituting ( x = 1 ):
[ 1 + a(1)^2 + b(1) - 2 = 0 ] [ 1 + a + b - 2 = 0 ] [ a + b - 1 = 0 ] [ a + b = 1 ]
So ( b = 1 - a ).
Then, the polynomial becomes:
[ P(x) = x^3 + a x^2 + (1 - a) x - 2 ]
Our goal is to find integer values of ( a ) such that ( P(x) ) has only one real root and ( a ) is as small as possible.
For a cubic polynomial, the number of real roots depends on the sign of its discriminant. The discriminant ( D ) of a cubic polynomial ( x^3 + p x^2 + q x + r ) is:
[ D = -4 p^3 r + p^2 q^2 - 4 q^3 - 27 r^2 + 18 p q r ]