Rational functions sometimes occur when making comparisons between two quantities, hence the ratio.
Sometimes a function will not look rational but can be converted into a ratio of polynomials.
A can of food is constructed of two different materials, a light material for the circular top and bottom of the can and a sturdier, thick material for the side of the can. The two materials have different costs so the total cost of making the can is the sum of costs of its pieces. Let
\begin{equation*}
C(r)=\frac{0.6}{r}+0.2r^{2}
\end{equation*}
be the cost of making a can of radius r.
\(C(r)\) is the sum of two rational functions, so we can combine the two terms in the equation by creating a common denominator between the two them.
\begin{align*}
C(r) \amp =\frac{0.6}{r}+0.2r^{2}\\
\amp=\frac{0.6}{r}+0.2r^{2} \cdot \frac{r}{r}\\
\amp=\frac{0.6}{r}+\frac{0.2r^{3}}{r}\\
\amp=\frac{0.6+0.2r^{3}}{r}
\end{align*}
After combining the terms we arrive at an expression that is now a ratio of two polynomials.