• Skip to secondary menu
  • Skip to main content
  • Skip to primary sidebar
  • My Store
  • Glossary
  • Home
  • About Me
  • Contact Me

Statistics By Jim

Making statistics intuitive

  • Graphs
  • Basics
  • Hypothesis Testing
  • Regression
  • ANOVA
  • Probability
  • Time Series
  • Fun
  • Calculators

Quadratic Formula: What It Is, How It Works & Examples

By Jim Frost 3 Comments

What is the Quadratic Formula?

The quadratic formula is a method for finding the solutions of a quadratic equation. The solutions are also known as the roots or zeros of the quadratic equation because they are the X-values that produce zeros when you enter them into the equation.

A quadratic equation is an equation that includes a squared variable, usually written in the form ax² + bx + c = 0. If you’re not yet familiar with polynomials or want a quick refresher, read my post Polynomials Explained.

Other methods, like factoring or completing the square, can also solve quadratic equations. However, factoring works only when you can neatly rewrite the quadratic expression as a product of binomials. That’s not always possible. Furthermore, while completing the square always works, it can be tedious, especially with fractions. The quadratic formula is the most reliable method since it applies to all quadratic equations.

In this post, we’ll explore how the quadratic formula works and what the discriminant tells us about the solutions. We will also step through examples to see how it works in action.

Using The Quadratic Formula

The quadratic formula works by first setting the original quadratic equation to the following standard form where it equals zero:

ax2 + bx + c = 0

where:

  • x is the unknown variable,
  • a, b, and c are known numbers (coefficients),
  • a ≠ 0 (because if a = 0, it’s no longer quadratic).

We take these values for a, b, and c and enter them into the quadratic formula to find the solutions.

The quadratic equation formula is:

The quadratic formula for solving zeros.

This formula gives two possible values for x because of the ± symbol, meaning there are generally two solutions. Written separately, the solutions are:

Separate quadratic formulas for the two solutions.

The part under the square root, b2 − 4ac, is called the discriminant. It tells us what kind of solutions to expect:

  • If b2 − 4ac > 0, two real solutions exist.
  • If b2 − 4ac = 0, one real solution exists (a repeated root).
  • If b2 − 4ac < 0, no real solutions exist, but there are two complex solutions.

To find the correct solution, you must use the correct order of operations in the formula. If you need a refresher on that, read my post PEMDAS Explained: Order of Operations in Math.

Graphing and the Quadratic Formula

A quadratic equation represents a parabola when graphed. The solutions (roots) tell us where the graph crosses the x-axis. These are the x-intercept values. If there are two real solutions, the parabola crosses the x-axis twice. When there’s one solution, it crosses the x-axis once. If there are no real solutions, the parabola doesn’t cross it at all.

For example, the graph below displays the parabola for the quadratic equation: y = x2 – 5x + 6.

Graph displaying the function for a quadratic equation.

Notice the two red Xs at x-values of 2 and 3. That indicates the equation produces values of zero for those two x-values because the lines cross the x-axis at those points.

In the next section, we’ll work through three step-by-step examples. The first example corresponds to the graph above, so you can see how to solve it.

Learn how regression uses quadratic equations to fit curvature.

Examples Using the Quadratic Formula

Let’s go through some typical quadratic formula examples step by step.

Example 1: Two Real Solutions

Solve:

x2 – 5x + 6 = 0

Here, a = 1, b = -5, and c = 6. Plug these into the quadratic formula:

Step by step solution using the quadratic formula.

Solving separately:

Separate solutions using the equation.

So, the solutions are x = 3 and x = 2. Notice how these values match the graph in the previous section.

Example 2: One Real Solution

Solve:

x2 – 6x + 9 = 0

Here, a = 1, b = -6, and c = 9. Using the quadratic formula:

Step by step solution using the quadratic formula.

Because the discriminant was 0, there’s only one solution: x = 3.

Example 3: No Real Solutions

Solve:

x2 + 4x + 5 = 0

Here, a = 1, b = 4, and c = 5. Using the quadratic formula:

Step by step example of using the equation.

Because the square root of -4 is 2i (an imaginary number), the solutions are:

Individual solutions for the example.

So the solutions are x = −2 + i and x = −2 − i, which are complex numbers.

Quadratic Formula Summary

The quadratic formula is a powerful tool for solving any quadratic equation. By plugging in the values of a, b, and c, you can quickly find the solutions—even when factoring isn’t possible.

Share this:

  • Tweet

Like this:

Like Loading…

Related

Filed Under: Basics Tagged With: formula, math

Reader Interactions

Comments

  1. Noldy Takaliuang says

    March 14, 2025 at 10:06 pm

    4 is constant value for all ? at example 1,2 & 3

    Loading...
    Reply
    • Jim Frost says

      March 14, 2025 at 10:10 pm

      Hi,

      4 is a value that is “built in” to the quadratic formula. You can find it in the square root in the numerator earlier in the post where I show the quadratic formula. Similarly, the value of 2 is in all quadratic formulas in the denominator. The other values (a, b, and c) come from your original quadratic equation. So, yes, that value of 4 is common to all examples because it is in the underlying formula rather than coming from your original quadratic equation.

      Loading...
      Reply
  2. MIKE K NSAH says

    March 10, 2025 at 1:49 am

    Great job, Sir! Many thanks!

    Loading...
    Reply

Comments and QuestionsCancel reply

Primary Sidebar

Meet Jim

Iโ€™ll help you intuitively understand statistics by focusing on concepts and using plain English so you can concentrate on understanding your results.

Read More...

Buy My Introduction to Statistics Book!

Cover of my Introduction to Statistics: An Intuitive Guide ebook.

Buy My Hypothesis Testing Book!

Cover image of my Hypothesis Testing: An Intuitive Guide ebook.

Buy My Regression Book!

Cover for my ebook, Regression Analysis: An Intuitive Guide for Using and Interpreting Linear Models.

Subscribe by Email

Enter your email address to receive notifications of new posts by email.

    I won't send you spam. Unsubscribe at any time.

    Buy My Thinking Analytically Book!

    Cover for my book, Thinking Analytically: An Guide for Making Data-Driven Decisions.

    Top Posts

    • F-table
    • Cronbachโ€™s Alpha: Definition, Calculations & Example
    • Z-table
    • How To Interpret R-squared in Regression Analysis
    • Box Plot Explained with Examples
    • Multicollinearity in Regression Analysis: Problems, Detection, and Solutions
    • How to Interpret P-values and Coefficients in Regression Analysis
    • Interpreting Correlation Coefficients
    • Cohens D: Definition, Using & Examples
    • T-Distribution Table of Critical Values

    Recent Posts

    • Data Collection Methods: Step-By-Step Guide with Examples
    • ANOVA Calculator
    • Positive Predictive Value: Meaning, Formula, and Interpretation
    • Median Absolute Deviation Calculator
    • Median Absolute Deviation: Definition, Finding & Formula
    • Outlier Calculator

    Recent Comments

    • Skata na fas on Comparing Regression Lines with Hypothesis Tests
    • Jim Frost on Comparing Regression Lines with Hypothesis Tests
    • Skata na fas on Comparing Regression Lines with Hypothesis Tests
    • Skata na fas on Comparing Regression Lines with Hypothesis Tests
    • Jim Frost on Pareto Chart: Making, Reading & Examples

    Copyright © 2026 · Jim Frost · Privacy Policy

    %d