Proof
Let polynomial
where (all values of are integers).
Now let , where and are coprime integers (let a fraction be in simplest form and be a root of ).
Multiplying by :
Now subtract from both sides and factor out to get:
Now must divide . However, we know cannot divide (since is in simplest form / and are coprime), so must divide .
Doing the same thing as above but with the term and :
By the above logic, must divide .
Conclusion
For all rational roots in simplest form ( where and are coprime integers), must be a factor of the last coefficient while must be a factor of the first coefficient.
Notes
For the curious, coprime integers and mean that .
If future me or someone else is wondering about the excess definitions, this was made for a friend.