factorize x^4-4x^3-7x^2+22x+24
1) Let's factor in : x4 -4x3 -7x2 + 22x + 24
Let's start with the obvious candidate: x = -1
2) Let's evaluate the value of: (-1)4 -4·(-1)3 -7·(-1)2 + 22·-1 + 24
1 -4·-1 -7·1 -22 + 24
-21 + 4 -7 + 24
-17 -7 + 24
-24 + 24
0
Factor found: x = -1
3) Compute the quotient and remainder of x4 -4x3 -7x2 + 22x + 24 ÷ x + 1
Expression in progressDivide
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
(x + 1)·(x3 -5x2 -2x + 24)
4) Let's factorize in : (x3 -5x2 -2x + 24)
Try the obvious solution first: x = -2
5) Let's compute the value of: (-2)3 -5·(-2)2 -2·-2 + 24
-8 -5·4 + 4 + 24
-4 -20 + 24
-24 + 24
0
Factor identified: x = -2
6) Compute the quotient and remainder of x3 -5x2 -2x + 24 ÷ x + 2
Current expressionDivide
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
(x + 2)·(x2 -7x + 12)
7) Let's factor in : (x2 -7x + 12)
Given the quadratic form ax2 + bx + c, you can calculate the discriminant: Δ = b2 -4ac
Δ = (-7)2 -4·1·12
Δ = 49 -4·12
Δ = 49 -48
Δ = 1
As Δ > 0, the equation has two solutions:
For the 1st solution, we obtain: -b -Δ2a
x1 = 7 -12
x1 = 62
x1 = 3
Solution second: -b + Δ2a
x2 = 7 + 12
x2 = 82
x2 = 4
Factors identified: (x -3)·(x -4)
Result:   (x + 1)·(x + 2)·(x -3)·(x -4)