I found this question on my test:
What is the sum of all of the real root of $x^3-4x^2+x=-6$?
- A.) $-4 $
- A.) $-2$
- A.) $-0 $
- A.) $2 $
- A.) $4 $
My answer: $2 + 3 = 5$ , but that's not an option. Was the question wrong, or I didn't pay attention enough?
I found this question on my test:
What is the sum of all of the real root of $x^3-4x^2+x=-6$?
- A.) $-4 $
- A.) $-2$
- A.) $-0 $
- A.) $2 $
- A.) $4 $
My answer: $2 + 3 = 5$ , but that's not an option. Was the question wrong, or I didn't pay attention enough?
$$x^3-4x^2+x=-6 \implies x^3-4x^2+x+6=0 \implies (x-2)(x-3)(x+1)=0 $$
You missed one solution, $x=-1$. Thus, the answer is $4$.
Some people may suggest that you use Vieta's formula, but IMO that would be unwise.
This is because Vieta's formula adds all the solutions, even the complex ones, but the question at hand explicitly asks for only real solutions.
So this would probably be the best way to do it.
It is easy to find these roots: $-1,2,3$, so the sum is $4$.