Pick any rational x. Then f(x) is nonzero. There are irrational numbers arbitrarily near to x. Can you finish from there?
Edit: By the way, "rational function" is the name for a different kind of function from this one, namely one that is the quotient of two polynomials.