Skip to content
10 min read

Mastering the Quadratic Formula: Discriminant, Graphing, and Real-World Uses

The quadratic formula is one of the most important tools in algebra. It provides a guaranteed method for solving any quadratic equation of the form ax2+bx+c=0ax^2 + bx + c = 0, regardless of whether the equation can be factored easily. Mastering the quadratic formula opens the door to solving problems in physics, engineering, economics, and countless other fields.

This guide covers the formula itself, the role of the discriminant, graphing connections, real-world applications, and tips for avoiding common errors.

The Quadratic Formula

For any quadratic equation ax2+bx+c=0ax^2 + bx + c = 0 where a≠0a \neq 0, the solutions are:

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

The ±\pm symbol means there are two solutions: one using addition and one using subtraction. These solutions are also called the roots or zeros of the quadratic.

Understanding the Discriminant

The expression under the square root is called the discriminant:

Δ=b2−4ac\Delta = b^2 - 4ac

The discriminant tells you the nature of the roots before you even solve:

  • Δ>0\Delta > 0 — Two distinct real roots. The parabola crosses the x-axis at two points.
  • Δ=0\Delta = 0 — One repeated real root (a double root). The parabola just touches the x-axis at its vertex.
  • Δ<0\Delta < 0 — No real roots (two complex conjugate roots). The parabola does not cross the x-axis at all.

Worked Example 1: Two Real Roots

Solve: 2x2−7x+3=02x^2 - 7x + 3 = 0

Identify coefficients: a=2a = 2, b=−7b = -7, c=3c = 3.

First, calculate the discriminant:

Δ=(−7)2−4(2)(3)=49−24=25\Delta = (-7)^2 - 4(2)(3) = 49 - 24 = 25

Since Δ=25>0\Delta = 25 > 0, we have two distinct real roots:

x=−(−7)±252(2)=7±54x = \frac{-(-7) \pm \sqrt{25}}{2(2)} = \frac{7 \pm 5}{4}
x1=7+54=3x2=7−54=12x_1 = \frac{7 + 5}{4} = 3 \qquad x_2 = \frac{7 - 5}{4} = \frac{1}{2}

The solutions are x=3x = 3 and x=12x = \frac{1}{2}.

Worked Example 2: One Repeated Root

Solve: x2−6x+9=0x^2 - 6x + 9 = 0

Here a=1a = 1, b=−6b = -6, c=9c = 9:

Δ=(−6)2−4(1)(9)=36−36=0\Delta = (-6)^2 - 4(1)(9) = 36 - 36 = 0
x=6±02=3x = \frac{6 \pm 0}{2} = 3

There is one repeated root at x=3x = 3. Notice that x2−6x+9=(x−3)2x^2 - 6x + 9 = (x - 3)^2, confirming the double root.

Worked Example 3: Complex Roots

Solve: x2+2x+5=0x^2 + 2x + 5 = 0

Δ=(2)2−4(1)(5)=4−20=−16\Delta = (2)^2 - 4(1)(5) = 4 - 20 = -16

Since Δ<0\Delta < 0, the roots are complex:

x=−2±−162=−2±4i2=−1±2ix = \frac{-2 \pm \sqrt{-16}}{2} = \frac{-2 \pm 4i}{2} = -1 \pm 2i

The two complex conjugate roots are x=−1+2ix = -1 + 2i and x=−1−2ix = -1 - 2i.

Connection to Graphing

Every quadratic equation y=ax2+bx+cy = ax^2 + bx + c graphs as a parabola. The roots of the equation correspond to the x-intercepts of the parabola. The vertex (turning point) is at:

Vertex=(−b2a,  f ⁣(−b2a))\text{Vertex} = \left(-\frac{b}{2a},\; f\!\left(-\frac{b}{2a}\right)\right)

Key graphing facts:

  • If a>0a > 0, the parabola opens upward (minimum at the vertex).
  • If a<0a < 0, the parabola opens downward (maximum at the vertex).
  • The axis of symmetry is the vertical line x=−b2ax = -\frac{b}{2a}.
  • The y-intercept is always at (0,c)(0, c).

Vieta's Formulas

If x1x_1 and x2x_2 are the roots of ax2+bx+c=0ax^2 + bx + c = 0, then:

x1+x2=−bax1⋅x2=cax_1 + x_2 = -\frac{b}{a} \qquad x_1 \cdot x_2 = \frac{c}{a}

These relationships are useful for checking your answers. For example, in Worked Example 1 above, 3+0.5=3.5=7/23 + 0.5 = 3.5 = 7/2 and −b/a=7/2-b/a = 7/2. Correct.

Real-World Applications

Projectile Motion

The height of a ball thrown upward is modelled by:

h(t)=−12gt2+v0t+h0h(t) = -\frac{1}{2}gt^2 + v_0 t + h_0

Setting h(t)=0h(t) = 0 gives a quadratic equation. The positive root tells you when the ball hits the ground.

Revenue Optimisation

If the revenue function is R(x)=−2x2+120xR(x) = -2x^2 + 120x where xx is the number of units sold, the maximum revenue occurs at the vertex:

x=−1202(−2)=30 unitsx = -\frac{120}{2(-2)} = 30 \text{ units}
R(30)=−2(900)+120(30)=£1,800R(30) = -2(900) + 120(30) = \pounds1{,}800

Area Problems

A farmer wants to enclose a rectangular field using 100 metres of fencing, with one side along a river (no fence needed). If the width is xx, the length is 100−2x100 - 2x, and the area is:

A=x(100−2x)=−2x2+100xA = x(100 - 2x) = -2x^2 + 100x

Maximum area occurs at x=25x = 25, giving an area of 1,250 m21{,}250\,\text{m}^2.

Tips for Avoiding Mistakes

  1. Always write the equation in standard form first. Move all terms to one side so you have ax2+bx+c=0ax^2 + bx + c = 0.
  2. Watch the sign of b. If the equation is x2−5x+6=0x^2 - 5x + 6 = 0, then b=−5b = -5, not 5. The formula uses −b-b, so you get −(−5)=+5-(-5) = +5.
  3. Calculate the discriminant separately. Compute Δ=b2−4ac\Delta = b^2 - 4ac first, then substitute into the formula. This reduces errors.
  4. Simplify the square root where possible. For example, 48=43\sqrt{48} = 4\sqrt{3}, not just ≈6.93\approx 6.93.
  5. Check using Vieta's formulas. Verify that the sum and product of your roots match −b/a-b/a and c/ac/a.

Try It Yourself

Use our free Quadratic Formula Calculator to solve any quadratic equation instantly, complete with discriminant analysis and vertex coordinates. For graphing, try our Graphing Calculator to visualise the parabola and find the roots visually.

Related Articles