solve x^2+x-6=0
Let's solve in ℝ: x2 + x -6 = 0
Given the quadratic form ax2 + bx + c, let's compute the discriminant: Δ = b2 -4ac. Here a = 1, b = 1 and c = -6
Δ = 1 -4·1·(-6)
Δ = 1 -4·(-6)
ⓘ Multiplications are done before additions and subtractions. Two minus signs cancel out, the product of two negative numbers is positive: -4·(-6) = 24
Δ = 1 + 24
ⓘ Start from 1 and move forward 24 on the number line: 1 + 24 = 25
Δ = 25
As Δ > 0, the equation has two roots:
The quadratic formula gives x1 = -b -Δ2a = -1 -252·1
x1 = -1 -252
ⓘ The square root of a number is the positive number whose square is that number: 25 = 5; 52 = 25
x1 = -1 -52
ⓘ The numerator and the denominator are computed before the division: -1 -5 = -6
x1 = -62
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: -62 = -3
x1 = -3
The quadratic formula gives x2 = -b + Δ2a = -1 + 252·1
x2 = -1 + 252
ⓘ The square root of a number is the positive number whose square is that number: 25 = 5; 52 = 25
x2 = -1 + 52
ⓘ The numerator and the denominator are computed before the division: -1 + 5 = 4
x2 = 42
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 42 = 2
x2 = 2
▶Solutions obtained: x = { -3, 2 }