factor x^3-8x^2+x+42
1) Let's factor in ℝ: x3 -8x2 + x + 42
⇥1.1) Let's start with the obvious candidate: x = -2
⇥Let's compute the value of: (-2)3 -8·(-2)2 -2 + 42
⇥ⓘ Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: (-2)3 = (-2)·(-2)·(-2) = -8, (-2)2 = (-2)·(-2) = 4■Start from -2 and move forward 42 on the number line, going past zero: -2 + 42 = 40
⇥ -8 -8·4 + 40
⇥ⓘ Multiplications are done before additions and subtractions: 8·4 = 32
⇥ -8 -32 + 40
⇥ⓘ Start from -8 and move back 32 more on the number line, away from zero: -8 -32 = -40
⇥ -40 + 40
⇥ⓘ Start from -40 and move forward 40 on the number line, up to zero: -40 + 40 = 0
⇥ 0
⇥Root found: x = -2
⇥1.2) Perform polynomial long division of (x3 -8x2 + x + 42) by (x + 2)
⇥
Expression in progressDivide
leading terms
QuotientQuotient × divisorRemainder after subtracting
x3 -8x2 + x + 42x3xx2x2·(x + 2) = x3 + 2x2(x3 -8x2 + x + 42) -(x3 + 2x2) = -10x2 + x + 42
-10x2 + x + 42-10x2x-10x-10x·(x + 2) = -10x2 -20x(-10x2 + x + 42) -(-10x2 -20x) = 21x + 42
21x + 4221xx2121·(x + 2) = 21x + 42(21x + 42) -(21x + 42) = 0
⇥Therefore, the result of the euclidean division is: x2 -10x + 21
⇥1.3) Let's factor in ℝ: (x2 -10x + 21)
⇥Given the quadratic form ax2 + bx + c, you can calculate the discriminant: Δ = b2 -4ac. Here a = 1, b = -10 and c = 21
⇥ Δ = (-10)2 -4·1·21
⇥ⓘ Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: (-10)2 = (-10)·(-10) = 100
⇥ Δ = 100 -4·21
⇥ⓘ Multiplications are done before additions and subtractions: 4·21 = 4·(20 + 1) = 4·20 + 4 = 80 + 4 = 84
⇥ Δ = 100 -84
⇥ⓘ Start from 100 and move back 84 on the number line: 100 -84 = 16
⇥ Δ = 16
⇥Since Δ > 0, the equation has two roots:
⇥The quadratic formula gives x1 = -b -Δ2a = -(-10) -162·1
⇥ x1 = 10 -162
⇥ⓘ The square root of a number is the positive number whose square is that number: 16 = 4; 42 = 16
⇥ x1 = 10 -42
⇥ⓘ The numerator and the denominator are computed before the division: 10 -4 = 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 = -(-10) + 162·1
⇥ x2 = 10 + 162
⇥ⓘ The square root of a number is the positive number whose square is that number: 16 = 4; 42 = 16
⇥ x2 = 10 + 42
⇥ⓘ The numerator and the denominator are computed before the division: 10 + 4 = 14
⇥ x2 = 142
⇥ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 142 = 7
⇥ x2 = 7
▷The factor (x2 -10x + 21) factors as: (x -3)·(x -7)
▶Factored expression:   (x + 2)·(x -3)·(x -7)