12. Find the values of \( p \) and \( q \) if both \( (x-1) \) and \( (x+2) \) are factors of the cubic \( x^{3}+p x^{3}+q x+4 \).
Real Tutor Solution
Answer
Solution
Reviewed and approved by the UpStudy tutoring team
Beyond the Answer
To find the values of \( p \) and \( q \) such that both \( (x-1) \) and \( (x+2) \) are factors of the cubic polynomial \( x^3 + px^2 + qx + 4 \), we can use the Factor Theorem. According to the theorem, if \( (x-a) \) is a factor of a polynomial, then substituting \( x = a \) into the polynomial should yield 0. 1. First, evaluate the polynomial at \( x = 1 \): \[ 1^3 + p(1^2) + q(1) + 4 = 0 \implies 1 + p + q + 4 = 0 \implies p + q + 5 = 0 \quad \text{(Equation 1)} \] 2. Next, evaluate the polynomial at \( x = -2 \): \[ (-2)^3 + p(-2)^2 + q(-2) + 4 = 0 \implies -8 + 4p - 2q + 4 = 0 \implies 4p - 2q - 4 = 0 \quad \text{(Equation 2)} \] Now, we simplify Equation 2: \[ 4p - 2q = 4 \implies 2p - q = 2 \quad \text{(Equation 3)} \] Now, we have a system of equations: **Equation 1:** \( p + q + 5 = 0 \) (So, \( q = -p - 5 \)) **Equation 3:** \( 2p - q = 2 \) Substituting \( q \) from Equation 1 into Equation 3: \[ 2p - (-p - 5) = 2 \quad \implies 2p + p + 5 = 2 \quad \implies 3p + 5 = 2 \quad \implies 3p = -3 \quad \implies p = -1 \] Now substitute \( p \) back into Equation 1 to find \( q \): \[ -1 + q + 5 = 0 \quad \implies q + 4 = 0 \quad \implies q = -4 \] Thus, the values are \( p = -1 \) and \( q = -4 \).