Hotmath
Math Homework. Do It Faster, Learn It Better.

Domain and Range of Rational Functions

The  domain  of a  function f x is the set of all values for which the function is defined, and the  range  of the function is the set of all values that f takes.

A rational function is a function of the form f x = p x q x , where p x and  q x are polynomials and q x 0 .

The domain of a rational function consists of all the real numbers x except those for which the denominator is 0 . To find these x values to be excluded from the domain of a rational function, equate the denominator to zero and solve for x .

For example, the domain of the parent function f x = 1 x  is the set of all real numbers except x = 0 . Or the domain of the function f x = 1 x 4  is the set of all real numbers except x = 4 .

Now, consider the function f x = x + 1 x 2 x 2 . On simplification, when x 2 it becomes a linear function f x = x + 1 . But the original function is not defined at x = 2 . This leaves the graph with a hole when x = 2 .

One way of finding the range of a rational function is by finding the domain of the inverse function.

Another way is to sketch the graph and identify the range.

Let us again consider the parent function f x = 1 x . We know that the function is not defined when x = 0 .

As x 0  from either side of zero, f x . Similarly, as x ± , f x 0 .

The graph approaches x -axis as x tends to positive or negative infinity, but never touches the x -axis. That is, the function can take all the real values except 0 .

So, the range of the function is the set of real numbers except 0 .

Example 1:

Find the domain and range of the function y = 1 x + 3 5 .

To find the excluded value in the domain of the function, equate the denominator to zero and solve for x .

x + 3 = 0 x = 3

So, the domain of the function is set of real numbers except 3 .

The range of the function is same as the domain of the inverse function. So, to find the range define the inverse of the function.

Interchange the x and y .

x = 1 y + 3 5

Solving for y you get,

x + 5 = 1 y + 3 y + 3 = 1 x + 5 y = 1 x + 5 3

So, the inverse function is f 1 x = 1 x + 5 3 .

The excluded value in the domain of the inverse function can be determined byequating the denominator to zero and solving for x .

x + 5 = 0 x = 5

So, the domain of the inverse function is the set of real numbers except 5 . That is, the range of given function is the set of real numbers except 5 .

Therefore, the domain of the given function is { x | x 3 }  and the range is { y | y 5 } .

Example 2:

Find the domain and range of the function y = x 2 3 x 4 x + 1 .

Use a graphing calculator to graph the function.

When you factor the numerator and cancel the non-zero common factors, the function gets reduced to a linear function as shown.

y = x + 1 x 4 x + 1 = x + 1 x 4 x + 1 = x 4

So, the graph is a linear one with a hole at x = 1 .

Use the graph to identify the domain and the range.

The function is not defined for x = 1 . So, the domain is { x | x 1 }  or , 1 1 , .

The range of the function is { y | y k  where  y 1 = k } .

For x 1 , the function simplifies to y = x 4 . The function is not defined at x = 1  or the function does not take the value 1 4 = 5 . That is, k = 5 .

Therefore, the range of the function is { y | y 5 }  or , 5 5 , .

Asymptotes of a rational function:

An asymptote is a line that the graph of a function approaches, but never touches. In the parent function f x = 1 x , both the  x - and  y -axes are asymptotes. The graph of the parent function will get closer and closer to but never touches the asymptotes.

To find the vertical asymptote of a rational function, equate the denominator to zero and solve for x .

If the degree of the polynomial in the numerator is less than that of the denominator, then the horizontal asymptote is the x -axis or y = 0 .

The function f x = a x , a 0  has the same domain, range and asymptotes as f x = 1 x .

Now, the graph of the function f x = a x b + c , a 0  is a hyperbola, symmetric about the point b , c . The vertical asymptote of the function is x = b and the horizontal asymptote is y = c .

Considering a more general form, the function f x = a x + b c x + d  has the vertical asymptote at x = d c and the horizontal asymptote at y = a c . More generally, if both the numerator and the denominator have the same degree, then horizontal asymptote would be y = k where k is the ratio of the leading coefficient of the numerator to that of the denominator.

If the degree of the denominator is one less than that of the numerator, then the function has a slanting asymptote.

Example 3:

Find the vertical and horizontal asymptotes of the function f x = 5 x 1 .

To find the vertical asymptote, equate the denominator to zero and solve for x .

x 1 = 0 x = 1

So, the vertical asymptote is x = 1

Since the degree of the polynomial in the numerator is less than that of the denominator, the horizontal asymptote is y = 0 .