ALGEBRAAlgebraMathematics Calculator

Quadratic Formula

x = (−b ± √(b²−4ac))/(2a) solves ax²+bx+c=0. Discriminant Δ=b²−4ac: positive → two real roots, zero → one (double) root, negative → two complex conjugate roots.

Concept Fundamentals
x=(−b±√Δ)/(2a)
Formula
Two real roots
Δ>0
One double root
Δ=0
Two complex
Δ<0

Did our AI summary help? Let us know.

Formula works for all quadratics — always gives correct roots. When Δ<0, roots are (−b±i√|Δ|)/(2a) — complex conjugates. Common mistake: forgetting the ± gives only one root.

Key quantities
x=(−b±√Δ)/(2a)
Formula
Key relation
Two real roots
Δ>0
Key relation
One double root
Δ=0
Key relation
Two complex
Δ<0
Key relation

Ready to run the numbers?

Why: The quadratic formula solves any quadratic equation — no factoring or guessing. Derived by completing the square. Works for real and complex roots. Foundational in algebra and applied math.

How: Step 1: Identify a, b, c. Step 2: Compute Δ=b²−4ac. Step 3: √Δ (real if Δ≥0, i√|Δ| if Δ<0). Step 4: x=(−b±√Δ)/(2a). Simplify radicals. Decimal: approximate.

Formula works for all quadratics — always gives correct roots.When Δ<0, roots are (−b±i√|Δ|)/(2a) — complex conjugates.

Run the calculator when you are ready.

Apply Quadratic FormulaExact, decimal, complex

📐 Examples — Click to Load

Coefficients: ax² + bx + c = 0

quadratic_formula.sh
CALCULATED
x₁
4
x₂
3
Δ
1
Radical form
(--7 ± 1) / 2
x₁ (decimal)
4
x₂ (decimal)
3
Share:

Formula Components (-b, √Δ, 2a)

Formula Breakdown

Step 1: Identify coefficients a = 1, b = -7, c = 12
Step 2: Discriminant Δ = b² - 4ac = -7² - 4(1)(12) = 49 - 48 = 1
Step 3: -b = 7, 2a = 2
Step 4: Δ > 0 → Two real roots
x₁ = (7 + √1) / 2 = 4
x₂ = (7 - √1) / 2 = 3

For educational and informational purposes only. Verify with a qualified professional.

🧮 Fascinating Math Facts

📐

x²−2=0: Δ=8, x=±√2. x²+1=0: Δ=−4, x=±i.

— Examples

Formula derived by completing the square on ax²+bx+c=0.

— Derivation

📋 Step-by-Step Formula Application

For ax² + bx + c = 0: (1) Identify a, b, c. (2) Compute Δ = b² - 4ac. (3) Substitute into x = (-b ± √Δ)/(2a). (4) Use + for x₁ and - for x₂. Simplify radicals when possible.

🔀 When Formula vs Factoring

Use factoring when the quadratic has nice integer roots (e.g. x²-5x+6 = (x-2)(x-3)).Use the formula when factoring is difficult (irrational roots, large coefficients, or when you need a guaranteed method). The formula always works for any quadratic with a ≠ 0.

📜 History

Babylonians (c. 2000 BCE) solved specific quadratic problems. al-Khwarizmi (9th century) gave systematic algebraic methods in his book "Al-Kitab al-Mukhtasar fi Hisab al-Jabr wal-Muqabala" (the origin of algebra). The modern formula x = (-b ± √(b²-4ac))/(2a) was derived by completing the square.

⚠️ Common Mistakes

  • Forgetting the ± — there are two roots: one with + and one with -.
  • Wrong sign on b: the formula uses -b, so if b is negative, -b is positive.
  • Dividing only the √Δ by 2a: the entire numerator (-b ± √Δ) is divided by 2a.
  • When Δ < 0, writing √Δ as a real number — use i√|Δ| for complex roots.
  • Not simplifying radicals: e.g. √8 = 2√2.

📐 Graphical Interpretation

The roots are the x-intercepts of the parabola y = ax² + bx + c. When Δ > 0, the parabola crosses the x-axis twice. When Δ = 0, it touches at the vertex. When Δ < 0, there are no real x-intercepts (the parabola stays above or below the axis).

🔢 Exact vs Decimal

Exact form keeps radicals (e.g. (3 + √5)/2) for precision. Decimal form gives approximate values. Use exact when the result is used in further algebra; use decimal for practical applications.

❓ FAQ

What is the quadratic formula?

x = (-b ± √(b²-4ac))/(2a). It gives both roots of ax²+bx+c=0 in one expression.

Why does the formula always work?

It is derived by completing the square on ax²+bx+c=0. The derivation is valid for any a≠0, b, c.

When do I get complex roots?

When Δ = b²-4ac < 0. Then √Δ = i√|Δ|, and the roots are (-b ± i√|Δ|)/(2a).

How do I simplify √(b²-4ac)?

Factor out perfect squares: e.g. √12 = 2√3. The calculator shows simplified radical form when possible.

Who invented the quadratic formula?

Ancient Babylonians solved specific cases. al-Khwarizmi (9th century) gave systematic methods. The modern form came from completing the square.

📝 Worked Examples

Example 1: x²-7x+12=0 — a=1, b=-7, c=12. Δ=49-48=1. x = (7±1)/2 → x₁=4, x₂=3.
Example 2: x²+x+1=0 — Δ = 1-4 = -3. x = (-1 ± i√3)/2. Complex conjugate roots.
Example 3: 4x²-4x+1=0 — Δ = 16-16 = 0. x = 4/8 = 1/2. Repeated root (perfect square).

📌 Summary

The quadratic formula x = (-b ± √(b²-4ac))/(2a) solves any quadratic equation. Compute the discriminant first to know if roots are real or complex. Use exact form for algebra, decimal for applications. The formula is derived by completing the square and always works when a≠0.

👈 START HERE
⬅️Jump in and explore the concept!
AI

Related Calculators

Discriminant Calculator

Calculate the discriminant Δ = b²-4ac for quadratic equations ax²+bx+c=0. Determine nature of roots: two distinct real, one repeated, or two complex...

Mathematics

Polynomial Root Calculator

Find real and complex roots of polynomials up to degree 4. Uses quadratic formula for exact solutions, numerical methods for cubic and quartic. Includes rational root theorem, Descartes' rule of signs, multiplicity, and upper/lower bounds. Bar and doughnut charts for root visualization.

Mathematics

Completing the Square Calculator

Convert quadratic expressions from standard form ax²+bx+c to vertex form a(x-h)²+k. Find vertex, axis of symmetry, x-intercepts, and min/max values....

Mathematics

Cubic Equation Calculator

Solve cubic equations ax³+bx²+cx+d=0 using Cardano's formula. Find all roots (real and complex), discriminant analysis, Vieta's relations, depressed cubic form, and step-by-step solutions. Essential for polynomial theory, physics, and engineering applications.

Mathematics

Graphing Quadratic Inequalities Calculator

Solve and interpret quadratic inequalities ax²+bx+c < 0, > 0, ≤ 0, ≥ 0. Get solution intervals, roots, vertex, discriminant, sign chart, interval notation...

Mathematics

Quadratic Equation Calculator

Solve ax²+bx+c=0 with discriminant, roots (real or complex), vertex, axis of symmetry, factored form, and Vieta's formulas. Supports formula, completing the square, and factoring methods. Bar chart of coefficients and discriminant, doughnut showing real vs complex roots. Examples: x²-5x+6, projectile motion, golden ratio.

Mathematics