Quadratic Equation Calculator

Quadratic Equation Calculator

Solve quadratic equations of the form ax² + bx + c = 0

Cannot be zero

Linear term

Constant term

Current Equation:

- 5x + 6 = 0

Quadratic Equation Calculator: Complete Guide

A quadratic equation has the standard form ax² + bx + c = 0, where a ≠ 0.Quadratic equations are fundamental in algebra and appear throughout mathematics, physics, engineering, and many real-world applications. They describe parabolic relationships and are essential for optimization problems, projectile motion, and curve fitting.

Quick Answer

To solve a quadratic equation: Enter coefficients a, b, and c for ax² + bx + c = 0. The calculator uses the quadratic formula x = (-b ± √(b²-4ac))/2a to find roots, analyzes the discriminant to determine the nature of solutions, and provides vertex form and graphing information.

Was this helpful?Feedback

Mathematical Foundation

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

The quadratic formula - the universal method for solving ax² + bx + c = 0

Key Concepts:

Standard Form

ax² + bx + c = 0 where a, b, c are constants and a ≠ 0. The coefficient 'a' determines the parabola's direction (upward if a > 0, downward if a < 0) and width.

Discriminant

Δ = b² - 4ac determines the nature of roots: Δ > 0 (two real roots), Δ = 0 (one repeated root), Δ < 0 (two complex roots). The discriminant also indicates if the parabola intersects the x-axis.

Vertex Form

y = a(x - h)² + k where (h,k) is the vertex. This form clearly shows the parabola's turning point and makes it easy to identify the axis of symmetry x = h and the maximum or minimum value k.

Methods for Solving Quadratic Equations

Quadratic Formula (Universal Method)

Works for all quadratic equations, regardless of factorability.

x = (-b ± √(b²-4ac)) / 2a
Best for: Any quadratic equation, especially when factoring is difficult
Advantage: Always works, provides exact answers

Factoring Method

Express as (px + q)(rx + s) = 0, then use zero product property.

ax² + bx + c = (mx + n)(px + q) = 0
Best for: Equations with integer or simple fraction coefficients
Advantage: Fast and intuitive when factors are obvious

Completing the Square

Transform to (x + d)² = e form, then take square roots.

x² + bx = -(c/a) → (x + b/2)² = (b/2)² - c/a
Best for: Converting to vertex form, understanding parabola geometry
Advantage: Reveals vertex and provides geometric insight

Applications of Quadratic Equations

Physics & Engineering

Projectile Motion

Height equation: h(t) = -16t² + v₀t + h₀ for objects under gravity

Optimization Problems

Maximize/minimize area, volume, profit using parabolic relationships

Electrical Circuits

AC circuit analysis, resonance frequency calculations

Structural Design

Beam deflection, arch design, suspension bridge calculations

Business & Economics

Profit Maximization

Revenue R = px, Cost C = ax² + bx + c, find optimal production level

Break-even Analysis

Find production levels where total revenue equals total cost

Supply and Demand

Model market equilibrium with quadratic supply/demand curves

Investment Growth

Compound interest models, portfolio optimization problems

Example Problems with Solutions

Example 1: Solving by Quadratic Formula

Solve: 2x² - 7x + 3 = 0

a = 2, b = -7, c = 3
Discriminant: Δ = b² - 4ac = (-7)² - 4(2)(3) = 49 - 24 = 25
√Δ = √25 = 5
x = (7 ± 5) / 4
x₁ = (7 + 5) / 4 = 12/4 = 3
x₂ = (7 - 5) / 4 = 2/4 = 1/2

Answer: x = 3 or x = 1/2

Example 2: Factoring Method

Solve: x² - 5x + 6 = 0

Look for factors of 6 that add to -5: -2 and -3
x² - 5x + 6 = (x - 2)(x - 3) = 0
Using zero product property:
x - 2 = 0 → x = 2
x - 3 = 0 → x = 3

Answer: x = 2 or x = 3

Example 3: Projectile Motion Application

A ball is thrown upward with initial velocity 64 ft/s from height 6 ft. When does it hit the ground? (Use h(t) = -16t² + 64t + 6)

Set h(t) = 0: -16t² + 64t + 6 = 0
Divide by -2: 8t² - 32t - 3 = 0
a = 8, b = -32, c = -3
Δ = (-32)² - 4(8)(-3) = 1024 + 96 = 1120
t = (32 ± √1120) / 16 = (32 ± 33.47) / 16
t₁ = 4.09 seconds (valid), t₂ = -0.09 (invalid)

Answer: The ball hits the ground after approximately 4.09 seconds

Understanding the Discriminant

Δ > 0: Two Real Roots

The parabola crosses the x-axis at two distinct points.

x₁ = (-b + √Δ) / 2a
x₂ = (-b - √Δ) / 2a
Example: x² - 3x + 2 = 0
Δ = 9 - 8 = 1 > 0

Δ = 0: One Real Root

The parabola touches the x-axis at exactly one point (vertex).

x = -b / 2a
(repeated root)
Example: x² - 4x + 4 = 0
Δ = 16 - 16 = 0

Δ < 0: No Real Roots

The parabola doesn't intersect the x-axis. Roots are complex.

x = (-b ± i√|Δ|) / 2a
(complex conjugates)
Example: x² + x + 1 = 0
Δ = 1 - 4 = -3 < 0

Vertex Form and Graph Analysis

Finding the Vertex

The vertex (h,k) is the turning point of the parabola.

h = -b / 2a (x-coordinate)
k = f(h) = ah² + bh + c (y-coordinate)
Vertex form: y = a(x - h)² + k

Graph Characteristics

Direction: Opens up if a > 0, down if a < 0
Width: Narrower if |a| > 1, wider if |a| < 1
Axis of symmetry: x = h = -b/2a
Y-intercept: (0, c)
Domain: All real numbers
Range: [k, ∞) if a > 0, (-∞, k] if a < 0

Calculator Input Guide

Coefficient Entry

Standard form:ax² + bx + c = 0
Coefficient a:Cannot be zero
Coefficient b:Can be positive, negative, or zero
Coefficient c:Can be positive, negative, or zero
Decimal support:a = 1.5, b = -2.7, c = 0.8

Common Formats

Missing terms: x² + 5 → a=1, b=0, c=5
No constant: 3x² - 2x → a=3, b=-2, c=0
Negative leading: -x² + 4x - 1 → a=-1, b=4, c=-1
Fractions: ½x² - ¾x + ⅓ → a=0.5, b=-0.75, c=0.333
Perfect squares: (x-3)² → x²-6x+9 → a=1, b=-6, c=9

Important Notes

  • • The coefficient 'a' must be non-zero (otherwise it's not quadratic)
  • • Use negative signs for coefficients, not within the input fields
  • • Decimal coefficients are fully supported for precision
  • • The calculator automatically determines the best solution method
  • • Complex roots are displayed when discriminant is negative

Common Mistakes and Solutions

Common Errors

  • Sign errors: Incorrectly handling negative coefficients
  • Discriminant calculation: Arithmetic mistakes in b²-4ac
  • Order of operations: Incorrect precedence in formula
  • Incomplete solutions: Finding only one root when two exist

Best Practices

  • Double-check coefficient signs and values
  • Verify discriminant calculation step by step
  • Check answers by substituting back into original equation
  • Use multiple solution methods to verify results

Frequently Asked Questions

What makes an equation quadratic?

A quadratic equation must have the form ax² + bx + c = 0 where 'a' is not zero. The highest power of the variable is 2 (squared term). If a = 0, the equation becomes linear (bx + c = 0). The presence of the x² term is what makes it quadratic, regardless of whether the other terms are present.

Why does the quadratic formula always work?

The quadratic formula is derived by completing the square on the general form ax² + bx + c = 0. This algebraic manipulation is always valid (when a ≠ 0), making the formula universal. Other methods like factoring only work when the equation has nice integer factors, but the quadratic formula handles all cases, including those with irrational or complex roots.

What does it mean when the discriminant is negative?

When Δ = b² - 4ac < 0, the quadratic equation has no real solutions. Instead, it has two complex conjugate roots of the form x = p ± qi, where i = √(-1). Geometrically, this means the parabola doesn't cross the x-axis. The complex roots are still mathematically valid and important in advanced applications.

How is the vertex related to the roots?

The vertex x-coordinate h = -b/2a is always exactly halfway between the two roots (when they exist). If the roots are x₁ and x₂, then h = (x₁ + x₂)/2. The vertex represents the maximum or minimum value of the quadratic function, and its x-coordinate is the axis of symmetry of the parabola.

When should I use factoring vs. the quadratic formula?

Use factoring when the equation has obvious integer factors or when coefficients are small integers. Use the quadratic formula when factoring isn't obvious, when dealing with decimal coefficients, or when you need exact answers. For learning purposes, try factoring first, but use the formula as a reliable backup. The formula is also preferred for verifying factored solutions.

Can a quadratic equation have more than two solutions?

No, a quadratic equation can have at most two solutions. This is because the degree of the polynomial (highest power) determines the maximum number of roots. A quadratic (degree 2) has exactly 2 roots when Δ > 0, exactly 1 repeated root when Δ = 0, and 0 real roots (but 2 complex roots) when Δ < 0. This is guaranteed by the Fundamental Theorem of Algebra.

How accurate are decimal approximations of roots?

The calculator provides high precision decimal approximations typically accurate to 10+ decimal places. For exact results involving square roots (like √5 or √13), the calculator shows both the exact form and decimal approximation. When discriminants are perfect squares, the roots are exactly rational and no approximation is needed. For most practical applications, the decimal precision is more than sufficient.

Advanced Topics in Quadratic Equations

Vieta's Formulas

Relationship between coefficients and roots without solving the equation:

Sum of roots: x₁ + x₂ = -b/a
Product of roots: x₁ × x₂ = c/a

Useful for checking solutions and constructing equations from known roots.

Nature of Roots Analysis

Beyond just counting roots, analyze their properties:

Rational roots: Δ is a perfect square
Irrational roots: Δ > 0 but not perfect square
Complex roots: Δ < 0, always conjugate pairs
Equal roots: Δ = 0, vertex touches x-axis

Quadratic Inequalities

Solving ax² + bx + c > 0 or ax² + bx + c < 0:

1. Find roots of ax² + bx + c = 0
2. Plot parabola direction (a > 0 opens up)
3. Test intervals between roots
4. Include/exclude endpoints based on inequality

Related Mathematical Tools