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:
- Determine the domain of the function.
- Locate the xx– and yy-intercepts.
- Evaluate limx→∞f(x)limx→∞f(x) and limx→−∞f(x)limx→−∞f(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.
- Determine whether ff has any vertical asymptotes.
- Calculate f′f′. Find all critical points and determine the intervals where ff is increasing and where ff is decreasing. Determine whether ff has any local extrema.
- Calculate f′′f′′. 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)=(x−1)2(x+2)f(x)=(x−1)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)=(x−1)3(x+2)f(x)=(x−1)3(x+2)
Example: Sketching a Rational Function
Sketch the graph of f(x)=x21−x2f(x)=x21−x2
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)=x2x−1
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)=3x3−2x+12x2−4
Use long division of polynomials.
Example: Sketching the Graph of a Function with a Cusp
Sketch a graph of f(x)=(x−1)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)=5−x23. Determine the point on the graph where a cusp is located. Determine the end behavior of f.
Candela Citations
- 4.6 Limits at Infinity and Asymptotes (part 2 - curve sketching). Authored by: Ryan Melton. License: CC BY: Attribution
- Calculus Volume 1. Authored by: Gilbert Strang, Edwin (Jed) Herman. Provided by: OpenStax. Located at: https://openstax.org/details/books/calculus-volume-1. License: CC BY-NC-SA: Attribution-NonCommercial-ShareAlike. License Terms: Access for free at https://openstax.org/books/calculus-volume-1/pages/1-introduction