Curve Sketching
Without actually drawing a function with a graphing calculator it is occasionally useful to draw a rough sketch of how a particular function behaves. One could pick random points and plot them then draw a reasonable looking curve through them, but there is no certainty that you have captured all the interesting features this way. We already know how to identify certain characteristics of a function, the horizontal and vertical asymptotes and x and y intercepts. However, frequently these don't tell us enough about the actual shape. In particular, there are two aspects we are interested in. Where does the function change directions (increasing versus decreasing), and where does the bend in the function switch (up versus down)? If we get a handle on these two things we know not only what the function looks like but we can determine the relative maximums and minimums, which are often important for optimization purposes.
Procedure
Identify the critical numbers/values
These are the x values (only in the actual domain of the function) where f'(x) is either 0 or undefined. If there is going to be a change in direction (increasing versus decreasing) it will have to occur at one of these points. If the function is a piecewise defined function where the slope suddenly changes from one section to the next or if there is a jump discontinuity between section, that constitutes an undefined derivative and thus a critical value.
Mathematically speaking, one must calculate f'(x) and then solve for x values where the numerator or the denominator equal 0 (provided that the original function is not undefined in that same place).
Find local/relative maximum and minimum
Investigating each critical point to see whether it is a local minimum or maximum or something else entirely (such as a horizontal or vertical point of inflection) can be done in two different ways.
First Derivative Test
Since the function is only increasing or only decreasing between critical numbers, the direction of the function in each interval can be found by identifying the sign of the derivative at only one sample point in that interval. It is helpful then, to draw up a sign diagram of f'(x) indicating where the derivative is positive and negative.
Essentially by definition, if f'(x) switches from positive to negative at a critical point, it is a local maximum.
If f'(x) switches from negative to positive at a critical point, it is a local minimum.
If f'(x) remains the same sign on either side of the critical point, it is neither a local maximum nor a minimum.
Second Derivative Test
Since a gradual change from negative slope to positive slope constitutes an upward curvature, we can conclude that f"(x) > 0 at a critical point implies a local minimum there.
Similarly f"(x) < 0 at a critical point implies a local maximum there.
Unfortunately, if f"(x) is undefined at the critical point (such as when f'(x) itself is undefined at a corner or vertical point of inflection) or equal to 0 (such as at a horizontal point of inflection) we can't conclude much of anything and have to resort to the First Derivative Test.
Identify the inflection points
Similar to critical values, these are where the curvature (second derivative instead of the first) changes direction. This only happens at the x values in the domain of f(x) where f"(x) is either undefined or equal 0. One needs to calculate the second derivative, f"(x), and solve for the values of x where either the numerator or denominator are 0.
Establish regions of downward and upward concavity
Since the curvature must be entirely in one direction or the other between adjacent inflection points, one can test the second derivative at any convenient point in that interval to identify whether the function is concave up or concave down there. This information can either be used to supplement the picture of the function one has formed using the First Derivative Test (using smooth curves rather than straight lines), or as the basis for the Second Derivative Test (using the critical values as the points of interest).
Examples
One
Critical values
First Derivative Test
Down, -3, Up, 0, Up, 3, Down
Switches from decreasing to increasing at x = -3, so minimum
No switch at x = 0, so horizontal point of inflection
Switches from increasing to decreasing at x = 3, so maximum
Second Derivative Test
Positive curvature at x = -3, thus minimum
Zero curvature at x = 0, use First Derivative Test
Negative curvature at x = 3, thus maximum
Inflection points
Regions of curvature
Up,
, Down, 0, Up,
, Down
Two
Needs["Miscellaneous`RealOnly`"]
Critical values
First Derivative Test
Up, 0, Down, 2, Up
Switches from increasing to decreasing at x = 0, so maximum
Switches from decreasing to increasing at x = 2, so minimum
Second Derivative Test
Undefined curvature at x = 0, use First Derivative Test
Positive curvature at x = 1.32283, thus minimum
Inflection points
Regions of curvature
Down, -1, Up, 0, Up
Three
Critical values
Can ignore negative result. Also x = 0 is a vertical asymptote but not a critical value
First Derivative Test
0, Down, 31.6228, Up
Switches from decreasing to increasing at x = 31.6228, so minimum
Second Derivative Test
Positive curvature at x = 31.6228, thus minimum
Inflection points
No inflection point
Regions of curvature
Upward curvature for all x>0 (which is all we are interested in
Four
Critical values
Drop negative value
First Derivative Test
0, Up, 5, Down
Switches from increasing to decreasing at x = 5, so maximum
Second Derivative Test
Negative curvature at x = 5, thus maximum
Inflection points
Ignore negative inflection point
Regions of curvature
0, Down, 8.66025, Up
Created by Mathematica (June 15, 2005)