solve x^2-5x+6=0
Let's solve in ℝ: x2 -5x + 6 = 0
Given the quadratic form ax2 + bx + c, you can calculate the discriminant: Δ = b2 -4ac. Here a = 1, b = -5 and c = 6
Δ = (-5)2 -4·1·6
ⓘ Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: (-5)2 = (-5)·(-5) = 25
Δ = 25 -4·6
ⓘ Multiplications are done before additions and subtractions: 4·6 = 24
Δ = 25 -24
ⓘ Start from 25 and move back 24 on the number line: 25 -24 = 1
Δ = 1
As Δ > 0, the equation has two roots:
The quadratic formula gives x1 = -b -Δ2a = -(-5) -12·1
x1 = 5 -12
ⓘ The numerator and the denominator are computed before the division: 5 -1 = 4
x1 = 42
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 42 = 2
x1 = 2
The quadratic formula gives x2 = -b + Δ2a = -(-5) + 12·1
x2 = 5 + 12
ⓘ The numerator and the denominator are computed before the division: 5 + 1 = 6
x2 = 62
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 62 = 3
x2 = 3
▶Solutions obtained: x = { 2, 3 }