Curve sketching
There is no universal way of going about sketching the graph of a function. For complicated functions, sketching the graph may be impractical; in such cases, computer plots are more helpful. In this section we outline some points that are useful when considering the shape of graphs.
- Is the function even, odd, periodic?
- Does the graph cross the or axes?
- Does have stationary points? If so, what is their nature?
- Does the graph have asymptotes (lines or curves the function approaches as or ?
The figure shows the function . It has 3 stationary points at . The point is a local and global minimum, is a local minimum and is a local and global maximum.
- If for every on some interval, then is increasing on the interval. Similarly, if for every on then is decreasing on the interval. If for every on then is constant on the interval.
- Is the function concave up or down? If for all on some interval then is concave up (concave down) on .
Let us consider a function where we want to extract information on its graph. We first note that and hence the function is odd. The function has 3 roots which occur at given at and . Further, there are two stationary points at where and, by application of the second derivative test, so is a maximum while and so is a minimum. Finally tends to as . This gives us enough information to sketch the graph of :
Rational functions
Consider now a function given as
where and are polynomial functions. The graph of has vertical asymptotes if has real zeros, assuming that does not have zeros at the same points. For instance, consider the odd function
The graph of has vertical asymptotes at . For the case where the degree of is greater than the degree of (like in our example), long division gives us a quotient, and a remainder, such that
provided that the degree of is strictly less than that of . It follows that as and so and are close to each other. In our example, the degree of is one more than the degree of and the quotient is a linear function known as the slant asymptote. To determine for our example, we rewrite as
Using the binomial expansion for the term in the denominator we have
Recall that in the binomial expansion given by with not a positive integer, the resulting series does not terminate and it converges for . In our case, we have so we would expect convergence in . Note that when is large (and is small). Substituting the series expansion in:
as . Further, a Maclaurin expansion around gives ; it follows that near the graph of looks like .
The graph of the function where is given by . There are two vertical asymptotes at shown with grey, dashed lines and a slant asymptote given by shown with a red, dashed line. Near , the function behaves like .