Given that p , q are prime numbers, and x 2 − p x + q = 0 has distinct roots, what is the value of 2 p + 3 q ?
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.
hey finn i a t t a c k e d this pair directly as ( p , q ) = ( 3 , 2 ) directly
How do we know that roots are integers?
Since p , q > 0 , therefore x 2 − p x + q = ( x − 1 ) ( x − q ) ⇒ p = q + 1 This means that p , q are two consecutive numbers that are prime.
∴ q = 2 , p = 3 ⇒ 2 p + 3 q = 6 + 6 = 1 2
Problem Loading...
Note Loading...
Set Loading...
Eh, I attacked it a little differently. Letting the roots be x 1 and x 2 , I used Vieta's to construct x 1 + x 2 = p and x 1 x 2 = q . Obviously, for q to be divisible by only 1 and itself, one of the roots is q and the other is 1 . Substituting, q + 1 = p . Thus, we're looking for a pair of consecutive primes. The only pair is 2 , 3 . Plugging that into the desired expression, we obtain 6 + 6 = 1 2 .