Quadratic Formula Calculator
Solve quadratic equations using the quadratic formula with step-by-step solutions, discriminant, and real or complex roots.
---
Visual Graph & Diagram
Interactive mathematical coordinate representation
Calculation Reference Table
Benchmark values and quick reference intervals
Recommended Final Steps
Step-by-Step Mathematical Solution
How to Use & Educational Guide
In-depth guide for Quadratic Formula Solver
What Is the Quadratic Formula?
The quadratic formula is a standard method for solving any quadratic equation written in the form $ax^2 + bx + c = 0$, where $a \ne 0$. It can be used to find the roots or solutions of a quadratic equation when factoring is difficult or does not work with simple integers. The formula can produce two real roots, one repeated real root, or two complex roots.
The Quadratic Formula and Discriminant
For a quadratic equation in standard form $ax^2 + bx + c = 0$, use the following formula to solve for $x$:
The expression under the square root is called the discriminant:
How to Use the Quadratic Formula Step-by-Step?
To solve a quadratic equation using the formula, follow these steps:
- Write the equation in standard form: Rearrange the equation so it becomes $ax^2 + bx + c = 0$.
- Identify $a$, $b$, and $c$: Read the coefficients directly from the standard form, including their signs.
- Calculate the discriminant: Find $\Delta = b^2 - 4ac$.
- Substitute into the quadratic formula: Replace $a$, $b$, and $c$ in $x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$.
- Calculate both solutions: Use the plus and minus signs separately to find $x_1$ and $x_2$.
- Simplify and verify: Simplify the roots and substitute them into the original equation when necessary.
Quadratic Formula Examples
Example 1: Two Real Roots — $x^2 - 5x + 6 = 0$
• Identify coefficients: $a = 1$, $b = -5$, $c = 6$.
• Discriminant: $\Delta = (-5)^2 - 4(1)(6) = 25 - 24 = 1$.
• Substitute: $x = \frac{-(-5) \pm \sqrt{1}}{2(1)} = \frac{5 \pm 1}{2}$.
• First root: $x_1 = \frac{5 + 1}{2} = 3$.
• Second root: $x_2 = \frac{5 - 1}{2} = 2$.
👉 Answer: $x_1 = 3,\; x_2 = 2$
Example 2: One Repeated Root — $x^2 - 6x + 9 = 0$
• Coefficients: $a = 1$, $b = -6$, $c = 9$.
• Discriminant: $\Delta = (-6)^2 - 4(1)(9) = 36 - 36 = 0$.
• Substitute: $x = \frac{-(-6) \pm \sqrt{0}}{2} = \frac{6}{2}$.
👉 Answer: $x = 3$ (repeated root)
Example 3: Complex Roots — $x^2 + 4x + 5 = 0$
• Coefficients: $a = 1$, $b = 4$, $c = 5$.
• Discriminant: $\Delta = 4^2 - 4(1)(5) = 16 - 20 = -4$.
• Square root: $\sqrt{-4} = 2i$.
• Substitute: $x = \frac{-4 \pm 2i}{2}$.
👉 Complex Roots: $x_1 = -2 + i,\; x_2 = -2 - i$
Example 4: Quadratic Equation Not Initially in Standard Form — $2x^2 + 3 = 7x$
• Step 1: Move all terms to one side: $2x^2 - 7x + 3 = 0$.
• Step 2: Identify $a = 2$, $b = -7$, $c = 3$.
• Step 3: Calculate $\Delta = (-7)^2 - 4(2)(3) = 49 - 24 = 25$.
• Step 4: $x = \frac{7 \pm \sqrt{25}}{4} = \frac{7 \pm 5}{4}$.
• Roots: $x_1 = 3$ and $x_2 = \frac{1}{2}$.
👉 Answer: $x = 3,\; \frac{1}{2}$
When Should You Use the Quadratic Formula?
The quadratic formula is useful whenever you need to solve a quadratic equation and factoring is inconvenient, difficult, or does not produce obvious integer factors. It provides a reliable method for finding both roots of any quadratic equation with $a \ne 0$.
📐 Finding Parabola Intercepts
For a quadratic function $y = ax^2 + bx + c$, solving $ax^2 + bx + c = 0$ gives the x-intercepts of the parabola when real roots exist.
🚀 Physics and Motion
Quadratic equations can model projectile motion. Setting a height equation equal to zero can help determine when an object reaches the ground.
Common Quadratic Formula Mistakes
- Not using standard form: Always rearrange the equation into $ax^2 + bx + c = 0$ before identifying $a$, $b$, and $c$.
- Missing the negative sign: If $b = -5$, then $-b = -(-5) = 5$.
- Forgetting the entire numerator: Both $-b$ and $\pm\sqrt{b^2-4ac}$ belong in the numerator and are divided by $2a$.
- Incorrectly squaring negative values: When $b = -5$, calculate $b^2 = (-5)^2 = 25$.
- Ignoring the discriminant: A negative discriminant means the equation has complex roots rather than real roots.
Solve a Quadratic Equation with the Calculator
Enter the coefficients of your quadratic equation into the Quadratic Formula Calculator to solve for $x$. The calculator evaluates the discriminant, applies the quadratic formula, and shows the roots with step-by-step working.
Mathematical accuracy verified by AptCalc Engine
Frequently Asked Questions (FAQs)
Answers to common questions about this calculator
What is the quadratic formula?
How do you use the quadratic formula?
What does the discriminant tell you?
Can the quadratic formula give complex roots?
When should you use the quadratic formula?
Explore Related Calculators
More tools in Algebra
Simplify Algebraic Expressions
Step-By-Step Solver
Evaluate Expression Calculator
Step-By-Step Solver
Combine Like Terms Calculator
Step-By-Step Solver
Expand Algebraic Expressions (FOIL)
Step-By-Step Solver
Linear Equation Solver (ax + b = c)
Step-By-Step Solver
One-Step Equation Calculator
Step-By-Step Solver