|
|
Graphing Rational Functions

A function is a way of describing what happens to an input value in order to get an output. In mathematics, we have many different types of functions, for example, we have linear functions, quadratic functions, exponential functions, logarithmic functions and more. In this article, we will talk about rational functions.

Mockup Schule

Explore our app and discover over 50 million learning materials for free.

Graphing Rational Functions

Illustration

Lerne mit deinen Freunden und bleibe auf dem richtigen Kurs mit deinen persönlichen Lernstatistiken

Jetzt kostenlos anmelden

Nie wieder prokastinieren mit unseren Lernerinnerungen.

Jetzt kostenlos anmelden
Illustration

A function is a way of describing what happens to an input value in order to get an output. In mathematics, we have many different types of functions, for example, we have linear functions, quadratic functions, exponential functions, logarithmic functions and more. In this article, we will talk about rational functions.

Rational functions are functions expressed as fractions where both the numerator and denominator are polynomials.

Recall that polynomial functions are functions containing variables with coefficients. For example, the function y=x5+6x3+2x+9 is a polynomial function.

The following are rational functions:

y=x3-x+1x+1, y=1x+1, y=x7-20x,y=x-1x+9.

The following are not rational functions:

y=sin(x),y=2logx+1

Because we are dealing with fractions, we need to be aware that the denominator cannot be zero and thus need to be careful of single points or values that may not be valid.

The functiony=x-2x-1 is rational as it is expressed as a fraction where both the numerator and denominator are polynomial expressions. However, if we specifically look at the function whenx=1, we notice a problem. Since it is impossible to divide by zero, we notice that the function is undefined. In the section below, we will talk about how we can represent these undefined parts by representing them as asymptotes.

Graphing Rational functions with Horizontal and Vertical Asymptotes

The first thing we need to talk about in our discussion of graphs of rational functions is the idea of an asymptote.

Asymptotes are lines that a curve can get infinitely close to but never quite reach and they can be vertical, horizontal or oblique.

We graph asymptotes as dashed lines. An asymptote is a vertical asymptote when the curve approaches infinity as x approaches some constant value. An asymptote is horizontal when the curve approaches some constant value as x tends towards infinity. Oblique asymptotes take the form y=mx+b, where m and b are constants to be determined. However, for the purposes of this article, we will focus solely on vertical and horizontal asymptotes.

graphing rational functions with horizontal and vertical asymptotes, Graph showing a vertical and horizontal asymptote , Jordan Madge

Graph showing vertical and horizontal asymptote, Jordan Madge- StudySmarter Originals

Above is the graph of y=x+1x+4. We can see a vertical asymptote at x=-4 since the graph tends towards this line but never quite reaches it. Similarly, we can see a horizontal asymptote at y=1. In the next section, we will learn how to determine vertical and horizontal asymptotes for any graph.

Determining Vertical and Horizontal Asymptotes

Determining any vertical and horizontal asymptotes that a rational function may have is a key step to graphing rational functions. The method for finding a vertical asymptote is different from finding a horizontal asymptote, so we will go through the two methods here.

Finding Vertical Asymptotes

As previously mentioned, a vertical asymptote is a value of x that a graph will tend towards but never quite reach because if it does, it will lead to divisibility by zero problems. Therefore, to find the vertical asymptotes, we need to set the denominator equal to zero and solve for x.

Find the vertical asymptote for the function y=2x+9x+3

Solution:

Equating the denominator to zero, we obtain that x+3=0 and thus x=-3.

Find the vertical asymptotes for the function y=x+1x2-9

Solution:

Equating the denominator to zero, we obtain that (x2-9)=0 and factoring results in (x+3)(x-3)=0. Then, using the zero product property, x=3, x=-3 are the equations of the two vertical asymptotes.

Find the vertical asymptotes for the function y=x+1x2+5x+6.
Solution:

Equating the denominator to zero, we obtain x2+5x+6=0, and factoring results in(x+3)(x+2)=0. Then, using the zero product propertyx=-3, x=-2 are the equations of the two vertical asymptotes.

Finding Horizontal Asymptotes

To find horizontal asymptotes, we need to determine the value or values that the function tends towards as x approaches ±. To establish a method to find such values, we must first outline a key term: the degree of a polynomial. The degree of a polynomial is the order of the highest power. So, the polynomial x3+3x+7 is a degree 3 polynomial as the order of the highest power is 3.

There are three possible cases when determining the horizontal asymptotes, summarized in the table below.

Case Degree of NumeratorHorizontal asymptote
1The degree of the numerator is the same as the degree of the denominator.The horizontal asymptote is found by dividing the coefficients of the highest power of x.
2The degree is the numerator is less than the degree of the denominator.The horizontal asymptote is aty=0
3The degree of the numerator is higher than the degree of the denominatorThere is no horizontal asymptote.

Find the horizontal asymptote, if any, for the function y=x2+1x2+3x+9.

Solution:

In this case, the degree of the numerator is 2 and the degree of the denominator is also 2. Since the degree of the numerator is the same as the degree of the denominator, the horizontal asymptote is found by dividing the coefficients of the highest power of x. In this case, the coefficient of x2 is 1 on both the numerator and denominator and so the horizontal asymptote is y=1.

Find the horizontal asymptote, if any, for the function y=4x+9x3+3x+9.

Solution:

Since the degree of the numerator is 1 and the degree of the denominator is 3, we have the case 2 and thus the horizontal asymptote is just y=0.

Find the horizontal asymptote, if any, for the function id="2620569" role="math" y=x7-1x4-1.

Solution:

Since the degree of the numerator is 7 and the degree of the denominator is 4, we have case 3 and thus there is no horizontal asymptote as the function will approach infinity.

Graph intercepts

y-intercepts and zeroes

Another key step to graphing rational functions is to find the graph intercepts. In general, when graphing any function- rational or not- it is helpful to find the graph intercepts. The x-intercept can be found by finding the value of x when y=0 and the y-intercept can be found by finding the value of y when x=0. Another word for the x-intercept is called the zero of a graph.

Find both the x and y-intercepts of the function with equation y=x2+10x+93x+1

Solution:

When y=0, we have that x2+10x+93x+1=0. Multiplying both sides by 3x+1, we obtainx2+10x+9=0 and then factoring this yields (x+9)(x+1)=0. Using the zero product property, we can see that the x-intercepts are at (-9,0) and (-1,0).

When x=0, we can see that y=02+10(0)+93(0)+1=9 and so the y-intercept is at (0,9).

Graphing Rational Functions Examples

We have so far been over a few key concepts regarding the graphs of rational functions, so we will now put them all together to determine how to graph a rational function. Look at the steps involved in graphing rational functions.

Step 1: Find the asymptotes of the rational function.

Step 2: Draw the asymptotes. These are represented as dashed lines rather than solid lines.

Step 3: Find any x and y-intercepts of the rational function (Note that there may not be any x or y-intercepts).

Step 4: Choose some values of x and find the corresponding values of y. Choose integer values of x that fall on both sides of the vertical asymptote.

Step 5: Plot the intercepts and points and draw in a smooth curve.

Graph the rational function y=x+162x+8.

Solution:

To answer this question, we will go through the above steps.

Step 1: Find the asymptotes.

Equating the denominator to zero, we find that 2x+8=0 and thus x=-4. Therefore, we have a vertical asymptote at x=-4. Note that the degree of both the numerator and denominator is 1 and therefore we have one horizontal asymptote at y=12.

Step 2: Draw in the asymptotes.

Below the asymptotes are sketched using dashed lines.

Graphing rational functions example, showing asymptotes, Jordan MadgeExample showing asymptotes, Jordan Madge- StudySmarter Originals

Step 3: Find any x and y-intercepts.

When x=0, y=0+162(0)+8=2.

When y=0, x+162x+8=0 and so x+16=0 and hence x=-16.

Thus, there is a y-intercept at (0,2) and a x-intercept at (-16,0).

Step 4: Choose some values of x and hence find the corresponding values of y.

Looking at our sketch so far, we have a vertical asymptote at id="2620632" role="math" x=-4. Therefore, we should choose values of x on both sides of this asymptote.

x

-8

-6

-2

2

6

8

y

-1

-2.5

3.5

1.5

1.1

1

Step 5: Plot the intercepts and points and draw in a smooth curve.

Graphing rational function examples, plotting graph, Jordan MadgeGraph of function example, Jordan Madge- StudySmarter Originals

Graphing Rational Functions - Key takeaways

    • A rational function is a function expressed as a fraction of two polynomials.

    • Rational functions often have asymptotes.

    • An asymptote is a line that a curve will tend towards as it tends to infinity.

    • Asymptotes can be vertical, horizontal or oblique and are represented as dashed lines.

    • To sketch a rational function, you first need to determine any asymptotes and plot them. You then need to determine any intercepts that the graph may have, as well as some general points on the curve. Once plotted, a smooth curve can be drawn through the points.

Frequently Asked Questions about Graphing Rational Functions

Graphs corresponding to rational functions. For example, the graph of y=x2/(x+1) is a rational function graph. 

First find asymptotes (if any) and draw them. Then plot any x and y-intercepts as well as some general points. Finish by drawing a smooth curve between them. 

An asymptote is a vertical asymptote when the curve approaches infinity as x approaches some constant value.

Graphs corresponding to rational functions. A rational function is a function expressed as a ratio of two polynomial functions.

First find the asymptotes of the rational function. Then draw the asymptotes. These are represented as dashed lines rather than solid lines. Next find any x and y-intercepts of the rational function (Note that there may not be any x or y-intercepts). After, choose some values of x and find the corresponding values of y. Choose integer values of x that fall on both sides of the vertical asymptote. Finally plot the intercepts and points and draw in a smooth curve.  

More about Graphing Rational Functions

Join over 22 million students in learning with our StudySmarter App

The first learning app that truly has everything you need to ace your exams in one place

  • Flashcards & Quizzes
  • AI Study Assistant
  • Study Planner
  • Mock-Exams
  • Smart Note-Taking
Join over 22 million students in learning with our StudySmarter App Join over 22 million students in learning with our StudySmarter App

Sign up to highlight and take notes. It’s 100% free.

Entdecke Lernmaterial in der StudySmarter-App

Google Popup

Join over 22 million students in learning with our StudySmarter App

Join over 22 million students in learning with our StudySmarter App

The first learning app that truly has everything you need to ace your exams in one place

  • Flashcards & Quizzes
  • AI Study Assistant
  • Study Planner
  • Mock-Exams
  • Smart Note-Taking
Join over 22 million students in learning with our StudySmarter App