factor -a^3+4a^2-5a+2
1) Let's factorize in ℝ: -a3 + 4a2 -5a + 2
⇥1.1) Let's start with the obvious candidate: a = 1
⇥Let's evaluate the value of: -13 + 4·12 -5·1 + 2
⇥ -1 + 4 -5 + 2
⇥ⓘ Start from -1 and move forward 4 on the number line, going past zero: -1 + 4 = 3
⇥ 3 -5 + 2
⇥ⓘ Start from 3 and move back 5 on the number line, going below zero: 3 -5 = -2
⇥ -2 + 2
⇥ⓘ Start from -2 and move forward 2 on the number line, up to zero: -2 + 2 = 0
⇥ 0
⇥Root found: a = 1
⇥1.2) Let's start the euclidean division of (-a3 + 4a2 -5a + 2) by (a -1)
⇥
Current expressionDivide
leading terms
QuotientQuotient × divisorRemainder after subtracting
-a3 + 4a2 -5a + 2-a3a-a2-a2·(a -1) = -a3 + a2(-a3 + 4a2 -5a + 2) -(-a3 + a2) = 3a2 -5a + 2
3a2 -5a + 23a2a3a3a·(a -1) = 3a2 -3a(3a2 -5a + 2) -(3a2 -3a) = -2a + 2
-2a + 2-2aa-2-2·(a -1) = -2a + 2(-2a + 2) -(-2a + 2) = 0
⇥Therefore, the result of the euclidean division is: -a2 + 3a -2
⇥1.3) Let's factorize in ℝ: (-a2 + 3a -2)
⇥Given the quadratic form Aa2 + Ba + 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 a1 = -B -Δ2A = -3 -12·(-1)
⇥ a1 = -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
⇥ a1 = -4-2
⇥ⓘ The minus signs of the numerator and the denominator cancel out: -4-2 = 42
⇥ a1 = 42
⇥ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 42 = 2
⇥ a1 = 2
⇥The quadratic formula gives a2 = -B + Δ2A = -3 + 12·(-1)
⇥ a2 = -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
⇥ a2 = -2-2
⇥ⓘ The minus signs of the numerator and the denominator cancel out: -2-2 = 22
⇥ a2 = 22
⇥ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 22 = 1
⇥ a2 = 1
▷The factor (-a2 + 3a -2) factors as: -(a -1)·(a -2)
2) Let's replace each factor by its factorization: (a -1)·(-(a -1)·(a -2))
ⓘ The minus sign is placed in front of the product: (a -1)·(-(a -1))·(a -2) = -(a -1)·(a -1)·(a -2)
ⅰ -a2 + 3a -2 = -(a -1)·(a -2)
-(a -1)·(a -1)·(a -2)
▶Factored expression:   -(a -1)2·(a -2)