Question: are all rational functions polynomials?
Answer: Yes. A rational function is a quotient of two polynomial functions. A constant function is a polynomial of degree 0, and, in particular, the constant function 1 is a polynomial. Every polynomial is a quotient of itself divided by 1, therefore it is also a rational function.