Sub topic 13
Common Mistakes and How to Check Your Answer
Assume you can solve linear equations, expand and factor simple polynomials, simplify square roots, and read a coordinate graph. This chapter focuses on checking quadratic-formula work rather than deriving the formula.
Put the equation in the right form
The quadratic formula applies to
\[ ax^2+bx+c=0,\qquad a\ne0. \]
Before identifying the coefficients, move every term to one side and combine like terms. The coefficient \(b\) includes its sign.
For example,
\[ 3x^2+7=5x \]
becomes
\[ 3x^2-5x+7=0. \]
Therefore, \(a=3\), \(b=-5\), and \(c=7\). A common error is to use \(b=5\), forgetting that the term is \(-5x\).
Avoid sign and grouping errors
The formula is
\[ x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}. \]
The negative sign applies to all of \(b\), not only to its numerical part. The denominator is \(2a\), not \(2\) and then \(a\) separately.
Consider
\[ 2x^2-4x-6=0. \]
Here \(a=2\), \(b=-4\), and \(c=-6\). The discriminant is
\[ (-4)^2-4(2)(-6)=16+48=64. \]
Thus,
\[ x=\frac{-(-4)\pm\sqrt{64}}{2(2)} =\frac{4\pm8}{4}. \]
The roots are \(3\) and \(-1\).
| Error | Why it is wrong | Better habit |
|---|---|---|
| Using \(b=4\) instead of \(b=-4\) | The sign belongs to the coefficient | Copy \(a,b,c\) with their signs |
| Writing \(b^2-4a+c\) | The product \(4ac\) is required | Compute the discriminant separately |
| Dividing by \(2\) instead of \(2a\) | The full denominator is \(2a\) | Keep parentheses around \(2a\) |
| Reporting only one root | The \(\pm\) usually gives two values | Calculate both branches |
Check with the discriminant
The discriminant is
\[ D=b^2-4ac. \]
It predicts the number and type of real roots:
- \(D>0\): two distinct real roots.
- \(D=0\): one repeated real root.
- \(D<0\): no real roots, but two complex conjugate roots.
Your final answer must agree with this prediction. If \(D<0\) but your work produces two real numbers, a sign or arithmetic error occurred.
For a negative discriminant, rewrite
\[ \sqrt{-k}=i\sqrt{k}. \]
For example,
\[ x=\frac{-2\pm\sqrt{-16}}{2} =\frac{-2\pm4i}{2} =-1\pm2i. \]
The two roots have the same real part and opposite imaginary parts.
Check with the sum and product of roots
For
\[ ax^2+bx+c=0 \]
with roots \(r1\) and \(r2\),
\[ r1+r2=-\frac ba, \qquad r1r2=\frac ca. \]
These relationships are called Vieta’s formulas. They provide a quick independent check.
For \(2x^2-4x-6=0\), the roots \(3\) and \(-1\) give
\[ 3+(-1)=2=-\frac{-4}{2}, \]
and
\[ 3(-1)=-3=\frac{-6}{2}. \]
Both checks pass.
Watch for cancellation in numerical answers
When \(b\) is large and the square root is close to \(|b|\), the expression
\[ -b+\sqrt{b^2-4ac} \]
can subtract nearly equal numbers. A calculator may lose meaningful digits. For accurate numerical work, compute one root with the less-canceling sign and find the other using
\[ r1r2=\frac ca. \]
This matters mainly in scientific computing, not in ordinary exact algebra.
import math
def checked_roots(a, b, c):
if a == 0:
raise ValueError("a must be nonzero")
discriminant = b * b - 4 * a * c
if discriminant < 0:
raise ValueError("the roots are not real")
root = math.sqrt(discriminant)
roots = [(-b - root) / (2 * a), (-b + root) / (2 * a)]
assert math.isclose(sum(roots), -b / a)
assert math.isclose(roots[0] * roots[1], c / a)
return roots
print(checked_roots(2, -4, -6))Exercise
For 3x² + 2x - 1 = 0, calculate the discriminant and use the sum and product checks after finding both roots.
Show answer
D = 16, so the roots are 1/3 and -1. Their sum is -2/3 = -b/a, and their product is -1/3 = c/a.