
Tabitha D. answered 12/27/19
Experienced Algebra Teacher Who Can Explain ‘Why’
Since the three solutions are r1, r2, and r3, the three factors of the cubic equation will be (x-r1), (x-r2), and (x-r3). To write the cubic equation, we need to multiply these factors together:
- f(x)=(x-r1)(x-r2)(x-r3)
- FOIL the first two factors: f(x)= (x2-r2x-r1x+r1r2)(x-r3)
- Distribute each term of the first polynomial to each term of the second binomial: f(x)= x3-r3x2-r2x2+r2r3x-r1x2+r1r3x+r1r2x-r1r2r3
- These subscripts and exponents can look confusing, so let’s rearrange the terms by degree. This will make it easier to combine like terms: f(x)=x3-r1x2-r2x2-r3x2+r1r3x+r2r3x+r1r2x-r1r2r3
- Now look at each degree as a group to combine like terms: f(x)=x3+(-r1x2-r2x2-r3x2)+(r1r3x+r2r3x+r1r2x)-r1r2r3
- By factoring our the GCF of both groups in parentheses, we can combine like terms: f(x)=x3-(r1+r2+r3)x2+(r1r3+r2r3+r1r2)x-r1r2r3
Let’s choose some numbers to see how this works:
Let r1=1, r2=2, and r3=3. If we plug those numbers into the final answer from step 6, we get: f(x)=x3-(1+2+3)x2+((1)(3)+(2)(3)+(1)(2))x-(1)(2)(3)
This would simplify to: f(x)=x3-6x2+11x-6.
Lets see if this works: If we know that the three solutions are x=1,2, and 3, then the three factors are (x-1), (x-2), and (x-3). FOIL the first two factors to get: (x2-3x+2). Multiply that trinomial with (x-3) to get: x3-3x2-3x2+9x+2x-6. Combine like terms to get: x3-6x2+11x2-6.