Quadratic Formula Calculator

Complete algebra guide • Step-by-step solutions

\( x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \)

This formula provides the exact solutions for any quadratic equation of the form \( ax^2 + bx + c = 0 \), where \( a \neq 0 \). The symbol \( \pm \) indicates that there are usually two possible solutions, corresponding to the positive and negative square roots.

The term under the square root, \( b^2 - 4ac \), is called the discriminant:

  • If \( b^2 - 4ac > 0 \), there are two distinct real solutions.
  • If \( b^2 - 4ac = 0 \), there is exactly one real solution (a repeated root).
  • If \( b^2 - 4ac < 0 \), the solutions are complex numbers (no real roots).

Use this formula whenever factoring is difficult or impossible, or when you need a reliable method to find all roots of the quadratic equation accurately. It works for both simple and complicated coefficients, making it a universal tool in algebra, engineering, and physics problems.

Quadratic Formula Explained

What is a Quadratic Equation?

A quadratic equation is a polynomial equation of degree 2, written in the standard form: ax² + bx + c = 0, where a ≠ 0. The graph of a quadratic equation is a parabola, which can open upward or downward depending on the sign of the coefficient 'a'. Quadratic equations have at most two real roots (solutions) and are fundamental in algebra and many real-world applications.

The Quadratic Formula

The quadratic formula provides the exact solutions to any quadratic equation:

\(x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}\)

Where:

  • \(x\) = the variable we're solving for
  • \(a\) = coefficient of x² (must be non-zero)
  • \(b\) = coefficient of x
  • \(c\) = constant term

Discriminant Analysis
1
Discriminant: The expression under the square root, D = b² - 4ac, determines the nature of the roots.
2
D > 0: Two distinct real roots exist.
3
D = 0: One repeated real root exists (perfect square).
4
D < 0: Two complex conjugate roots exist (no real solutions).
Parabola Properties

Key characteristics of quadratic functions:

  • Vertex: The highest or lowest point of the parabola, located at \((-b/2a, f(-b/2a))\)
  • Axis of Symmetry: Vertical line x = -b/2a passing through the vertex
  • Y-intercept: Point (0, c) where the parabola crosses the y-axis
  • X-intercepts: Points where the parabola crosses the x-axis (the roots)
Solution Methods
  • Quadratic Formula: Universal method that works for all quadratics
  • Factoring: Efficient when the quadratic can be easily factored
  • Completing the Square: Alternative method that reveals vertex form
  • Graphing: Visual approach to approximate solutions

Quadratic Formula Learning Quiz

Question 1: Multiple Choice - Discriminant Understanding

For the equation 2x² - 4x + 1 = 0, what is the discriminant and how many real solutions does it have?

Solution:

Using the discriminant formula D = b² - 4ac, where a = 2, b = -4, c = 1:

D = (-4)² - 4(2)(1) = 16 - 8 = 8

Since D > 0, there are two distinct real solutions. The answer is A) D = 8, two real solutions.

Pedagogical Explanation:

Understanding the discriminant is crucial because it tells us about the nature of solutions without actually solving the equation. A positive discriminant means the parabola crosses the x-axis at two points, resulting in two real roots. The discriminant also appears in the quadratic formula under the square root, so its value directly affects the solutions.

Key Definitions:

Discriminant: The expression b² - 4ac that determines the nature of roots

Real Solutions: Solutions that are real numbers (not complex)

Distinct Roots: Two different real solutions

Important Rules:

• D > 0 → Two distinct real roots

• D = 0 → One repeated real root

• D < 0 → Two complex roots (no real solutions)

Tips & Tricks:

• Remember: D = b² - 4ac (the part under the radical)

• Positive discriminant → Two real roots

• Zero discriminant → One real root

Common Mistakes:

• Forgetting to square the 'b' coefficient correctly

• Mixing up the signs when substituting negative coefficients

• Confusing discriminant value with the actual roots

Question 2: Short Answer - Vertex Calculation

Find the vertex of the parabola defined by y = x² - 6x + 8. Show your work.

Solution:

For a quadratic in the form y = ax² + bx + c, the x-coordinate of the vertex is given by x = -b/2a.

Given: a = 1, b = -6, c = 8

Step 1: Find x-coordinate: x = -(-6)/(2×1) = 6/2 = 3

Step 2: Find y-coordinate by substituting x = 3 into the equation:

y = (3)² - 6(3) + 8 = 9 - 18 + 8 = -1

Therefore, the vertex is at (3, -1).

Pedagogical Explanation:

The vertex represents the minimum or maximum point of the parabola. Since a = 1 > 0 in this equation, the parabola opens upward, making the vertex the minimum point. The vertex formula x = -b/2a comes from completing the square, which transforms the standard form into vertex form: y = a(x - h)² + k, where (h,k) is the vertex.

Key Definitions:

Vertex: The highest or lowest point on a parabola

Axis of Symmetry: The vertical line passing through the vertex

Minimum/Maximum: The y-value at the vertex (minimum if a > 0, maximum if a < 0)

Important Rules:

• x-coordinate of vertex: x = -b/2a

• If a > 0, parabola opens up (vertex is minimum)

• If a < 0, parabola opens down (vertex is maximum)

Tips & Tricks:

• Remember: x = -b/(2a) - don't forget the negative sign!

• Always substitute the x-value back into the equation to find y

• The vertex is useful for graphing and optimization problems

Common Mistakes:

• Forgetting the negative sign in -b/2a

• Not substituting the x-value back to find the y-coordinate

• Confusing vertex with y-intercept

Question 3: Word Problem - Real-World Application

A ball is thrown upward from a height of 5 feet with an initial velocity of 32 ft/sec. Its height after t seconds is given by h(t) = -16t² + 32t + 5. When does the ball reach its maximum height, and what is that height?

Solution:

Step 1: Identify coefficients in h(t) = -16t² + 32t + 5: a = -16, b = 32, c = 5

Step 2: Find the time at maximum height using t = -b/2a:

t = -32/(2×(-16)) = -32/(-32) = 1 second

Step 3: Find maximum height by substituting t = 1:

h(1) = -16(1)² + 32(1) + 5 = -16 + 32 + 5 = 21 feet

Therefore, the ball reaches its maximum height of 21 feet after 1 second.

Pedagogical Explanation:

This is a classic projectile motion problem. The negative coefficient of t² (-16) indicates gravity is pulling the ball down, causing the parabola to open downward. The vertex gives us the maximum height since the parabola opens downward. This demonstrates how quadratic equations model real-world phenomena like projectile motion.

Key Definitions:

Projectile Motion: Motion of an object under gravity's influence

Initial Velocity: Speed and direction of the object at launch

Maximum Height: Highest point reached in the trajectory

Important Rules:

• Projectile motion follows a quadratic path

• Maximum height occurs at the vertex of the parabola

• Gravity causes downward acceleration (negative coefficient)

Tips & Tricks:

• Look for the vertex when finding maximum/minimum values

• Negative coefficient of t² means downward opening parabola

• Time is usually the independent variable in motion problems

Common Mistakes:

• Forgetting that the maximum occurs at the vertex

• Misidentifying the coefficients in the quadratic equation

• Not recognizing that projectile motion follows a parabolic path

Question 4: Application-Based Problem - Factoring vs Formula

Consider the equation x² - 5x + 6 = 0. Solve using the quadratic formula, then verify by factoring. Which method is more efficient for this equation?

Solution:

Using the quadratic formula with a = 1, b = -5, c = 6:

x = [-(-5) ± √((-5)² - 4(1)(6))] / (2×1)

x = [5 ± √(25 - 24)] / 2

x = [5 ± √1] / 2

x = (5 ± 1) / 2

So x₁ = (5 + 1)/2 = 3 and x₂ = (5 - 1)/2 = 2

Verifying by factoring: x² - 5x + 6 = (x - 3)(x - 2) = 0

This gives x = 3 or x = 2, confirming our results.

For this equation, factoring is more efficient since the factors are easily identifiable.

Pedagogical Explanation:

While the quadratic formula always works, other methods like factoring can be more efficient for certain equations. Factoring is ideal when the quadratic can be expressed as a product of binomials with integer coefficients. However, the quadratic formula is universal and necessary when factoring is difficult or impossible. The choice of method depends on the specific equation and context.

Key Definitions:

Universal Method: A technique that works for all cases of a problem type

Efficiency: How quickly and simply a method solves a problem

Factorization: Expressing a polynomial as a product of simpler polynomials

Important Rules:

• Quadratic formula works for all quadratic equations

• Factoring is efficient when factors are obvious

• Complex coefficients require the quadratic formula

Tips & Tricks:

• Try factoring first if coefficients are small integers

• Use the quadratic formula when factoring is difficult

• Always verify solutions by substitution

Common Mistakes:

• Using the quadratic formula when factoring would be simpler

• Forgetting to verify solutions after solving

• Making arithmetic errors in the quadratic formula

Question 5: Multiple Choice - Complex Solutions

For which of the following equations will the quadratic formula yield complex solutions?

Solution:

Complex solutions occur when the discriminant D = b² - 4ac < 0. Let's check each option:

A) D = (-4)² - 4(1)(4) = 16 - 16 = 0 (one real solution)

B) D = (-2)² - 4(1)(-8) = 4 + 32 = 36 (two real solutions)

C) D = (2)² - 4(1)(5) = 4 - 20 = -16 (complex solutions)

D) D = (-6)² - 4(1)(9) = 36 - 36 = 0 (one real solution)

The answer is C) x² + 2x + 5 = 0, which has D = -16 < 0.

Pedagogical Explanation:

Complex solutions arise when the discriminant is negative, meaning we're taking the square root of a negative number. This happens when the parabola doesn't intersect the x-axis. In the complex plane, these solutions still exist and follow the same mathematical rules. Understanding when complex solutions occur helps determine if a quadratic has real x-intercepts.

Key Definitions:

Complex Numbers: Numbers of the form a + bi, where i = √(-1)

Imaginary Unit: The symbol 'i' where i² = -1

Complex Conjugates: Pairs of complex numbers like a + bi and a - bi

Important Rules:

• D < 0 → Complex solutions

• Complex solutions come in conjugate pairs

• Parabola doesn't cross x-axis when D < 0

Tips & Tricks:

• Check the discriminant before solving to predict solution type

• Complex solutions are still valid mathematical answers

• Graphically, D < 0 means no x-intercepts

Common Mistakes:

• Assuming all quadratics have real solutions

• Trying to take the square root of a negative number without using complex numbers

• Not understanding that complex solutions are valid answers

Quadratic Fundamentals

Standard Form

ax² + bx + c = 0, where a ≠ 0.

Quadratic Formula

\(x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}\)

Where x = solutions, a,b,c = coefficients.

Key Rules:
  • a must be non-zero
  • Discriminant determines solution type
  • Two solutions possible

Applications

Parabola Properties

Vertex at (-b/2a, f(-b/2a)), axis of symmetry x = -b/2a.

Real-World Uses
  1. Projectile motion
  2. Profit maximization
  3. Area optimization
  4. Physics and engineering
Considerations:
  • Positive a opens upward
  • Negative a opens downward
  • Discriminant reveals solution nature
  • Vertex gives max/min value

FAQ

Q: Why does the quadratic formula include the ± sign?

A: The ± symbol in the quadratic formula represents the fact that most quadratic equations have two distinct solutions. A quadratic equation is any equation of the form ax² + bx + c = 0. When we solve it using the quadratic formula:

x = (-b ± √(b² - 4ac)) / 2a

The square root of the discriminant (√(b² - 4ac)) can produce both a positive and a negative value. The + gives one solution:

x₁ = (-b + √(b² - 4ac)) / 2a

And the gives the other:

x₂ = (-b - √(b² - 4ac)) / 2a

Thus, the ± ensures that both roots are captured, reflecting the symmetry of the parabola represented by the quadratic function. Even if the discriminant is zero (b² − 4ac = 0), the ± still mathematically accounts for two identical roots.

Q: When is it appropriate to use the quadratic formula instead of factoring?

A: The quadratic formula is a universal tool for solving any quadratic equation of the form ax² + bx + c = 0, regardless of whether the equation can be factored easily. While factoring works well when the roots are simple integers or rational numbers, many quadratics involve complex numbers or irrational roots, making factoring impractical.

By applying the quadratic formula:

x = (-b ± √(b² - 4ac)) / 2a

you can systematically find all solutions, including real and complex numbers. This makes it especially useful in engineering, physics, and applied mathematics problems where precise solutions are required. Essentially, whenever factoring is cumbersome, impossible, or when you want a guaranteed method to find the exact roots, the quadratic formula is the most reliable choice.

About

Math Team
This calculator was created with AI and may make errors. Consider checking important information. Updated: Jan 2026.