factor -x^2-5x+24
Let's factor in ℝ: -x2 -5x + 24
Given the quadratic form ax2 + bx + c, let's compute the discriminant: Δ = b2 -4ac. Here a = -1, b = -5 and c = 24
Δ = (-5)2 -4·(-1)·24
ⓘ Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: (-5)2 = (-5)·(-5) = 25■Multiplications are done before additions and subtractions. Two minus signs cancel out, the product of two negative numbers is positive: -4·(-1) = 4
Δ = 25 + 4·24
ⓘ Multiplications are done before additions and subtractions: 4·24 = 4·(20 + 4) = 4·20 + 4·4 = 80 + 16 = 96
Δ = 25 + 96
ⓘ Start from 25 and move forward 96 on the number line: 25 + 96 = 121
Δ = 121
As Δ > 0, the equation has two roots:
The quadratic formula gives x1 = -b -Δ2a = -(-5) -1212·(-1)
x1 = 5 -1212·(-1)
ⓘ The square root of a number is the positive number whose square is that number: 121 = 11; 112 = 121■A single minus sign does not cancel out, the product of a negative number by a positive number is negative: 2·(-1) = -2
x1 = 5 -11-2
ⓘ The sign of a fraction goes in front of the bar, whether it comes from the numerator or the denominator: 5 -11-2 = -5 -112
x1 = -5 -112
ⓘ The numerator and the denominator are computed before the division: 5 -11 = -6
x1 = -(-62)
ⓘ Two minus signs cancel out: -(-62) = 62
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) + 1212·(-1)
x2 = 5 + 1212·(-1)
ⓘ The square root of a number is the positive number whose square is that number: 121 = 11; 112 = 121■A single minus sign does not cancel out, the product of a negative number by a positive number is negative: 2·(-1) = -2
x2 = 5 + 11-2
ⓘ The sign of a fraction goes in front of the bar, whether it comes from the numerator or the denominator: 5 + 11-2 = -5 + 112
x2 = -5 + 112
ⓘ The numerator and the denominator are computed before the division: 5 + 11 = 16
x2 = -162
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: -162 = -8
x2 = -8
▶Factors found: -(x + 8)·(x -3)