factor x^4-6x^3+9x^2+4x-12
1) Let's factor in ℝ: x4 -6x3 + 9x2 + 4x -12
⇥1.1) Let's start with the obvious candidate: x = -1
⇥Let's evaluate the value of: (-1)4 -6·(-1)3 + 9·(-1)2 + 4·(-1) -12
⇥ⓘ Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: (-1)4 = (-1)·(-1)·(-1)·(-1) = 1, (-1)3 = (-1)·(-1)·(-1) = -1, (-1)2 = (-1)·(-1) = 1■Multiplying by -1 gives the opposite: -6·(-1) = 6■Multiplying by 1 changes nothing: 9·1 = 9■Multiplications are done before additions and subtractions. A single minus sign does not cancel out, the product of a negative number by a positive number is negative: 4·(-1) = -4
⇥ 1 + 6 + 9 -4 -12
⇥ⓘ Start from 1 and move forward 6 on the number line: 1 + 6 = 7
⇥ 7 + 9 -4 -12
⇥ⓘ Start from 7 and move forward 9 on the number line: 7 + 9 = 16
⇥ 16 -4 -12
⇥ⓘ Start from 16 and move back 4 on the number line: 16 -4 = 12
⇥ 12 -12
⇥ⓘ Start from 12 and move back 12 on the number line, down to zero: 12 -12 = 0
⇥ 0
⇥Root found: x = -1
⇥1.2) Let's start the euclidean division of (x4 -6x3 + 9x2 + 4x -12) by (x + 1)
⇥
Expression in progressDivide
leading terms
QuotientQuotient × divisorRemainder after subtracting
x4 -6x3 + 9x2 + 4x -12x4xx3x3·(x + 1) = x4 + x3(x4 -6x3 + 9x2 + 4x -12) -(x4 + x3) = -7x3 + 9x2 + 4x -12
-7x3 + 9x2 + 4x -12-7x3x-7x2-7x2·(x + 1) = -7x3 -7x2(-7x3 + 9x2 + 4x -12) -(-7x3 -7x2) = 16x2 + 4x -12
16x2 + 4x -1216x2x16x16x·(x + 1) = 16x2 + 16x(16x2 + 4x -12) -(16x2 + 16x) = -12x -12
-12x -12-12xx-12-12·(x + 1) = -12x -12(-12x -12) -(-12x -12) = 0
⇥So the result of the euclidean division is: x3 -7x2 + 16x -12
⇥1.3) Let's factor in ℝ: (x3 -7x2 + 16x -12)
⇥⇥1.3.1) Let's start with the obvious candidate: x = 2
⇥⇥Let's evaluate the value of: 23 -7·22 + 16·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: 16·2 = (10 + 6)·2 = 10·2 + 6·2 = 20 + 12 = 32
⇥⇥ 8 -7·4 + 32 -12
⇥⇥ⓘ Multiplications are done before additions and subtractions: 7·4 = 28
⇥⇥ 8 -28 + 32 -12
⇥⇥ⓘ Start from 8 and move back 28 on the number line, going below zero: 8 -28 = -20
⇥⇥ -20 + 32 -12
⇥⇥ⓘ Start from -20 and move forward 32 on the number line, going past zero: -20 + 32 = 12
⇥⇥ 12 -12
⇥⇥ⓘ Start from 12 and move back 12 on the number line, down to zero: 12 -12 = 0
⇥⇥ 0
⇥⇥Root found: x = 2
⇥⇥1.3.2) Let's start the euclidean division of (x3 -7x2 + 16x -12) by (x -2)
⇥⇥
Current expressionDivide
leading terms
QuotientQuotient × divisorRemainder after subtracting
x3 -7x2 + 16x -12x3xx2x2·(x -2) = x3 -2x2(x3 -7x2 + 16x -12) -(x3 -2x2) = -5x2 + 16x -12
-5x2 + 16x -12-5x2x-5x-5x·(x -2) = -5x2 + 10x(-5x2 + 16x -12) -(-5x2 + 10x) = 6x -12
6x -126xx66·(x -2) = 6x -12(6x -12) -(6x -12) = 0
⇥⇥So the result of the euclidean division is: x2 -5x + 6
⇥⇥1.3.3) Let's factorize in ℝ: (x2 -5x + 6)
⇥⇥Given the quadratic form ax2 + bx + c, let's compute the discriminant: Δ = b2 -4ac. Here a = 1, b = -5 and c = 6
⇥⇥ Δ = (-5)2 -4·1·6
⇥⇥ⓘ Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: (-5)2 = (-5)·(-5) = 25
⇥⇥ Δ = 25 -4·6
⇥⇥ⓘ Multiplications are done before additions and subtractions: 4·6 = 24
⇥⇥ Δ = 25 -24
⇥⇥ⓘ Start from 25 and move back 24 on the number line: 25 -24 = 1
⇥⇥ Δ = 1
⇥⇥Since Δ > 0, the equation has two roots:
⇥⇥The quadratic formula gives x1 = -b -Δ2a = -(-5) -12·1
⇥⇥ x1 = 5 -12
⇥⇥ⓘ The numerator and the denominator are computed before the division: 5 -1 = 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 = -(-5) + 12·1
⇥⇥ x2 = 5 + 12
⇥⇥ⓘ The numerator and the denominator are computed before the division: 5 + 1 = 6
⇥⇥ x2 = 62
⇥⇥ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 62 = 3
⇥⇥ x2 = 3
⇥⇥Factors identified: (x -2)·(x -3)
▷The factor (x3 -7x2 + 16x -12) factors as: (x -2)2·(x -3)
▶Factored expression:   (x + 1)·(x -3)·(x -2)2