Assume that a function f is reasonable, which here means that its domain consists of at most countably many intervals, on each of which the function is twice differentiable. To sketch the graph of such a function we follow this procedure.
Graph sketching algorithm:
Step 1. Determine the domain of f, intercepts with axes (if
possible), symmetry and periodicity, and continuity (sometimes with help from
limits from Step 2). For more on these topics see
Functions - Methods Survey
- Real functions.
Step 2. Find appropriate one-sided limits at all endpoints of
intervals from the domain of f, possibly also for individual intervals
from the definition of f. For more info on limits see
Functions - Methods Survey
- Limits. Where appropriate, interpret these results as asymptotes, if
necessary do the algorithm for oblique asymptotes, see
Methods Survey - Graphing -
Asymptotes.
Step 3. Find the derivative f ′. Use it to determine
intervals of monotonicity and local extrema, for more details see
Methods Survey - Graphing -
Monotonicity and local extrema.
Step 4. Find the second derivative f ′′. Use it to
determine intervals of concavity and inflection points, for more details see
Methods Survey - Graphing -
Concavity and inflection points.
Step 5. Draw the graph. Two strategies.
1) At each step of this procedure, put the acquired data into the picture, use
it to make the picture more precise at each step.
2) First do all calculations, then put all points into the picture, then combine
the information on monotonicity and concavity
and create the final shape. For more details see
Ingredients of graph sketching in
Theory - Graphing functions.
Example: Sketch the graph of
Solution:
Intercepts:
Limits at endpoints:
We see that there is a vertical asymptote at
We find the derivative and use it to determine that f is increasing
on
We find the second derivative and use it to determine that
f is concave down on
Calculations are done, it is time to sketch the graph. We draw coordinate axes and mark all points and limits at endpoints to anchor the graph.
Next we combine the charts of monotonicity and concavity to have a better idea of the shape of the graph.
Finally we "hang" this shape on the anchoring points in the picture to get the graph, we also use the info about a horizontal tangent line at 0.
Remarks:
If the function we are sketching has a proper one-sided limit at some proper
endpoint (see
Step 2), we need to know in which direction we should start drawing the graph
from that point. This we find out by calculating the appropriate one-sided
derivative at that point, most likely using a limit, and we need not worry
about continuity in this particular case, see
this note.
2. If f is a split function, then the best strategy is to do every step simultaneously for all expressions that define this function and collate the information. For more details see the section Split functions in Theory - Graphing functions, see also this example in Solved Problems - Graphing.
3. If f contains an absolute value (or more of them), then one should start by getting rid of them, writing the given function as a split function. See the appropriate example in Solved Problems - Graphing.
For other examples see Introduction in Theory - Graphing and appropriate problems in Solved Problems.
Monotonicity and local extrema
Back to Methods Survey - Graphing
functions