factor x^4+2x^3-5x^2-12x-4
1) Let's factor in ℝ: x4 + 2x3 -5x2 -12x -4
⇥1.1) Let's start with the obvious candidate: x = -2
⇥Let's compute the value of: (-2)4 + 2·(-2)3 -5·(-2)2 -12·(-2) -4
⇥ⓘ Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: (-2)4 = (-2)·(-2)·(-2)·(-2) = 16, (-2)3 = (-2)·(-2)·(-2) = -8, (-2)2 = (-2)·(-2) = 4■Multiplications are done before additions and subtractions. Two minus signs cancel out, the product of two negative numbers is positive: -12·(-2) = 12·2 = (10 + 2)·2 = 10·2 + 2·2 = 20 + 4 = 24
⇥ 16 + 2·(-8) -5·4 + 24 -4
⇥ⓘ 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: 2·(-8) = -16■Multiplications are done before additions and subtractions: 5·4 = 20
⇥ 16 -16 -20 + 24 -4
⇥ⓘ Start from 16 and move back 16 on the number line, down to zero: 16 -16 = 0
⇥ 0 -20 + 24 -4
⇥ⓘ Adding 0 changes nothing: 0 -20 = -20■Start from -20 and move forward 24 on the number line, going past zero: -20 + 24 = 4
⇥ 4 -4
⇥ⓘ Start from 4 and move back 4 on the number line, down to zero: 4 -4 = 0
⇥ 0
⇥Root found: x = -2
⇥1.2) Perform polynomial long division of (x4 + 2x3 -5x2 -12x -4) by (x + 2)
⇥
Expression in progressDivide
leading terms
QuotientQuotient × divisorRemainder after subtracting
x4 + 2x3 -5x2 -12x -4x4xx3x3·(x + 2) = x4 + 2x3(x4 + 2x3 -5x2 -12x -4) -(x4 + 2x3) = -5x2 -12x -4
-5x2 -12x -4-5x2x-5x-5x·(x + 2) = -5x2 -10x(-5x2 -12x -4) -(-5x2 -10x) = -2x -4
-2x -4-2xx-2-2·(x + 2) = -2x -4(-2x -4) -(-2x -4) = 0
⇥Therefore, the result of the euclidean division is: x3 -5x -2
⇥1.3) Let's factor in ℝ: (x3 -5x -2)
⇥⇥1.3.1) Let's start with the obvious candidate: x = -2
⇥⇥Let's compute the value of: (-2)3 -5·(-2) -2
⇥⇥ⓘ Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: (-2)3 = (-2)·(-2)·(-2) = -8■Multiplications are done before additions and subtractions. Two minus signs cancel out, the product of two negative numbers is positive: -5·(-2) = 10
⇥⇥ -8 + 10 -2
⇥⇥ⓘ Start from -8 and move forward 10 on the number line, going past zero: -8 + 10 = 2
⇥⇥ 2 -2
⇥⇥ⓘ Start from 2 and move back 2 on the number line, down to zero: 2 -2 = 0
⇥⇥ 0
⇥⇥Root found: x = -2
⇥⇥1.3.2) Perform polynomial long division of (x3 -5x -2) by (x + 2)
⇥⇥
Current expressionDivide
leading terms
QuotientQuotient × divisorRemainder after subtracting
x3 -5x -2x3xx2x2·(x + 2) = x3 + 2x2(x3 -5x -2) -(x3 + 2x2) = -2x2 -5x -2
-2x2 -5x -2-2x2x-2x-2x·(x + 2) = -2x2 -4x(-2x2 -5x -2) -(-2x2 -4x) = -x -2
-x -2-xx-1-1·(x + 2) = -x -2(-x -2) -(-x -2) = 0
⇥⇥Therefore, the result of the euclidean division is: x2 -2x -1
⇥⇥1.3.3) Let's factorize in ℝ: (x2 -2x -1)
⇥⇥Given the quadratic form ax2 + bx + c, you can calculate the discriminant: Δ = b2 -4ac. Here a = 1, b = -2 and c = -1
⇥⇥ Δ = (-2)2 -4·1·(-1)
⇥⇥ⓘ Powers are computed before multiplications, additions and subtractions. An integer power is a repeated product: (-2)2 = (-2)·(-2) = 4
⇥⇥ Δ = 4 -4·(-1)
⇥⇥ⓘ Multiplications are done before additions and subtractions. Two minus signs cancel out, the product of two negative numbers is positive: -4·(-1) = 4
⇥⇥ Δ = 4 + 4
⇥⇥ⓘ Start from 4 and move forward 4 on the number line: 4 + 4 = 8
⇥⇥ Δ = 8
⇥⇥Since Δ > 0, the equation has two roots:
⇥⇥The quadratic formula gives x1 = -b -Δ2a = -(-2) -82·1
⇥⇥ x1 = 2 -82
⇥⇥ⓘ We look for the largest square dividing 8, 4 = 22, and take it out of the root: 8 = 4·2 = 4·2 = 2·2
⇥⇥ x1 = 2 -2·22
⇥⇥ⓘ A fraction is simplified by dividing the numerator and the denominator by the same number: 2 -2·22 = 2·(1 -2)2 = 1 -2
⇥⇥ x1 = 1 -2
⇥⇥The quadratic formula gives x2 = -b + Δ2a = -(-2) + 82·1
⇥⇥ x2 = 2 + 82
⇥⇥ⓘ We look for the largest square dividing 8, 4 = 22, and take it out of the root: 8 = 4·2 = 4·2 = 2·2
⇥⇥ x2 = 2 + 2·22
⇥⇥ⓘ A fraction is simplified by dividing the numerator and the denominator by the same number: 2 + 2·22 = 2·(1 + 2)2 = 1 + 2
⇥⇥ x2 = 1 + 2
▷The factor (x2 -2x -1) factors as: (x -(1 + 2))·(x -(1 -2))
⇥1.4) Let's replace each factor by its factorization: (x + 2)·(x -(1 + 2))·(x -(1 -2))
⇥ⓘ A minus sign before a parenthesis changes the sign of each of its terms: -(1 + 2) = -1 -2, -(1 -2) = -1 + 2
⇥ (x + 2)·(x -1 -2)·(x -1 + 2)
▷The factor (x3 -5x -2) factors as: (x + 2)·(x + 2 -1)·(x -2 -1)
▶Factored expression:   (x + 2)2·(x + 2 -1)·(x -2 -1)