[sp]
Let the roots be a, b, and c.
Then by Vieta's formula
a + b + c = 0
Take b + c = 5. Then a = -5,
So we know that
[math]a^3 - k a + 25 = 0[/math]
[math](-5)^3 - k ( -5 ) + 25 = 0[/math]
k = 20
Note that we haven't used the condition that all roots are real, so let's assume that b and c are complex and that this gives a contradiction.
We know that a = -5 and that b and c are, by assumption, complex. So let b = m + in and c = 5 - (m + in).
The other Vieta formula says that
abc = 25
$$(-5) ( m + in) ( 5 - (m + in) ) = 25$$
[math](-m^2 + 5m + n^2) + (5n - 2mn)i = -5[/math]
Using the second term
$$5n - 2mn = 0$$
So n = 0 or m = 5/2.
Let m = 5/2 and put it into the first term:
[math]-m^2 + 5m + n^2 = -5[/math]
[math]- \left ( \dfrac{5}{2} \right ) ^2 + 5 \left ( \dfrac{5}{2} \right ) + n^2 = -5[/math]
[math]n^2 = -\dfrac{45}{4}[/math]
which says that [math]n^2 < 0[/math], which is impossible.
Thus n = 0 and the solution for k = 20 stands as the only possible k.
[/sp]
-Dan