factor -x^2+3x-2
Let's factorize in ℝ: -x2 + 3x -2
Given the quadratic form ax2 + bx + c, you can calculate the discriminant: Δ = b2 -4ac. Here a = -1, b = 3 and c = -2
Δ = 32 -4·(-1)·(-2)
ⓘ Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: 32 = 3·3 = 9■Multiplications are done before additions and subtractions. Two minus signs cancel out, the product of two negative numbers is positive: -4·(-1) = 4■The minus sign is placed in front of the product: 4·(-2) = -4·2
Δ = 9 -4·2
ⓘ Multiplications are done before additions and subtractions: 4·2 = 8
Δ = 9 -8
ⓘ Start from 9 and move back 8 on the number line: 9 -8 = 1
Δ = 1
As Δ > 0, the equation has two roots:
The quadratic formula gives x1 = -b -Δ2a = -3 -12·(-1)
x1 = -3 -12·(-1)
ⓘ The numerator and the denominator are computed before the division: -3 -1 = -4■A single minus sign does not cancel out, the product of a negative number by a positive number is negative: 2·(-1) = -2
x1 = -4-2
ⓘ The minus signs of the numerator and the denominator cancel out: -4-2 = 42
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 = -3 + 12·(-1)
x2 = -3 + 12·(-1)
ⓘ The numerator and the denominator are computed before the division: -3 + 1 = -2■A single minus sign does not cancel out, the product of a negative number by a positive number is negative: 2·(-1) = -2
x2 = -2-2
ⓘ The minus signs of the numerator and the denominator cancel out: -2-2 = 22
x2 = 22
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 22 = 1
x2 = 1
▶Factors found: -(x -1)·(x -2)