For a quadratic equation in standard form with a nonzero leading coefficient, the quadratic formula gives its roots. The discriminant tells you how many distinct real solutions to expect.
Quadratic formula and discriminant PDF and additional practice PDF. Use the explained problems below to check substitution and simplification.
Put the equation in standard form first
Move all terms to one side before identifying a, b, and c. Include each coefficient's sign, and use 0 for a missing term. In \(3x^2=5x+2\), standard form is \(3x^2-5x-2=0\), so \(a=3\), \(b=-5\), and \(c=-2\).
The formula is \[x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}.\] The denominator \(2a\) divides the entire numerator. If a = 0, the equation is not quadratic, so do not use this formula.
What the discriminant tells you
- \(D=b^2-4ac>0\): two distinct real roots.
- \(D=0\): one distinct real root, counted twice algebraically.
- \(D<0\): no real roots; there are two nonreal complex roots.
With integer coefficients, a positive perfect-square discriminant gives rational roots. A positive nonsquare discriminant gives irrational roots. This perfect-square test is stated for integer coefficients; do not apply it blindly to arbitrary real coefficients.
Worked examples
Example 1: two rational roots. For \(2x^2-5x-3=0\), \(D=(-5)^2-4(2)(-3)=25+24=49\). Then \(x=(5\pm7)/4\), giving \(\boxed3\) and \(\boxed{-1/2}\). Check: substituting either value into the original equation gives 0.
Example 2: a repeated root. For \(x^2-6x+9=0\), \(D=36-36=0\). The formula gives \(x=(6\pm0)/2=3\). There is one distinct real solution, also visible from \((x-3)^2=0\).
Example 3: irrational roots. For \(x^2-2x-1=0\), \(D=4+4=8\). Thus \(x=(2\pm\sqrt8)/2=(2\pm2\sqrt2)/2=\boxed{1\pm\sqrt2}\). Keep exact radicals unless a decimal is requested.
Practice
- Find the discriminant and real roots of \(x^2+2x-8=0\).
- How many real roots does \(x^2+4x+7=0\) have?
- Solve \(3x^2-12=0\) using the formula.
Show worked answers
- \(D=2^2-4(1)(-8)=36\). Then \(x=(-2\pm6)/2\), giving 2 and -4.
- \(D=16-28=-12<0\). There are no real roots (complex roots are \(-2\pm i\sqrt3\)).
- Here b = 0. \(D=0-4(3)(-12)=144\). Then \(x=(0\pm12)/6=\boxed{\pm2}\). Both satisfy the original equation.
Most substitution mistakes come from losing a negative sign or dividing only part of the numerator. Write coefficients with parentheses before simplifying.

