You must know how to properly sketch a curve (or graph) of a function. This means identifying and drawing its roots, critical points, and asymptotes. You also need to correctly draw the curve's shape, by using what you know from the function's first and second derivatives to draw a correctly oriented slope and proper concavity.
In this chapter, we will provide you with a detailed step-by-step Curve Sketching Algorithm to easily draw any graph!
Curve sketching algorithm
1. Determine discontinuities and their behaviour
This includes point, infinite and jump discontinuities
For asymptotes, test their behaviours using limits
2. Determine critical points
Set the first derivative to zero and find roots and points that are undefined
3. Determine intervals of increase/decrease/neither
Calculate the sign of the first derivative on each interval
4. Test critical points for maximum/minimum/neither
5. Determine points of inflection
6. Determine intervals of concave up/down/neither
Calculate the sign of the second derivative on each interval
7. Sketch the graph
example
Graph the function f(x)=x2−4x2+2x−3 using the curve sketching algorithm
answer
This video will show you how to properly sketch a graph, just so that you can get a feel for how it is done:
Example
Use the curve sketching algorithm to sketch f(x)=x2−42(x2−9).
Answer
To sketch the graph properly, we need to know its first and second derivatives:
f′(x)=(x2−4)220x
f′′(x)=(x2−4)3−20(3x2+4)
1) Firstly, we need to determine the discontinuities for f(x):
f(x) is discontinuous at x=−2 and x=2 since it has asymptotes there.
Let's determine the behaviours of the function at these asymptotes:
x→−2−lim((x−2)(x+2)2(x+3)(x−3))=(−4)(0−)2(1)(−5)=−∞ (note that −2−+2=0−)
x→−2+lim((x−2)(x+2)2(x+3)(x−3))=(−4)(0+)2(1)(−5)=+∞ (note that −2++2=0+)
x→2−lim((x−2)(x+2)2(x+3)(x−3))=(0+)(4)2(5)(−1)=+∞ (note that 2−−2=0−)
x→2+lim((x−2)(x+2)2(x+3)(x−3))=(0−)(4)2(5)(−1)=−∞ (note that 2+−2=0+)
We should also take a look at the end behaviours for any horizontal asymptotes:
x→+∞limx2−42(x2−9)=x→+∞limx2−42x2−18=x→+∞lim1−x242−x218=1−0+s2−0+=2 from below
x→−∞limx2−42(x2−9)=x→+∞limx2−42x2−18=x→+∞lim1−x242−x218=1−0+s2−0+=2 from below
2) Now we need to determine the critical points of f(x):
f′(x) has one root at x=0, and is also undefined at the asymptotes.
Then, f(0)=0−42(0−9)=−4−18=4.5.
So, (0,4.5) is a critical point, as well as x=−2 and x=2.
3) Now we must find the intervals of increase/decrease/neither:
x<−2
−2<x<0
0<x<2
x>2
f′(x)<0
f′(x)<0
f′(x)>0
f′(x)>0
So, f(x) is decreasing when x<0 and increasing when x>0.
4) Based on the calculations we already made, the critical point(9,4.5) is a minimum since it decreases then increases.
5) Using the second derivative, we will now determine if there are any points of inflection:
f′′(x)=(x2−4)3−20(3x2+4)
3x2+4=0⇒x2=−34⇒f(x) does not have any POIs
6) Using the second derivative, we need to determine the concavity for every interval of f(x):
x<−2
−2<x<0
0<x<2
x>2
f′′(x)<0
f′′(x)>0
f′′(x)>0
f′′(x)<0
So, f(x) is concave down when x<−2 and x>2, but concave up when −2<x<0 and 0<x<2.
7) Finally, use all the information to properly sketch the graph: