Rational Function

The word ‘ratio’ is the root of the term ‘rational’. Thus, a rational function is the ratio of two polynomial functions where the denominator is never 0.

A function of a real variable x, say f(x), is a rational function if it can be represented as:

Rational functions are applied broadly in science for interpolating and approximating functions in numerical analysis and solving related rates, time, and work problems.

Domain

The domain of a rational function f(x) includes all possible real values of x, which is true for the given function. Hence it excludes the values for which the denominator of the rational function is zero.

For example, let us find the domain of f(x) = $< x^+3x-10>>$.

First, we find the zeros of the denominator x 2 + 3x – 10

Hence the rational function f(x) is not defined for x = and thus the domain is >$ : x ≠ 2, -5>

Range

The range of a rational function y = f(x) is the set of all the values of y for the corresponding values of x.

For example, to find the range of the rational function f(x) = $< x^+3x-10>>$, we write

⇒ y (x 2 +3x – 10) – (x – 1) = 0

⇒ (y) x 2 + (3y – 1) x – (10y +1) = 0 …. (i)

As x is real, the discriminant of (i) is ≥ 0, and thus, y ≠ 0

So, 49 y 2 – 2y + 1 ≥ 0

As the lowest possible value of $<\left( y-\dfrac<1>\right) ^>$ is 0, (ii) is true for all values of y.

So, the range of the given function is >$>

Excluded Value

In a rational function, an excluded value is any value of x that makes the function value y undefined. So, these values are excluded from the domain of the function.

For example, the excluded value of the function $>$ is 4. That is, when x = 4, the value of y is undefined.

Asymptote

An asymptote is a line that the graph of the function approaches but never actually touches. Thus, these values are excluded from the domain of the function. A rational function can have three kinds of asymptotes: vertical (at least one), horizontal (at most one), and oblique (at most one).

Considering the rational function f(x) = $<\dfrac>$, we will discuss the different types of asymptotes.

Vertical Asymptote

It is a vertical line that the graph of the function approaches but never actually touches. The graph approaches the vertical line x = 0 as the input reaches zero.

A rational function can have one or more vertical asymptotes. To find the vertical asymptote, we set the denominator q(x) = 0.

For example, the function f(x) = $< x^-1>>$ is undefined when x = ±1

Thus, the vertical asymptotes of the given function are x =

Horizontal Asymptote

It is a horizontal line that the graph of the function approaches but never touches. A rational function can have a maximum of one horizontal asymptote.

Let the degree of q(x) = d and the degree of p(x) = n. f(x) has a horizontal asymptote only when n ≤ m.

For the function f(x) = $< x-2>>$, n = d = 1, an = 4 and bd = 1.

Hence the horizontal asymptote is y = 4.

Oblique Asymptote

It is an oblique line that the graph of the function approaches but never touches.

A rational function f(x) has an oblique or slant asymptote when the degree of p(x) is exactly greater than the degree of q(x) by 1.

In this case, the oblique asymptote is y = quotient, where the quotient is obtained when the numerator is divided by the denominator through the long division method.

In the rational function f(x) = $< \dfrac-5x+4>>$, the degree of p(x) = 2, degree of q(x) = 1. Hence the given function has an oblique asymptote.

Now dividing (x 2 – 5x + 4) by (x – 3) through long division method gives the quotient (x – 2) and the remainder (-2), i.e., f(x) = $< \dfrac-5x+4>>$ = (x-2) – $< x-3>>$

Thus the oblique asymptote of the function f(x) = $< \dfrac-5x+4>>$ is x – 2s

Hole

Suppose a rational function f(x) passes through a coordinate but is undefined at the x value of the same coordinate. Then, that coordinate is called a hole of that given function.

A hole exists at only when the denominator and the numerator of a rational function have a common factor (x – a).

How to Find Holes in Rational Functions

For example, let us find the holes of the function f(x) = $-2x-8>+5x+6>>$.

Hence (x + 2) is a common factor of both the numerator and the denominator, and f(x) = $< \dfrac>$.

Thus there is a hole at x = (-2), and the coordinate is given by (-2, f(-2)) = (-2, -6)

Zero or Root

Like polynomial functions, a rational function has zeros or roots, the points where the graph crosses the x-axis, or f(x) = 0. In a rational function, they are the zeros of the numerator, and they don’t depend on the denominator unless there is a hole.

End Behavior

The end behavior of a function 𝑓(𝑥) describes the function’s behavior when 𝑥→+∞ or 𝑥→−∞. It is equal to the horizontal asymptotes, slant/oblique asymptotes, or the quotient obtained when long dividing the polynomials.

For the parent function $>$, the end behavior is:

How to Graph a Rational Function

We will follow the following steps to solve and graph a rational function.

Let, y = f(x) = $-2x-8>+5x+6>>$ be a rational function.

Step 1: First, we factor out the common factor (if any) of the numerator and the denominator and write f(x) in the simplest form.

We have already shown that (x + 2) is a common factor of the above function’s numerator and denominator.

Step 2: The x-intercepts or zeros of the function are plotted by putting y = 0, and the y-intercepts are plotted by putting x = 0

So for the function f(x) = $< \dfrac>$, the x-intercept is at (4, 0), and the y-intercept is at $<\left( 0,-\dfrac<4>\right)>$.

Step 3: We identify and draw the vertical asymptote using a dotted line.

Here, as x = -3 is a zero of f(x), the vertical asymptote is x = -3.

Step 4: We draw the horizontal asymptote (if any) using another dotted line.

Here degree of (x – 4) = degree of (x + 3) = 1. Hence the horizontal asymptote of f(x) is at y = $< \dfrac>$ = 1.

Step 5: Then, the holes are plotted (if any).

We have already shown that the hole of f(x) is at (-2, -6)

Step 6: Thus, we pick random points to the right and left of both the x-intercepts and the vertical asymptote to find the corresponding values of y.

For the given function $-2x-8>+5x+6>>$, the values are given below:

xy = f(x)
-6 3.333
-54.5
-4 8
-3Vertical Asymptote
-2 – 6
0-1.333
1–0.75
2-0.4
3-0.167
40 (x-intercept)
50.125
60.222

Finally, these points are plotted and joined by two curves to get the graph of the given rational function.

Which of the following rational functions is graphed below
A.$>$ C.$>$
B.$>$ D.$>$

Let the required function be f(x)
The graph shows a vertical asymptote at x = 3. So the denominator of f(x) contains the term (x – 3) and has the form:
f(x) = $<\dfrac>$
Here the horizontal asymptote is y = 0, as the curve never touches the x-axis. Hence, the degree of p(x) < the degree of (x – 3) = 1
Thus the required rational function is option A: $>$

The Inverse of a Rational Function

Let f(x) be a rational function. To find the inverse f-1(x) of a rational function f(x), first f(x) is replaced by y and x, y are interchanged. Then the resulting equation is solved, and we write the value of y in terms of x.

For example, to get the inverse of the function f(x) = $>$, we write

Interchanging x and y gives, x = $>$ ….(i)

Last modified on August 3rd, 2023