Quadratic Equation Calculator

Solve any quadratic equation in the form ax² + bx + c = 0 instantly using the quadratic formula. Get step-by-step solutions with real and complex roots.

Quick Reference

Quadratic Formula
x = (-b ± √(b²-4ac)) / 2a
Discriminant
D = b² - 4ac
Determines root type
D > 0
Two real roots
D = 0
One repeated root
D < 0
Two complex roots

Solution

Calculated
Discriminant (D)
0
b² - 4ac
Root x₁
0
First solution
Root x₂
0
Second solution
Your Equation
ax² + bx + c = 0

Key Takeaways

  • A quadratic equation has the form ax² + bx + c = 0 where a ≠ 0
  • The quadratic formula x = (-b ± √(b²-4ac)) / 2a solves any quadratic equation
  • The discriminant D = b² - 4ac determines the nature of roots
  • Two real roots when D > 0, one repeated root when D = 0, complex roots when D < 0
  • Quadratic equations model real-world phenomena like projectile motion, profit optimization, and area calculations

What Is a Quadratic Equation? A Complete Explanation

A quadratic equation is a second-degree polynomial equation in a single variable x, with the general form ax² + bx + c = 0, where a, b, and c are constants and a ≠ 0. The term "quadratic" comes from the Latin word "quadratus" meaning "square," referring to the x² term which gives the equation its distinctive parabolic shape when graphed.

Quadratic equations are fundamental in algebra and appear throughout mathematics, physics, engineering, economics, and countless real-world applications. From calculating the trajectory of a ball to optimizing business profits, understanding quadratic equations opens doors to solving complex problems that would otherwise seem impossible.

The three coefficients in a quadratic equation each play a crucial role: a (the leading coefficient) determines the parabola's direction and width, b affects the parabola's horizontal position and symmetry, and c represents the y-intercept where the parabola crosses the vertical axis.

The Quadratic Formula Explained Step by Step

x = (-b ± √(b² - 4ac)) / 2a
a = coefficient of x²
b = coefficient of x
c = constant term
± = gives both solutions

The quadratic formula is derived by completing the square on the general quadratic equation. This powerful formula works for every quadratic equation, whether it has real or complex solutions. The ± symbol indicates that we get two values: one using addition and one using subtraction, giving us both roots of the equation.

Understanding the Discriminant

The expression under the square root, b² - 4ac, is called the discriminant (often denoted as D or Δ). This single value tells us everything about the nature of our solutions:

  • D > 0 (Positive): Two distinct real roots - the parabola crosses the x-axis at two points
  • D = 0 (Zero): One repeated real root - the parabola touches the x-axis at exactly one point (vertex)
  • D < 0 (Negative): Two complex conjugate roots - the parabola never crosses the x-axis

Example: Solving 2x² - 5x + 2 = 0

a 2
b -5
c 2
Discriminant 9

D = (-5)² - 4(2)(2) = 25 - 16 = 9 > 0, so we have two real roots: x₁ = 2 and x₂ = 0.5

How to Solve a Quadratic Equation (Step-by-Step)

1

Write in Standard Form

Rearrange the equation into the form ax² + bx + c = 0. Move all terms to one side and identify the coefficients a, b, and c.

2

Calculate the Discriminant

Compute D = b² - 4ac. This tells you how many real solutions exist and whether you'll need to work with complex numbers.

3

Apply the Quadratic Formula

Substitute a, b, c, and √D into x = (-b ± √D) / 2a. Compute both the addition (+) and subtraction (-) cases.

4

Simplify Your Answers

Reduce fractions and simplify radicals where possible. Verify by substituting your answers back into the original equation.

5

Verify Your Solution

Plug each root back into the original equation to confirm both satisfy ax² + bx + c = 0.

4 Methods to Solve Quadratic Equations

While the quadratic formula works for all quadratic equations, there are several methods to choose from depending on the specific equation:

1. Factoring Method

Best for simple equations where factors are integers. Find two numbers that multiply to give ac and add to give b, then factor the expression. For example, x² - 5x + 6 = 0 factors to (x - 2)(x - 3) = 0, giving solutions x = 2 and x = 3.

2. Completing the Square

Transform the equation into a perfect square trinomial. This method is how the quadratic formula itself was derived. Add and subtract (b/2a)² to create a perfect square on the left side.

3. Quadratic Formula

The universal method that works for every quadratic equation. Always reliable, though sometimes more computation than necessary for simple cases.

4. Graphing Method

Plot the parabola y = ax² + bx + c and find where it crosses the x-axis. Useful for visualization and approximations, but less precise than algebraic methods.

Pro Tip: Choosing the Right Method

Try factoring first for simple integer coefficients. Use completing the square when a = 1 and b is even. Default to the quadratic formula when factoring isn't obvious - it's never wrong and often faster than searching for factors that may not exist.

Real-World Applications of Quadratic Equations

Quadratic equations appear everywhere in science, engineering, business, and daily life. Here are some practical applications:

Physics: Projectile Motion

The height of a thrown ball follows the equation h(t) = -16t² + v₀t + h₀, where v₀ is initial velocity and h₀ is initial height. Solving this quadratic tells us when the ball hits the ground and its maximum height.

Business: Profit Optimization

Revenue and cost functions often combine to create quadratic profit equations. Finding the vertex gives the price point or production quantity that maximizes profit.

Architecture: Parabolic Structures

Suspension bridges, satellite dishes, and arches follow parabolic curves described by quadratic equations. Engineers use these equations to calculate loads and dimensions.

Finance: Investment Growth

Certain compound interest scenarios and break-even analyses require solving quadratic equations to find the time or rate that achieves a financial goal.

Mathematical Insight

Every quadratic equation represents a parabola when graphed. The axis of symmetry passes through x = -b/(2a), and the vertex (maximum or minimum point) occurs at this x-value. This geometric understanding helps visualize solutions and verify answers.

Common Mistakes to Avoid

When solving quadratic equations, watch out for these frequent errors:

Watch Out For These Errors

1. Sign errors: Be careful with negative coefficients, especially when computing b² and -4ac.
2. Forgetting ± : The quadratic formula has TWO solutions - don't stop at just one.
3. Division errors: Divide the ENTIRE numerator by 2a, not just part of it.
4. Assuming a = 1: Always identify all three coefficients, even when a isn't 1.
5. Not verifying: Always check your answers by substitution.

Working with Complex Roots

When the discriminant is negative, we enter the realm of complex numbers. The square root of a negative number introduces the imaginary unit i, where i² = -1.

For example, solving x² + 4 = 0 gives x² = -4, so x = ±√(-4) = ±2i. These complex roots always come in conjugate pairs: if a + bi is a root, then a - bi is also a root.

Complex roots have important applications in electrical engineering (AC circuits), signal processing, quantum mechanics, and control systems. The imaginary component represents phase shifts and oscillations in these applications.

Comparison of Solution Methods

Method Best For Difficulty Always Works?
Factoring Simple integer coefficients Easy No
Completing the Square When a=1, b is even Medium Yes
Quadratic Formula Any quadratic equation Medium Yes
Graphing Visual understanding Easy Approximate only

Advanced Concepts: Vieta's Formulas

Vieta's formulas provide elegant relationships between roots and coefficients without actually solving the equation:

For ax² + bx + c = 0 with roots r and s:

  • Sum of roots: r + s = -b/a
  • Product of roots: r × s = c/a

These relationships are useful for checking answers, constructing equations with desired roots, and solving systems of equations involving symmetric functions of roots.

Vieta's Formulas Example

For 2x² - 5x + 2 = 0 with roots x = 2 and x = 0.5:

Sum 2 + 0.5 = 2.5
Check: -b/a 5/2 = 2.5 ✓
Product 2 × 0.5 = 1
Check: c/a 2/2 = 1 ✓

Vertex Form of Quadratic Equations

The vertex form y = a(x - h)² + k directly shows the vertex (h, k) of the parabola. Converting from standard form helps visualize the equation and find maximum/minimum values:

  • h = -b/(2a) - the x-coordinate of the vertex
  • k = c - b²/(4a) - the y-coordinate of the vertex (the minimum or maximum value)

The vertex form is particularly useful in optimization problems where you need to find the maximum or minimum value of a quadratic function.

Frequently Asked Questions

A quadratic equation is a polynomial equation of degree 2 in the form ax² + bx + c = 0, where a, b, and c are constants and a ≠ 0. The highest power of the variable x is 2, which gives the equation its "quadratic" name (from the Latin "quadratus" meaning square).

If a = 0, the x² term disappears, and the equation becomes bx + c = 0, which is a linear equation, not quadratic. The x² term is what makes the equation quadratic and gives its graph the characteristic parabola shape.

The discriminant D = b² - 4ac determines the nature of solutions: if D > 0, there are two distinct real roots; if D = 0, there is exactly one repeated real root; if D < 0, there are two complex conjugate roots (no real solutions). This helps predict the answer type before calculating.

Yes! Every quadratic equation has exactly two solutions (counting multiplicity). The quadratic formula will always produce the solutions, whether they are real numbers, repeated roots, or complex numbers. No quadratic equation is "unsolvable."

Try factoring first when coefficients are small integers and you can spot the factors quickly (usually within 30 seconds). Use the quadratic formula when factoring isn't obvious, when dealing with decimals or fractions, or when you need guaranteed accuracy. The formula always works and is often faster than searching for elusive factors.

Complex roots occur when the discriminant is negative, requiring the square root of a negative number. These roots involve the imaginary unit i (where i² = -1) and come in conjugate pairs like 2 + 3i and 2 - 3i. Complex roots mean the parabola doesn't cross the x-axis.

Substitute each root back into the original equation. If x = r is a solution, then ar² + br + c should equal zero. You can also check using Vieta's formulas: the sum of roots should equal -b/a and the product should equal c/a.

Quadratic equations model projectile motion (throwing a ball), area calculations, profit optimization, population growth, electrical circuits, structural engineering (bridges and arches), stopping distances, and many physics problems. Any scenario where a quantity depends on the square of another often involves quadratics.