Suppose $f$ is a real valued function with domain a subset of  real numbers, $D$.

Definition: $f$
is a rational function if there are polynomial functions $p(x)$ and $q(x)$ so that for any $x \in D$ with $q(x) \ne 0$, $f(x) = \frac {p(x)} {q(x)}$.