Rational Root Theorem Practice Problems 🚀
The Rational Root Theorem helps us find potential rational roots of a polynomial equation. Here's a breakdown with practice problems:
Understanding the Theorem 🤔
The Rational Root Theorem states that if a polynomial $P(x) = a_nx^n + a_{n-1}x^{n-1} + ... + a_1x + a_0$ has integer coefficients, then any rational root of $P(x) = 0$ must be of the form $\frac{p}{q}$, where $p$ is a factor of the constant term $a_0$ and $q$ is a factor of the leading coefficient $a_n$.
Practice Problem 1 🥇
Find the possible rational roots of $2x^3 + 3x^2 - 8x + 3 = 0$.
Solution:
- Identify p and q:
- $p$ (factors of 3): $\pm 1, \pm 3$
- $q$ (factors of 2): $\pm 1, \pm 2$
- List possible rational roots $\frac{p}{q}$:
- $\pm 1, \pm 3, \pm \frac{1}{2}, \pm \frac{3}{2}$
- Test the roots: Use synthetic division or direct substitution to check which of these are actual roots.
def polynomial(x):
return 2*x**3 + 3*x**2 - 8*x + 3
possible_roots = [1, -1, 3, -3, 0.5, -0.5, 1.5, -1.5]
for root in possible_roots:
if polynomial(root) == 0:
print(f"{root} is a root")
else:
print(f"{root} is not a root")
Practice Problem 2 🥈
Find the possible rational roots of $x^4 - 5x^2 + 4 = 0$.
Solution:
- Identify p and q:
- $p$ (factors of 4): $\pm 1, \pm 2, \pm 4$
- $q$ (factors of 1): $\pm 1$
- List possible rational roots $\frac{p}{q}$:
- Test the roots: Substitute these values into the polynomial.
def polynomial(x):
return x**4 - 5*x**2 + 4
possible_roots = [1, -1, 2, -2, 4, -4]
for root in possible_roots:
if polynomial(root) == 0:
print(f"{root} is a root")
else:
print(f"{root} is not a root")
Practice Problem 3 🥉
Find the possible rational roots of $3x^3 - 7x^2 + 8x - 2 = 0$.
Solution:
- Identify p and q:
- $p$ (factors of 2): $\pm 1, \pm 2$
- $q$ (factors of 3): $\pm 1, \pm 3$
- List possible rational roots $\frac{p}{q}$:
- $\pm 1, \pm 2, \pm \frac{1}{3}, \pm \frac{2}{3}$
- Test the roots: Use synthetic division or substitution.
def polynomial(x):
return 3*x**3 - 7*x**2 + 8*x - 2
possible_roots = [1, -1, 2, -2, 1/3, -1/3, 2/3, -2/3]
for root in possible_roots:
if polynomial(root) == 0:
print(f"{root} is a root")
else:
print(f"{root} is not a root")
Key Takeaways ✍️
- Always identify the factors of the constant term ($p$) and the leading coefficient ($q$).
- List all possible combinations of $\frac{p}{q}$.
- Test each possible root using synthetic division or substitution to find the actual rational roots.