Polynomials

1 / 22

Build a cubic from three roots

Question: A cubic polynomial f(x)f(x) has roots x=1x = 1, x=2x = -2, x=3x = 3 and leading coefficient 22. Express f(x)f(x) in descending powers of xx.

Step 1. Factored form:

f(x)=2(x1)(x+2)(x3)f(x) = 2(x - 1)(x + 2)(x - 3)

Step 2. Expand pair by pair:

(x1)(x+2)=x2+x2(x2+x2)(x3)=x33x2+x23x2x+6=x32x25x+6\begin{aligned}(x - 1)(x + 2) &= x^2 + x - 2 \\ (x^2 + x - 2)(x - 3) &= x^3 - 3x^2 + x^2 - 3x - 2x + 6 \\ &= x^3 - 2x^2 - 5x + 6\end{aligned}

Step 3. Multiply by leading coefficient:

f(x)=2x34x210x+12f(x) = 2x^3 - 4x^2 - 10x + 12

Check: f(1)=2410+12=0f(1) = 2 - 4 - 10 + 12 = 0 ✓.

swipe up ↑
🤖Ask