factor x^3-x^2-8x+12
1) Let's factorize in ℝ: x3 -x2 -8x + 12
⇥1.1) Try the obvious solution first: x = 2
⇥Let's evaluate the value of: 23 -22 -8·2 + 12
⇥ⓘ Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: 23 = 2·2·2 = 8, 22 = 2·2 = 4■Multiplications are done before additions and subtractions: 8·2 = 16
⇥ 8 -4 -16 + 12
⇥ⓘ Start from 8 and move back 4 on the number line: 8 -4 = 4
⇥ 4 -16 + 12
⇥ⓘ Start from 4 and move back 16 on the number line, going below zero: 4 -16 = -12
⇥ -12 + 12
⇥ⓘ Start from -12 and move forward 12 on the number line, up to zero: -12 + 12 = 0
⇥ 0
⇥Root found: x = 2
⇥1.2) Compute the quotient and remainder of (x3 -x2 -8x + 12) ÷ (x -2)
⇥
Current expressionDivide
leading terms
QuotientQuotient × divisorRemainder after subtracting
x3 -x2 -8x + 12x3xx2x2·(x -2) = x3 -2x2(x3 -x2 -8x + 12) -(x3 -2x2) = x2 -8x + 12
x2 -8x + 12x2xxx·(x -2) = x2 -2x(x2 -8x + 12) -(x2 -2x) = -6x + 12
-6x + 12-6xx-6-6·(x -2) = -6x + 12(-6x + 12) -(-6x + 12) = 0
⇥So the result of the euclidean division is: x2 + x -6
⇥1.3) Let's factorize in ℝ: (x2 + x -6)
⇥Given the quadratic form ax2 + bx + c, you can calculate the discriminant: Δ = b2 -4ac. Here a = 1, b = 1 and c = -6
⇥ Δ = 1 -4·1·(-6)
⇥ Δ = 1 -4·(-6)
⇥ⓘ Multiplications are done before additions and subtractions. Two minus signs cancel out, the product of two negative numbers is positive: -4·(-6) = 24
⇥ Δ = 1 + 24
⇥ⓘ Start from 1 and move forward 24 on the number line: 1 + 24 = 25
⇥ Δ = 25
⇥Since Δ > 0, the equation has two roots:
⇥The quadratic formula gives x1 = -b -Δ2a = -1 -252·1
⇥ x1 = -1 -252
⇥ⓘ The square root of a number is the positive number whose square is that number: 25 = 5; 52 = 25
⇥ x1 = -1 -52
⇥ⓘ The numerator and the denominator are computed before the division: -1 -5 = -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 = -1 + 252·1
⇥ x2 = -1 + 252
⇥ⓘ The square root of a number is the positive number whose square is that number: 25 = 5; 52 = 25
⇥ x2 = -1 + 52
⇥ⓘ The numerator and the denominator are computed before the division: -1 + 5 = 4
⇥ x2 = 42
⇥ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 42 = 2
⇥ x2 = 2
▷The factor (x2 + x -6) factors as: (x + 3)·(x -2)
▶Factored expression:   (x + 3)·(x -2)2