-x^2-3x=x^2-x-4
Let's solve in ℝ: -x2 -3x = x2 -x -4
-x2 -3x -x2 + x + 4 = 0
ⓘ Like terms are grouped by adding their coefficients: -x2 -x2 = -2x2, -3x + x = -2x
-2x2 -2x + 4 = 0
Since -2 ≠ 0, divide both sides by -2: x2 + x -2 = 0
Given the quadratic form ax2 + bx + c, you can calculate the discriminant: Δ = b2 -4ac. Here a = 1, b = 1 and c = -2
Δ = 1 -4·1·(-2)
Δ = 1 -4·(-2)
ⓘ Multiplications are done before additions and subtractions. Two minus signs cancel out, the product of two negative numbers is positive: -4·(-2) = 8
Δ = 1 + 8
ⓘ Start from 1 and move forward 8 on the number line: 1 + 8 = 9
Δ = 9
As Δ > 0, the equation has two roots:
The quadratic formula gives x1 = -b -Δ2a = -1 -92·1
x1 = -1 -92
ⓘ The square root of a number is the positive number whose square is that number: 9 = 3; 32 = 9
x1 = -1 -32
ⓘ The numerator and the denominator are computed before the division: -1 -3 = -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 = -1 + 92·1
x2 = -1 + 92
ⓘ The square root of a number is the positive number whose square is that number: 9 = 3; 32 = 9
x2 = -1 + 32
ⓘ The numerator and the denominator are computed before the division: -1 + 3 = 2
x2 = 22
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 22 = 1
x2 = 1
▶Solutions found: x = { -2, 1 }