Given: \( f(x)=x^{3}+p x^{2}+5 q x+16 \) and - \( (x+2) \) is a factor. When \( (x-3) \) is divided into \( f(x) \), it gives a remainder of -50
Upstudy AI Solution
Answer
Solution
Answered by UpStudy AI and reviewed by a Professional Tutor


Bonus Knowledge
To start, since \( (x+2) \) is a factor of \( f(x) \), we can substitute \( x = -2 \) into the function, so we have: \[ f(-2) = (-2)^3 + p(-2)^2 + 5q(-2) + 16 = 0 \] This simplifies to: \[ -8 + 4p - 10q + 16 = 0 \implies 4p - 10q + 8 = 0 \implies 4p - 10q = -8 \implies 2p - 5q = -4 \tag{1} \] Next, since the remainder when \( (x-3) \) is divided into \( f(x) \) is -50, we substitute \( x = 3 \): \[ f(3) = 3^3 + p(3^2) + 5q(3) + 16 = -50 \] This simplifies to: \[ 27 + 9p + 15q + 16 = -50 \implies 9p + 15q + 43 = -50 \implies 9p + 15q = -93 \tag{2} \] Now we have the system of equations formed by (1) and (2): 1. \( 2p - 5q = -4 \) 2. \( 9p + 15q = -93 \) Let's solve for \( p \) and \( q \). From the first equation, \( 2p = 5q - 4 \implies p = \frac{5q - 4}{2} \). Substituting \( p \) into the second equation: \[ 9\left(\frac{5q - 4}{2}\right) + 15q = -93 \] Multiplying through by 2 to eliminate the fraction: \[ 9(5q - 4) + 30q = -186 \] This gives: \[ 45q - 36 + 30q = -186 \implies 75q - 36 = -186 \implies 75q = -150 \implies q = -2 \] Now substituting \( q = -2 \) back into the expression for \( p \): \[ p = \frac{5(-2) - 4}{2} = \frac{-10 - 4}{2} = \frac{-14}{2} = -7 \] Thus, we have: \[ p = -7, \quad q = -2 \] Therefore, the values of \( p \) and \( q \) are: \[ \boxed{-7} \quad \text{and} \quad \boxed{-2} \]