Drawing Graphs of Functions

Learning Outcomes

  • Analyze a function and its derivatives to draw its graph

Guidelines for Graphing a Function

We now have enough analytical tools to draw graphs of a wide variety of algebraic and transcendental functions. Before showing how to graph specific functions, let’s look at a general strategy to use when graphing any function.

Problem-Solving Strategy: Drawing the Graph of a Function

Given a function ff use the following steps to sketch a graph of ff:

  1. Determine the domain of the function.
  2. Locate the xx– and yy-intercepts.
  3. Evaluate limxf(x)limxf(x) and limxf(x)limxf(x) to determine the end behavior. If either of these limits is a finite number LL, then y=Ly=L is a horizontal asymptote. If either of these limits is or , determine whether ff has an oblique asymptote. If ff is a rational function such that f(x)=p(x)q(x)f(x)=p(x)q(x), where the degree of the numerator is greater than the degree of the denominator, then ff can be written as
    f(x)=p(x)q(x)=g(x)+r(x)q(x)f(x)=p(x)q(x)=g(x)+r(x)q(x),

    where the degree of r(x)r(x) is less than the degree of q(x)q(x). The values of f(x)f(x) approach the values of g(x)g(x) as x±x±. If g(x)g(x) is a linear function, it is known as an oblique asymptote.

  4. Determine whether ff has any vertical asymptotes.
  5. Calculate ff. Find all critical points and determine the intervals where ff is increasing and where ff is decreasing. Determine whether ff has any local extrema.
  6. Calculate ff. Determine the intervals where ff is concave up and where ff is concave down. Use this information to determine whether ff has any inflection points. The second derivative can also be used as an alternate means to determine or verify that ff has a local extremum at a critical point.

Now let’s use this strategy to graph several different functions. We start by graphing a polynomial function.

Example: Sketching a Graph of a Polynomial

Sketch a graph of f(x)=(x1)2(x+2)f(x)=(x1)2(x+2)

Watch the following video to see the worked solution to Example: Sketching a Graph of a Polynomial.

Try It

Sketch a graph of f(x)=(x1)3(x+2)f(x)=(x1)3(x+2)

Example: Sketching a Rational Function

Sketch the graph of f(x)=x21x2f(x)=x21x2

Try It

Sketch a graph of f(x)=3x+58+4x

Example: Sketching a Rational Function with an Oblique Asymptote

Sketch the graph of f(x)=x2x1

Watch the following video to see the worked solution to Example: Sketching a Rational Function with an Oblique Asymptote.

Try It

Find the oblique asymptote for f(x)=3x32x+12x24

Use long division of polynomials.

Example: Sketching the Graph of a Function with a Cusp

Sketch a graph of f(x)=(x1)23

Watch the following video to see the worked solution to Example: Sketching the Graph of a Function with a Cusp.

Try It

Consider the function f(x)=5x23. Determine the point on the graph where a cusp is located. Determine the end behavior of f.