
Algorithm for Curve Sketching
1. Determine the domain and any discontinuities
- Infinite discontinuity: Denominator = 0
- Jump discontinuity: Usually piecewise functions
- Point discontinuity: When a factor in the numerator "cancels" with a factor in the denominator
2. Determine the intercepts (Let x=0, then y=0)
3. Find any asymptotes & the function's behaviour near these asymptotes
- Vertical asymptote x=a: when the denominator of a rational function equals 0
- Horizontal asymptote y=k: x→±∞limf(x)=k
- Oblique asymptote: the numerator's degree is 1 greater than the denominator's degree
4. Find the critical points (Solve f′(x)=0 or f′(x) undefined)
5. Determine intervals of increasing & decreasing
- When f′(x)>0, the function is increasing
- When f′(x)<0, the function is decreasing
6. Find the inflection points (Solve f′′(x)=0 or f′′(x) undefined)
7. Determine intervals of concave up & concave down
- When f′′(x)<0, the function is concave down
- When f′′(x)>0, the function is concave up
8. Classify the critical points as local max, local min, or neither
- Use the first derivative test:
- When f′>0 to the left of x=a and f′<0 to the right of x=a → local max
- When f′<0 to the left of x=a and f′>0 to the right of x=a → local min
- Use the second derivative test:
- When f′′(a)<0 → x=a is a local max
- When f′′(a)>0 → x=a is a local min

Example: Curve Sketching
Sketch the graph of f(x)=x3−6x2+9x.
1. Domain and discontinuities
This is a polynomial, so it's continuous everywhere.
2. Intercepts
- Let x=0: f(0)=03−6(0)2+9(0)=0
- Let y=0: 0=x3−6x2+9x → 0=x(x−3)(x−3)
So, the y-intercept is (0, 0), and the x-intercepts are (0, 0) and (3, 0).
3. Asymptotes
- Vertical asymptote: None
- Horizontal asymptote: None
- Oblique asmptote: None
4. Critical points
f′(x)=3x2−12x+9
f′(x)=3(x2−4x+3)
f′(x)=3(x−3)(x−1)
0=3(x−3)(x−1)
x=3, 1
5. Intervals of increasing & decreasing

6. Inflection points
f′′(x)=6x−12
0=6x−12
x=2
7. Intervals of concave up and concave down

8. Classify critical points
Use first derivative test:
- x=1: increasing on the left, decreasing on the right → local max
- x=3: decreasing on the left, increasing on the right → local min
Use second derivative test:
- x=1: f′′(1)=6(1)−12<0 → local max
- x=3: f′′(3)=6(3)−12>0 → local min


Example: Curve Sketching
Sketch the graph of g(x)=x2−4x+3.
1. Domain and discontinuities
This is a rational function, so it's discontinuous when the denominator equal 0:
x=−2, x=2
2. Intercepts
- Let x=0: g(0)=(02−4)0+3=−43
- Let y=0: 0=x2−4x+3 → x=−3
So, the y-intercept is (0, −43), and the x-intercept is (−3, 0).
3. Asymptotes
- Vertical asymptote: x=−2 and x=−2
- x→−2−x→−2+x→2−x→2+g(x)→0+1g(x)→0−1g(x)→0−5g(x)→0+5g(x)→+∞g(x)→−∞g(x)→−∞g(x)→+∞
- Horizontal asymptote: y=0
- As x→∞: g(1000)=9999961003>0 (above the H.A.)
- As x→−∞: g(−1000)=999996−997<0 (below the H.A.)
- Oblique asmptote: None
4. Critical points
f′(x)=[x2−4]2(1)(x2−4)−(x+3)(2x)
f′(x)=(x2−4)2−x2−6x−4
0=(x2−4)2−x2−6x−4
0=x2+6x+4
x=2(1)−6±62−4(1)(4)
x=2−6±20
x=2−6±25
x=−3±5
5. Intervals of increasing & decreasing

6. Inflection points
f′′(x)=[(x2−4)2]2(−2x−6)(x2−4)2−(−x2−6x−4)[2(x2−4)×2x]
f′′(x)=(x2−4)4(−2x−6)(x2−4)2−4x(−x2−6x−4)(x2−4)
f′′(x)=(x2−4)3(−2x−6)(x2−4)−4x(−x2−6x−4)
f′′(x)=(x2−4)3−2x3+8x−6x2+24+4x3+24x2+16x
f′′(x)=(x2−4)32x3+18x2+24x+24
0=(x2−4)32x3+18x2+24x+24
It's hard to solve this equation without using technology. Inflection point analysis is inconclusive.
7. Intervals of concave up and concave down
Concavity analysis is inconclusive since we are not able to solve for f′′=0
8. Classify critical points
Use first derivative test:
- x=−3−5: decreasing on the left, increasing on the right → local min
- x=−3+5: increasing on the left, decreasing on the right → local max

Practice: Curve Sketching (Rational Function)
Following these steps to sketch the graph of f(x)=x−4x2+5x+4.
State the domain of the function.
State the x-intercept and y-intercept of the curve.
State the one vertical asymptote and identify the behaviour near this asymptote.
Find the horizontal asymptote (if any)
Find the oblique asymptote (if any).
Find the two critical points of this curve.
Identify all increasing intervals of this function.
Identify all intervals where the function is concave up.
Identify the local max and local min, if any.
Mark Yourself Question
- Grab a piece of paper and try this problem yourself.
- When you're done, check the "I have answered this question" box below.
- View the solution and report whether you got it right or wrong.
Sketch the graph.
Check your answer against the written or video solution.