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 f use the following steps to sketch a graph of f:

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

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

  4. Determine whether f has any vertical asymptotes.
  5. Calculate f. Find all critical points and determine the intervals where f is increasing and where f is decreasing. Determine whether f has any local extrema.
  6. Calculate f. Determine the intervals where f is concave up and where f is concave down. Use this information to determine whether f has any inflection points. The second derivative can also be used as an alternate means to determine or verify that f 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)

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)

Example: Sketching a Rational Function

Sketch the graph of f(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.