How to Calculate Quadratic
What is Quadratic?
The quadratic formula solves any equation ax² + bx + c = 0. The discriminant b²−4ac tells you how many real solutions exist before you solve.
Step-by-Step Guide
- 1Write in standard form: ax² + bx + c = 0
- 2Calculate discriminant: Δ = b² − 4ac
- 3Δ > 0: two real roots; Δ = 0: one root; Δ < 0: complex roots
- 4Apply: x = (−b ± √Δ) / 2a
Worked Examples
Input
x²−5x+6=0
Result
x=3 or x=2
Δ=1>0, two roots
Input
x²−2x+1=0
Result
x=1 (repeated)
Δ=0, one root
Input
x²+x+1=0
Result
Complex roots
Δ=−3<0