Given the following function
We want to find its roots. Since we already know that (x + 1) and (x - 2) are factors of this polynomial, we can divide our polynomial by those factors and factorize the result to get the other roots.
Let's start by dividing by the first factor
To divide a polynomial by other, we start by dividing the leading term of the dividend by the leading term of the divisor(this will be the first term of our result)
Then, we ultiply it by the divisor
Subtracting this result from the dividend, we have
This means that our division is
Repeating the whole process of division with the second term, we have
From this result, we can rewrite our function as
Repeating this same process with the other know factor, the other division we have to solve is
Then, our function is
Then, to find the roots we need to solve the following equation
Since we have a product of 3 terms, the result will be zero if and only if one of the terms is zero. This means that the roots can be found by assuming each one is zero. The solutions for this equation are the same solutions for the following system
And those are the roots for our function. x = -1, 2, +-3i.