Question 22 Given the quadratic equation x² + qx + p = 0, where p and q are positive…
- User
Question 22
Given the quadratic equation x² + qx + p = 0, where p and q are positive integer constants. If the equation has two distinct integer solutions and p is a prime number, what is the value of q?
Answer choices: (A) 2p (B) √p (C) p - 1 (D) p + 1
Assistant
I need to find the value of q given the constraints on the quadratic equation.
Let me denote the two distinct integer solutions as r and s.
By Vieta's formulas:
- r + s = -q (sum of roots)
- rs = p (product of roots)
Since p is prime and rs = p, and both r and s are integers, the only way to factor p as a product of two integers is:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.