>>9
That's because the rational root test only applies to polynomials with integer co-efficients, idiot.
If you understood why it worked (Which is fucking obvious, by the way), instead of just blindly applying it you'd be in a lot better stead.
The polynomial you want is (2x-1)(x-2)= 2x^2 - 5x + 2
Want a proof of the rational root test?
Say f(p/q)=0 where f(x)=sum a_i.x^i, f has degree n.
then multiply through by q^n.
q^n.f(p/q) = sum a_i.p^i.q^n-i = 0
But q divides a_i.p^i.q^n-i for all i != n, so this implies q divides a_n.p^n, but since p/q is reduced q divides a_n.
Similarly p divides a_i.p^i.q^n-i for all i != 0, so this implies p divides a_0.q^n, so p divides a_0.