algebraunstuck.com

Unit 3 · Quadratic functions & models

The quadratic formula and the discriminant

About 15 minFree, no account needed
Goal
Solve any quadratic with the quadratic formula, and use the discriminant to count real solutions.

The quadratic formula solves every equation ax2+bx+c=0ax^2 + bx + c = 0:

x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Write aa, bb and cc with their signs before you substitute, and put negative numbers in parentheses. Simplify the square root and reduce the fraction for an exact answer. Type answers like (2 + sqrt(10))/2, (2 - sqrt(10))/2.

Example 1

Quadratic formula: keep ± and simplify the radical exactly

2x2−4x−3=02x^2-4x-3=0
  1. Identify a, b, c with their signs

    a=2,b=−4,c=−3a=\mv{a}{2},\quad b=-\mv{b}{4},\quad c=-\mv{c}{3}
  2. Compute the discriminant b² − 4ac

    D=(−4)2−4(2)(−3)=40D=(-\mv{b}{4})^2-4(\mv{a}{2})(-\mv{c}{3})=\mv{D}{40}
  3. Use (−b ± √D)/(2a); remember both signs

    x=4±404x=\frac{\mv{b}{4}\hl{\pm}\mv{rad}{\sqrt{\mv{D}{40}}}}{\mv{den}{4}}
  4. Factor out a perfect square under the radical

    40=210\sqrt{40}=\mv{rad}{\mv{simple}{2\sqrt{10}}}
  5. Factor 2 out of the top and cancel with 4

    x=4±2104=2±102x=\frac{4\pm2\sqrt{10}}4=\frac{\mv{b}{2}\pm\mv{simple}{\sqrt{10}}}{\mv{den}{2}}

Check: Both roots make 2(x − 1)² − 5 equal zero ✓

The discriminant D=b2−4acD = b^2 - 4ac tells you how many real solutions to expect: D>0D > 0 gives two, D=0D = 0 gives one (a double root), and D<0D < 0 gives none, because a negative number has no real square root. In that case the two solutions are complex numbers.

Example 2

A negative discriminant means no real roots—not no roots

3x2−2x+5=03x^2-2x+5=0
  1. Read a, b, c, keeping the negative sign on b

    a=3,b=−2,c=5a=\mv{a}{3},\quad b=-\mv{b}{2},\quad c=\mv{c}{5}
  2. Compute b² − 4ac; square all of −2

    D=(−2)2−4(3)(5)=−56D=(-\mv{b}{2})^2-4(\mv{a}{3})(\mv{c}{5})=\mv{disc}{-56}
  3. D < 0: no real roots; √−56 = 2i√14

    x=2±2i146=13±143ix=\frac{\mv{b}{2}\pm\mv{disc}{2\hl{i}\sqrt{14}}}{\mv{a}{6}}=\frac13\pm\frac{\sqrt{14}}3i

Check: 3(x − 1/3)² + 14/3 is always positive ✓

Practice

10 practice problems with hints, then a mastery check of 8 questions, right on this page.