Summary of Curve Sketching
Summary of Curve Sketching
If limx→∞ [f (x) − (ax + b)] = 0 or limx→−∞ [f (x) − (ax + b)] = 0, then the line y = ax + b is a
slant asymptote to the graph y = f (x). If limx→∞ f (x) − (ax + b) = 0, this means that the graph of
f (x) approaches the graph of the line y = ax + b as x approaches ∞. [ Note: If a = 0 this is a
horizontal asymptote].
In the case of rational functions, slant asymptotes (with a 6= 0) occur when the degree of the polynomial
in the numerator is one more than the degree of the polynomial in the denominator. We find an equation
for the slant asymptote by dividing the numerator by the denominator to express the function as the
sum of a linear function and a remainder that goes to 0 as x → ±∞.
Please review polynomial division in your online homework under “Review Dividing Poly-
nomials”.
Example Determine if the graphs of the following functions have a horizontal or slant/oblique
asymptote or neither and find the equation of the asymptote of the function if it exists.
1 − x4 10x3 + x2 + 1 x2 − 3
g(x) = , h(x) = , f (x) = .
2x + 3 55x3 + 23 2x − 4
g(x) is a rational function where the degree of the numerator is greater than the degree of the numerator
+1(4 > 1 + 1). Therefore this function does not have a slant asymptote.
[From our previous study of limits we have:
1
1 − x4 (1 − x4 )/x x
− x3
lim g(x) = lim = lim = lim = −∞.
x→∞ x→∞ 2x + 3 x→∞ (2x + 3)/x x→∞ 2 + 3
x
1
Summary of Curve Sketching
In this section we use the tools developed in the previous sections to sketch the graph of a function.
The following gives a check list for sketching the graph of y = f (x).
Domain of f The set of values of x for which f (x) is defined. (We should pay particular attention
to isolated points which are not in the domain of f , these may be points where there removable dis-
continuities or vertical asymptotes. The first and second derivative may also switch signs at these
points.)
x and y-intercepts
• The x-intercepts are the points where the graph of y = f (x) crosses the x-axis. They occur at the
values of x which give solutions to the equation f (x) = 0.
• The y-intercept is the point where the graph of y = f (x) crosses the y-axis. The y-value is given
by y = f (0).
• A function is even if f (−x) = f (x) for all x in the domain. In this case the function has mirror
symmetry in the y axis. For example f (x) = x2 . In this case it is enough to graph the function
for x > 0 and the other half of the graph can be determined using symmetry.
• A function is odd if f (−x) = −f (x) for all x in the domain of f . In this case the function has
central symmetry through the origin. For example f (x) = x3 . In this case it is enough to graph
the function for x > 0 and the other half of the graph can be determined using symmetry.
• A function is said to have period p if p is the smallest number such that f (x + p) = f (x) for all x
in the domain of f . In this case it is enough to draw the graph of f (x) on an interval of length p.
This graph then repeats itself on adjacent intervals of length p in the domain of f . For example
tan(x) = tan(x + π) for all x in the domain of tan x.
Asymptotes
• If limx→a+ f (x) = ±∞ or limx→a− f (x) = ±∞, then the line x = a is a vertical asymptote to the
graph y = f (x).
• If limx→∞ f (x) = L or limx→−∞ f (x) = L, then the line y = L is a horizontal asymptote to the
graph y = f (x).
• If limx→∞ [f (x) − (ax + b)] = 0 or limx→−∞ [f (x) − (ax + b)] = 0, then the line y = ax + b is a
slant asymptote to the graph y = f (x).
Intervals of Increase or Decrease By computing the sign of f 0 (x), we can determine the intervals
on which the graph of f (x) is increasing and decreasing. The graph of f is increasing on intervals where
f 0 (x) > 0 and decreasing on intervals where f 0 (x) < 0.
Local Minima/Maxima To locate the local maxima/minima, we find the critical points of f . These
are the values of x in the domain of f for which f 0 (x) does not exist, or f 0 (x) = 0. If c is a critical point
we can classify c as a local maximum, local minimum or neither using the first derivative test:
• If f 0 switches from positive to negative at c, as we move from left to right along the graph, then
f has a local maximum at x = c.
2
• If f 0 switches from negative to positive at c, as we move from left to right along the graph, then
f has a local minimum at x = c.
• If f 0 does not switch sign at c, as we move from left to right along the graph, then f has neither
a local maximum nor a local minimum at x = c.
If c is a critical point sometimes we can determine whether the graph has a local maximum or minimum
at x = c using the second derivative test:
Concave up/Concave down and points of inflection We can determine the intervals on which
the graph of f (x) is concave up and concave down by computing the sign of f 00 (x). The graph of f is
concave up on intervals where f 00 (x) > 0 and concave down on intervals where f 00 (x) < 0.
Sketching the curve With the above information, we should draw the asymptotes, plot the x and y
intercepts, local maxima, local minima and points of inflection. We draw the curve through these points,
increasing, decreasing, concave up, concave down and approaching the asymptotes as appropriate.
Example Sketch the graph of the function:
x2 − 3
f (x) = .
2x − 4
3
.
4
Example Sketch the graph of
1
g(x) = .
1 + sin x
5
.
6
Example Sketch the graph of
1
g(x) = .
1 + sin x
3π
• Domain of g = {x|1 + sin x 6= 0} = the set of all values of x except 2
+ 2nπ, where n is an integer.
1
• y-intercept: g(0) = 1+sin 0
= 1, gives y-intercept at (0, 1).
No x-intercept g(x) = 0 has no solution.
• We have g(x + 2π) = g(x) for all x, therefore it is enough to draw the graph on the interval [0, 2π]
and repeat.
• Critical Points:
− cos x
f 0 (x) = (1+sin x)2
Critical points where cos x = 0, i.e. at x = π2 or 3π
2
. x = 3π
2
is not a critical point since it is not
in Dom f . Hence we have 1 critical point : x = π/2. f 0 < 0 on [0, π/2] and [3π/2, 2π], f 0 > 0 on
[π/2, 3π/2].
We have a local minimum at x = π/2. f (π/2) = 1/2. Hence we have a local minimum at
(π/2, 1/2).
• f 00 (x) = · · · = (1+sin
2−sin x
x)2
> 0 for asll x since 2 > sin x for all x.
Therefore the graph is concave up everywhere.
20
18
16
14
12
10
1
f(x) =
1 + sin(x) 8
– 4! – 3! – 2! –! ! 2! 3! 4!
–2
–4
–6
–8
– 10
– 12
7
– 14