x^2+5x+1=-5
Let's solve in ℝ: x2 + 5x + 1 = -5
ⓘ We add 5 to both sides
x2 + 5x + 1 + 5 = 0
ⓘ Start from 1 and move forward 5 on the number line: 1 + 5 = 6
x2 + 5x + 6 = 0
Given the quadratic form ax2 + bx + c, let's compute the discriminant: Δ = b2 -4ac. Here a = 1, b = 5 and c = 6
Δ = 52 -4·1·6
ⓘ Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: 52 = 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
Since Δ > 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 = -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 = -5 + 12·1
x2 = -5 + 12
ⓘ The numerator and the denominator are computed before the division: -5 + 1 = -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 }