Graph of Rational Functions

  1. Graph of the type f(x) = k/x: Its vertical asymptote will be x=0 and its horizontal asymptote will bt the value of y when the value of x is very large, say x = ∞.
    1. When k > 0, say k=1, the value of y = 1/∞= 0 which is the horizontal asymptote.
      Using a graphing calculator, its graph will be as shown below.
        

      When k < 0 say k=-1

  2.    Graph of the type f(x) =
    1. Vertical Asymptote: The denominator is 0 when x = a; hence, the vertical asymptote is x = a.
    2. Horizontal Asymptote: When the denominator is very large, i.e. ∞, then b/(x-a) is 0. Y = f(x) = k is the horizontal asymptote.
         The graph of is shown below.

    Steps for drawing the graph of a rational function

    1. Draw the vertical asymptote x=a.
    2. Draw the horizontal asymptote y=k.
    3. Plot the points on each side of the vertical asymptote.
    4. Join the points to form the hyperbolas which approach the asymptotes.

    Table of values

    X

    Y

    3

    2

    -2

    0.75

    -1

    1-1/3=2/3


    This will be a hyperbola with vertical asymptote x=a and horizontal asymptote y=k.
  3. This will be a hyperbola with vertical asymptote x=a and horizontal asymptote y=k.
    1. The x intercepts of the graph will be the points where y = f(x) = 0, hence p(x)=0.
      The values of x for which a polynomial is zero are called the zeros of polynomial p(x).
    2. The vertical asymptote will exist for all the points where q(x) = 0, i.e. all real zeros of q(x).
      The example below shows the graph of x/(x+1).

Steps to find the horizontal asymptote

  1. Find the highest degree of p(x) and q(x).
    Examples
    1. (x-1)(2x+1) = 2x2 –x-1
      Here, x is multiplied with another x only one time (2x2); therefore, its highest degree is 1+1=2.
    2. (x+1)(x+2)(x+3)
      Here, x is multiplied with another x two times (x3); therefore, its highest degree is 1+2=3.
  2. Horizontal asymptote: take the monomial with the highest degree of x common in both p(x) and q(x).
    Example
    : Here x2 is the only monomial in the numerator, and in the denominator, x is the highest degree monomial. Take these monomials in common as shown below:
    1. If the degree of p(x) = q(x), then these monomials will cancel out. The terms with x in the denominator would become zero, and we will get the value of the horizontal asymptote.
      Example
        =
    2. If the maximum degree of p(x) > 0, then its horizontal asymptote doesn’t exist as y will be infinity.
    3. If the degree of p(x) < q(x), then the horizontal asymptote will be y = 0.
      Example: Type - p(x)/q(x) where the degree of p(x) = the degree of q(x).
      Graph the rational function y = (2x+5)/(x-1).
      Solution: First, we find the vertical asymptote where the function does not exist, and for this we check where the denominator of the given equation is zero. For this, let us set the denominator equal to zero (as shown below) and find the points.
           x – 1 = 0
           x = 1
      So, at x = 1 the graph does not exist.
      Next, we will find the horizontal and oblique asymptotes. Since the degree of the numerator and denominator are the same, the oblique asymptote does not exist, but the horizontal asymptote does exist.
      To find the horizontal asymptote, we need to find the value of x as the horizontal asymptote will be the result of dividing the leading coefficients:
           y = 2/1 = 2
      These excluding lines are represented on the graph as:

      Now find the x and y intercepts.

      x = 0:                   y = (0 + 5)/ (0 – 1) = 5/–1 = –5

      y = 0:                   0 = (2x + 5)/(x – 1)

                                  0 = 2x + 5

                                –5 = 2x   

                              –2.5 = x

      Now take a few x values and find the corresponding values of y:

      x = –6
      y = (2(–6) + 5)/ ((–6) – 1) = (–12 + 5)/ (–7) = (–7)/ (–7) = 1

      x = –1
      y = (2(–1) + 5)/ ((–1) – 1) = (–2 + 5)/ (–2) = (3)/ (–2) = –1.5

      x = 2
      y = (2(2) + 5)/ ((2) – 1) = (4 + 5)/ (1) = (9)/ (1) = 9

      x = 3
      y = (2(3) + 5)/ ((3) – 1) = (6 + 5)/ (2) = (11)/ (2) = 5.5

      x = 6
      y = (2(6) + 5)/ ((6) – 1) = (12 + 5)/ (5) = (17)/ (5) = 3.4

      x = 8
      y = (2(8) + 5)/ ((8) – 1) = (16 + 5)/ (7) = (21)/ (7) = 3

      x = 15
      y = (2(15) + 5)/ ((15) – 1) = (30 + 5)/ (14) = (35)/ (14) = 2.5

      Now plot all this points on the graph including intercepts:

      And now join the points:

      Example: Type - p(x)/q(x) where the degree of p(x) > degree of q(x) = 1.
      Graph the rational function given by y = (x3 – 8)/(x2 + 5x + 6)
      Solution: First, we find the vertical asymptote by putting the denominator equal to zero.
      x2 + 5x + 6 = 0
      (x + 3)(x + 2) = 0
      x = –3, x = –2
      Now find the horizontal and oblique asymptotes. Since the numerator has the greater degree, we find the oblique asymptote.
        
      Hence, the question of the given division is (x - 5) which is our oblique asymptote. Graph for the asymptotes is given below:

      Now find the x and y intercepts, i.e.
      x = 0:  y = (0 – 8)/(0 + 0 + 6) = –4/3
      y = 0:  0 = (x3 – 8) / (x2 + 5x + 6)
                  0 = x3 – 8 = (x – 2)(x2 + 2x + 4)
                  0 = x – 2
                 2 = x
      Find the set of ordered pairs.
      x

      y

      –8

      –17.333

      –5

      –22.167

      –4

      –36

      –3.5

      –67.833

      –2.9

      359.878

      –2.5

      94.5

      –2.4

      90.933


      x

      y

      –2.1

      191.789

      –1.9

      –135.082

      –1.5

      –15.167

      –1

      –4.5

      4

      1.333

      7

      3.722

      10

      6.359


      Now plot the points on the graph:

      Join the points to obtain the graph.

Try these problems

  1. The graph shown below is of a _____________ function.


    1. Logarithmic
    2. Rational
    3. Exponential
    4. Quadratic
    5. Answer: B.
  2. Find the horizontal and vertical asymptotes of the rational function
    1. y = 6 and x = 7/2
    2. y = 3 and x = 7/2
    3. y = 17/6 and x = 7/2
    4. y = 1 and x = 7/2
    5. Answer: B.