Back to homeMathematics · High School Year 2 · Physics-Math · Change subject
Start for free
Prep 2 Tech · Mathematics
Functions · Common types of functions

Rational Function

Before you start, make sure you know: Algebraic fractions (High School Year 1 (semesters 1 and 2))
Before you start, make sure you know: Polynomial division (Secondary Year 3)

Ximena sells printed T-shirts. She bought a transfer press and supplies for $\$2{,}500$ (fixed cost), and each T-shirt costs her $\$60$ more. The more T-shirts she sells, the less the fixed cost weighs on each one, but the cost per T-shirt never drops below $\$60$. What value is that limit, and how does it show up on a graph? That is what rational functions are for: values the function approaches without ever reaching, and points where the graph "breaks."

Domain of a rational function

Number line with the points −3 and 3 excluded using open circles, dividing the domain into three open intervals. domaindomaindomain −33 ○ excluded○ excluded (−∞, −3)(−3, 3)(3, +∞) x = −3 and x = 3 make the denominator zero
Practice★☆☆Not started
Calculate the domain of definition of the rational function $f(x) = \frac{5x-2}{x^2-9}$.

Calculate the domain of definition of the rational function $f(x) = \frac{5x-2}{x^2-9}$.

Solve
Practice★☆☆Not started
Determine the domain of the function $f(x) = \frac{x^2+1}{x^2+4x+4}$.

Determine the domain of the function $f(x) = \frac{x^2+1}{x^2+4x+4}$.

Solve
Practice★★★Not started
Analyse in detail the rational function $f(x) = \frac{x^2-5x+6}{x^2-4}$. Determine its domain, simplify the algebraic expression stating for which values the…

Analyse in detail the rational function $f(x) = \frac{x^2-5x+6}{x^2-4}$. Determine its domain, simplify the algebraic expression stating for which values the simplification is valid, find the equations of its asymptotes, and explain what graphical feature occurs at exactly the point with x-coordinate $x = 2$.

Solve

Intercepts, sign, and symmetry

For the $y$-intercept, compute $f(0)$, if $0$ belongs to the domain. For the $x$-intercepts, solve $P(x)=0$, checking that those solutions do not also make the denominator zero.

Symmetry: even and odd functions

Before graphing, it is worth checking symmetry. If $f(-x)=f(x)$ for every $x$ in the domain, $f$ is even (symmetric about the $y$-axis). If $f(-x)=-f(x)$, it is odd (symmetric about the origin). For this to be possible, the domain must be symmetric about $0$.

Practice★☆☆Not started
Find the coordinates of the axis intercepts of the function $f(x) = \frac{3x+12}{2x-5}$.

Find the coordinates of the axis intercepts of the function $f(x) = \frac{3x+12}{2x-5}$.

Solve
Practice★☆☆Not started
Study the sign of the rational function $f(x) = \frac{x-4}{x+2}$, clearly stating the intervals of the real number line where the function takes positive values and…

Study the sign of the rational function $f(x) = \frac{x-4}{x+2}$, clearly stating the intervals of the real number line where the function takes positive values and where it takes negative values.

Solve
Practice★☆☆Not started
Check analytically whether the function $f(x) = \frac{3x}{x^2+1}$ is even, odd or exhibits no symmetry with respect to the coordinate axes.

Check analytically whether the function $f(x) = \frac{3x}{x^2+1}$ is even, odd or exhibits no symmetry with respect to the coordinate axes.

Solve

Vertical asymptotes

Branches of a function next to its vertical asymptote x = −3 and its horizontal asymptote y = 4, tending to +∞ on the left and to −∞ on the right. y = 4 x = −3 f(x) → +∞ f(x) → −∞
Practice★☆☆Not started
Determine the equations of the vertical and horizontal asymptotes of the function $f(x) = \frac{4x-1}{x+3}$.

Determine the equations of the vertical and horizontal asymptotes of the function $f(x) = \frac{4x-1}{x+3}$.

Solve
Practice★★☆Not started
Find the domain, the axis intercepts, and the equations of all asymptotes of the rational function $f(x) = \frac{3x^2}{x^2-16}$.

Find the domain, the axis intercepts, and the equations of all asymptotes of the rational function $f(x) = \frac{3x^2}{x^2-16}$.

Solve
Practice★★★Not started
Discuss, depending on the real parameter $k$, the existence of vertical asymptotes for the function $f(x) = \frac{x^2-2x+5}{x^2-kx+9}$. Determine the interval of values…

Discuss, depending on the real parameter $k$, the existence of vertical asymptotes for the function $f(x) = \frac{x^2-2x+5}{x^2-kx+9}$. Determine the interval of values of $k$ for which the function has no vertical asymptotes at all.

Solve

Horizontal and slant asymptotes

Graph of a function approaching a dashed slant line with equation y = mx + n as x increases. f(x) y = mx + n
Practice★★☆Not started
Find the equation of the oblique asymptote of the rational function $f(x) = \frac{2x^2-5x+4}{x-1}$.

Find the equation of the oblique asymptote of the rational function $f(x) = \frac{2x^2-5x+4}{x-1}$.

Solve
Practice★★☆Not started
Given the function $f(x) = \frac{x^2+1}{x}$, determine its domain, its asymptotes (vertical, horizontal, or oblique), and study the position of the curve with respect to…

Given the function $f(x) = \frac{x^2+1}{x}$, determine its domain, its asymptotes (vertical, horizontal, or oblique), and study the position of the curve with respect to its oblique asymptote as $x \to +\infty$ and as $x \to -\infty$.

Solve

The inverse proportionality hyperbola

Translated hyperbola with its two branches, the vertical asymptote x = h, the horizontal asymptote y = v, and its center of symmetry. x = h y = v (h, v)
Practice★☆☆Not started
Given the function $f(x) = \frac{1}{x+2} - 4$, explain what elementary geometric transformations (horizontal and vertical translations) have been applied to the graph of…

Given the function $f(x) = \frac{1}{x+2} - 4$, explain what elementary geometric transformations (horizontal and vertical translations) have been applied to the graph of the basic hyperbola $y = \frac{1}{x}$ to obtain it.

Solve
Practice★★★Not started
Determine the values of the real parameter $m$ for which the line with equation $y = mx$ intersects the rational curve $y = \frac{1}{x-2}$ at exactly a single point.…

Determine the values of the real parameter $m$ for which the line with equation $y = mx$ intersects the rational curve $y = \frac{1}{x-2}$ at exactly a single point. Geometrically interpret what these specific lines represent for the curve.

Solve

Solving $f(x)=k$ and the inverse function

To find for which value of $x$ the function equals a certain number $k$, set up the equation $f(x)=k$, multiply by the denominator, and solve. At the end, check that the solution is in the domain.

Sometimes the resulting equation is quadratic: solve it and discard the solutions that are not in the domain or make no sense in the problem.

Inverse function

The inverse "undoes" $f$: write $y=f(x)$, swap $x$ and $y$, and solve for $y$.

Practice★☆☆Not started
Find the value of $x$ for which the function $f(x) = \frac{2x+3}{x-1}$ takes exactly the value $f(x) = 5$.

Find the value of $x$ for which the function $f(x) = \frac{2x+3}{x-1}$ takes exactly the value $f(x) = 5$.

Solve
Practice★★☆Not started
Calculate the algebraic expression for the inverse function of $f(x) = \frac{2x-1}{x+3}$ and specify the domain of this new function $f^{-1}(x)$.

Calculate the algebraic expression for the inverse function of $f(x) = \frac{2x-1}{x+3}$ and specify the domain of this new function $f^{-1}(x)$.

Solve
Practice★★★Not started
Let $f(x) = \frac{x+2}{x-1}$ be a rational function. Prove analytically that the composite function $(f \circ f)(x) = x$ for every value of $x$ belonging to its domain.…

Let $f(x) = \frac{x+2}{x-1}$ be a rational function. Prove analytically that the composite function $(f \circ f)(x) = x$ for every value of $x$ belonging to its domain. What geometric conclusion about the graph of $f(x)$ can you draw from this result in relation to the line $y = x$?

Solve

Parameters and graphs: from features to formula

Sometimes you know the asymptotes or a point on the graph and have to find the expression. Each feature gives an equation for the parameters.

Reading a graph with $f(x)=\dfrac{ax^2}{x^2+b}$

  • Horizontal asymptote: $y=a$.

  • If there are vertical asymptotes at $x=\pm r$, then $x^2+b=0$ at $x=\pm r$, so $b=-r^2$. If $b>0$ there are no vertical asymptotes.

  • It passes through the origin $(0,0)$, and the function is even.

Parameter and vertical asymptotes

For $x^2-kx+9$ never to be zero, its discriminant must be negative: $k^2-36<0$, that is, $-6

Practice★★☆Not started
Determine the values of the parameters $a$ and $b$ so that the function $f(x) = \frac{ax+7}{3x+b}$ has a vertical asymptote at $x = 2$ and a horizontal asymptote at…

Determine the values of the parameters $a$ and $b$ so that the function $f(x) = \frac{ax+7}{3x+b}$ has a vertical asymptote at $x = 2$ and a horizontal asymptote at $y = \frac{5}{3}$.

Solve
Practice★★★Not started
Find the values of the parameters $a$, $b$ and $c$ of the rational function $f(x) = \frac{ax^2+bx+c}{x-3}$ given that it has an oblique asymptote with equation…

Find the values of the parameters $a$, $b$ and $c$ of the rational function $f(x) = \frac{ax^2+bx+c}{x-3}$ given that it has an oblique asymptote with equation $y = 2x+1$ and that its graph passes through the point with coordinates $(4, 15)$.

Solve
Practice★★★Not started
From the following graph of a rational function, determine its domain, the equations of its asymptotes (vertical and horizontal), and the axis intercepts. Next, suggest…

From the following graph of a rational function, determine its domain, the equations of its asymptotes (vertical and horizontal), and the axis intercepts. Next, suggest an algebraic expression of the type $f(x) = \frac{ax^2}{x^2+b}$ that perfectly matches all these visual features.

X Y 0 2 −2 2
Solve

Rational functions in context

Many quantities are shared among a variable amount: a fixed cost among the pieces produced, salt in a growing volume, work among several people. All are rational functions, and their horizontal asymptote is the limiting value the quantity approaches no matter how far the process advances.

Practice★★☆Not started
The average production cost (in pesos) of $x$ units of an electronic component is given by the function $C_m(x) = \frac{50\,000 + 300x}{x}$. Calculate the average cost…

The average production cost (in pesos) of $x$ units of an electronic component is given by the function $C_m(x) = \frac{50\,000 + 300x}{x}$. Calculate the average cost of manufacturing 100 units and determine the value toward which the average cost tends as production becomes infinitely large, interpreting the result in the context of the problem.

Solve
Practice★★☆Not started
A tank initially contains 500 liters of pure water. A saline solution with a concentration of 40 g/L is pumped in at a rate of 10 L/min. The salt concentration in the…

A tank initially contains 500 liters of pure water. A saline solution with a concentration of 40 g/L is pumped in at a rate of 10 L/min. The salt concentration in the tank after $t$ minutes is given by the function $C(t) = \frac{400t}{500+10t}$. At what time will the concentration be exactly 25 g/L? What is the equation of the horizontal asymptote of this function and what physical meaning does it have?

Solve
Practice★★☆Not started
Two workers work together to paint a wall. The younger worker would take $x$ hours to do it working alone, while the older worker would take $x+3$ hours. The total time…

Two workers work together to paint a wall. The younger worker would take $x$ hours to do it working alone, while the older worker would take $x+3$ hours. The total time $T(x)$ it takes them when working simultaneously is given by the function $T(x) = \frac{x(x+3)}{2x+3}$. If working together they manage to finish the job in exactly 2 hours, how long would it have taken the younger worker to paint the wall on his own?

Solve

Maxima and growth without derivatives

With algebra you can study maximum values and the growth of a rational function without differentiating.

Maximum using the discriminant

Write $y=f(x)$, clear the denominator, and view the equation as a quadratic in $x$. For a real $x$ to exist, the discriminant must be $\ge0$; this limits the possible values of $y$.

Growth using division

If $\text{gr}(P)=\text{gr}(Q)$, divide and write $f(x)=A-\dfrac{B}{Q(x)}$; then observe how the subtracted term changes.

Practice★★★Not started
The concentration $C(t)$ of a drug in the bloodstream $t$ hours after intramuscular administration is given by the expression $C(t) = \frac{30t}{t^2+9}$ (measured in…

The concentration $C(t)$ of a drug in the bloodstream $t$ hours after intramuscular administration is given by the expression $C(t) = \frac{30t}{t^2+9}$ (measured in mg/L). Without using differentiation tools, prove algebraically that the maximum concentration can never exceed $5$ mg/L and determine the exact time $t$ at which this maximum concentration is reached. (Hint: Set up the equality $C = \frac{30t}{t^2+9}$ as a quadratic equation in the variable $t$ and analyse the condition that its discriminant must satisfy for the time to be a real number).

Solve
Practice★★★Not started
The population of a species of fish in a protected lake follows a growth model given by the function $P(t) = \frac{2000t^2+500}{t^2+1}$, where $t \ge 0$ is measured in…

The population of a species of fish in a protected lake follows a growth model given by the function $P(t) = \frac{2000t^2+500}{t^2+1}$, where $t \ge 0$ is measured in years from the start of the study. Determine the initial population, the population in the long term (limit as $t \to +\infty$) and prove algebraically that the population is always growing over time. (Hint: Try to express the fraction in the form $A - \frac{B}{t^2+1}$ by carrying out polynomial division).

Solve

Back to the beginning: Ximena's average cost was $C_m(x)=\dfrac{2500+60x}{x}$. Its horizontal asymptote $y=60$ is the limit we were looking for: the variable cost per T-shirt.

Summary

See all the exercises in this section