factorize x^4-4x^3-7x^2+22x+24
1) Let's factor in ℝ: x4 -4x3 -7x2 + 22x + 24
⇥1.1) Let's test the obvious candidate: x = -1
⇥Let's evaluate the value of: (-1)4 -4·(-1)3 -7·(-1)2 + 22·(-1) + 24
⇥ⓘ Calculate powers before multiplications, additions and subtractions. With a positive integer exponent, a power corresponds to a repeated product: (-1)4 = (-1)·(-1)·(-1)·(-1) = 1■Powers are computed before multiplications, additions and subtractions. With a positive integer exponent, a power corresponds to a repeated product: (-1)3 = (-1)·(-1)·(-1) = -1■Multiplication by -1 gives the opposite value: -4·(-1) = 4■Calculate powers before multiplications, additions and subtractions. A power with a positive integer exponent is a repeated product: (-1)2 = (-1)·(-1) = 1■Multiplying by 1 changes nothing: 7·1 = 7■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: 22·(-1) = -22
⇥ 1 + 4 -7 -22 + 24
⇥ⓘ Start from 1 and move forward 4 on the number line: 1 + 4 = 5
⇥ 5 -7 -22 + 24
⇥ⓘ Start from 5 and move back 7 on the number line, going below zero: 5 -7 = -2
⇥ -2 -22 + 24
⇥ⓘ Start from -2 and move back 22 more on the number line, away from zero: -2 -22 = -24
⇥ -24 + 24
⇥ⓘ Start from -24 and move forward 24 on the number line, up to zero: -24 + 24 = 0
⇥ 0
⇥We find the root: x = -1
⇥1.2) Let's start the Euclidean division of (x4 -4x3 -7x2 + 22x + 24) by (x + 1)
⇥
Current expressionDivide
leading terms
QuotientQuotient × divisorRemainder after subtracting
x4 -4x3 -7x2 + 22x + 24x4xx3x3·(x + 1) = x4 + x3(x4 -4x3 -7x2 + 22x + 24) -(x4 + x3) = -5x3 -7x2 + 22x + 24
-5x3 -7x2 + 22x + 24-5x3x-5x2-5x2·(x + 1) = -5x3 -5x2(-5x3 -7x2 + 22x + 24) -(-5x3 -5x2) = -2x2 + 22x + 24
-2x2 + 22x + 24-2x2x-2x-2x·(x + 1) = -2x2 -2x(-2x2 + 22x + 24) -(-2x2 -2x) = 24x + 24
24x + 2424xx2424·(x + 1) = 24x + 24(24x + 24) -(24x + 24) = 0
⇥So the result of the Euclidean division is: x3 -5x2 -2x + 24
⇥1.3) Let's factorize in ℝ: (x3 -5x2 -2x + 24)
⇥⇥1.3.1) Let's test the obvious candidate: x = -2
⇥⇥Let's compute the value of: (-2)3 -5·(-2)2 -2·(-2) + 24
⇥⇥ⓘ Calculate powers before multiplications, additions and subtractions. A power with a positive integer exponent is a repeated product: (-2)3 = (-2)·(-2)·(-2) = -8■Calculate powers before multiplications, additions and subtractions. With a positive integer exponent, a power corresponds to a repeated product: (-2)2 = (-2)·(-2) = 4■Multiplications are done before additions and subtractions. In a product, two minus signs cancel: multiplying two negative numbers gives a positive number: -2·(-2) = 4
⇥⇥ -8 -5·4 + 4 + 24
⇥⇥ⓘ Perform multiplications before additions and subtractions: 5·4 = 20
⇥⇥ -8 -20 + 4 + 24
⇥⇥ⓘ Start from -8 and move back 20 more on the number line, away from zero: -8 -20 = -28
⇥⇥ -28 + 4 + 24
⇥⇥ⓘ Start from -28 and move forward 4 on the number line, getting closer to zero: -28 + 4 = -24
⇥⇥ -24 + 24
⇥⇥ⓘ Start from -24 and move forward 24 on the number line, up to zero: -24 + 24 = 0
⇥⇥ 0
⇥⇥We find the root: x = -2
⇥⇥1.3.2) Compute the quotient and remainder of (x3 -5x2 -2x + 24) ÷ (x + 2)
⇥⇥
Expression in progressDivide
leading terms
QuotientQuotient × divisorRemainder after subtracting
x3 -5x2 -2x + 24x3xx2x2·(x + 2) = x3 + 2x2(x3 -5x2 -2x + 24) -(x3 + 2x2) = -7x2 -2x + 24
-7x2 -2x + 24-7x2x-7x-7x·(x + 2) = -7x2 -14x(-7x2 -2x + 24) -(-7x2 -14x) = 12x + 24
12x + 2412xx1212·(x + 2) = 12x + 24(12x + 24) -(12x + 24) = 0
⇥⇥So the result of the Euclidean division is: x2 -7x + 12
⇥⇥1.3.3) Let's factorize in ℝ: (x2 -7x + 12)
⇥⇥Given the quadratic form ax2 + bx + c, you can calculate the discriminant: Δ = b2 -4ac. Here a = 1, b = -7 and c = 12
⇥⇥ Δ = (-7)2 -4·1·12
⇥⇥ⓘ Calculate powers before multiplications, additions and subtractions. With a positive integer exponent, a power corresponds to a repeated product: (-7)2 = (-7)·(-7) = 49
⇥⇥ Δ = 49 -4·12
⇥⇥ⓘ Perform multiplications before additions and subtractions: 4·12 = 4·(10 + 2) = 4·10 + 4·2 = 40 + 8 = 48
⇥⇥ Δ = 49 -48
⇥⇥ⓘ Start from 49 and move back 48 on the number line: 49 -48 = 1
⇥⇥ Δ = 1
⇥⇥As Δ > 0, the equation has two roots:
⇥⇥The quadratic formula gives x1 = -b -Δ2a = -(-7) -12·1
⇥⇥ x1 = 7 -12
⇥⇥ⓘ Calculate the numerator and denominator before dividing: 7 -1 = 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 = -(-7) + 12·1
⇥⇥ x2 = 7 + 12
⇥⇥ⓘ The numerator and the denominator are computed before the division: 7 + 1 = 8
⇥⇥ x2 = 82
⇥⇥ⓘ Simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 82 = 4
⇥⇥ x2 = 4
⇥⇥Factors found: (x -3)·(x -4)
▷The factor (x3 -5x2 -2x + 24) factors as: (x + 2)·(x -3)·(x -4)
▶Factored expression:   (x + 1)·(x + 2)·(x -3)·(x -4)