SteamKing said:
There is a quite obvious factor to consider in such cases: +1 or -1.
Hilly172, both Hilbert2 and SteamKing are using the "rational roots theorem":
if rational number m/n satisfies the polynomial equation a_nx^n+ a_{n-1}x^{n-1}+ \cdot\cdot\cdot+ a_1x+ a_0= 0, then the numerator, m, must evenly divide the "constant term", a_0, and the denominator, n, must evenly divide the "leading coefficient", a_n". Here, the leading coefficient is 1 and the only positive integer that divides that is 1 so any
rational solution must have denominator 1- that is, must be an integer. And that integer must evenly divide, so must be a factor of, the constant term, 28. And the simplest such integers to start with are 1 and -1. The other factors of 28 are, of course, 2, -2, 4, -4, 7, -7, 14, and -14.
Of course, there is no
guarentee that there
is a rational root. But if there is not, the solution to the equation is going to be very difficult so it is worth trying. (And, as you have probably guessed from what Hilbert2 and SteamKing said, here, there is a very simple solution.)