Limits at Infinity and Asymptotes: Learn It 6

Drawing Graphs of Functions

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.

How To: Draw the Graph of a Function

Given a function [latex]f[/latex] use the following steps to sketch a graph of [latex]f[/latex]:

  • Step 1: Determine the domain of the function.
  • Step 2: Locate the [latex]x[/latex]– and [latex]y[/latex]-intercepts.
  • Step 3: Evaluate [latex]\underset{x\to \infty }{\lim}f(x)[/latex] and [latex]\underset{x\to −\infty }{\lim}f(x)[/latex] to determine the end behavior.*
  • Step 4: Determine whether [latex]f[/latex] has any vertical asymptotes.
  • Step 5: Calculate [latex]f^{\prime}[/latex]. Find all critical points and determine the intervals where [latex]f[/latex] is increasing and where [latex]f[/latex] is decreasing. Determine whether [latex]f[/latex] has any local extrema.
  • Step 6: Calculate [latex]f^{\prime \prime}[/latex]. Determine the intervals where [latex]f[/latex] is concave up and where [latex]f[/latex] is concave down. Use this information to determine whether [latex]f[/latex] has any inflection points. The second derivative can also be used as an alternate means to determine or verify that [latex]f[/latex] has a local extremum at a critical point.

*Note for Step 3: If either of these limits is a finite number [latex]L[/latex], then [latex]y=L[/latex] is a horizontal asymptote. If either of these limits is [latex]\infty[/latex] or [latex]−\infty[/latex], determine whether [latex]f[/latex] has an oblique asymptote. If [latex]f[/latex] is a rational function such that [latex]f(x)=\frac{p(x)}{q(x)}[/latex], where the degree of the numerator is greater than the degree of the denominator, then [latex]f[/latex] can be written as

[latex]f(x)=\dfrac{p(x)}{q(x)}=g(x)+\dfrac{r(x)}{q(x)}[/latex],

where the degree of [latex]r(x)[/latex] is less than the degree of [latex]q(x)[/latex]. The values of [latex]f(x)[/latex] approach the values of [latex]g(x)[/latex] as [latex]x\to \pm \infty[/latex]. If [latex]g(x)[/latex] is a linear function, it is known as an oblique asymptote.

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

Sketch a graph of [latex]f(x)=(x-1)^2 (x+2)[/latex]

Sketch the graph of [latex]f(x)=\dfrac{x^2}{1-x^2}[/latex]

Sketch the graph of [latex]f(x)=\dfrac{x^2}{x-1}[/latex]

Sketch a graph of [latex]f(x)=(x-1)^{\frac{2}{3}}[/latex]