Complete Analysis of a Function: Vertical Tangents, the 2-Step Method and a Worked Example (Calculus 4.3)
In differential calculus, we've reached section 4.3: the complete analysis of a function, ending with a final graph. This section isn't on the exam, but it's the best practice for the big question on section 4.2. Here are my notes: how to state conclusions properly, vertical tangents, the two-step method, a worked example from start to finish and 5 solved exercises.
Topics: domain, vertical and horizontal asymptotes, intercepts, limits at the ends, symmetry, increasing and decreasing, relative and absolute extrema, concavity, inflection points, vertical tangents, sign chart
Prerequisites: quotient rule, limits at infinity, L'Hôpital's rule
Table of Contents
- Stating conclusions: coordinates, relative or absolute
- Vertical tangents
- The two-step method
- Worked example: step 1, without derivatives
- Worked example: step 2, with derivatives
- Common traps
- 5 solved exercises
1. Stating conclusions: coordinates, relative or absolute
- For extrema and inflection points, always give the coordinates: maximum at \((a,\,f(a))\), inflection point at \((b,\,f(b))\). Writing only "x = a" isn't enough.
- "Max" on its own means a relative (local) maximum.
- To say an extremum is absolute, first look at the behaviour at the ends of the domain. If \(\displaystyle\lim_{x\to-\infty}f(x)=+\infty\), the function takes values as large as you like: there is no absolute maximum.
- If the curve has a horizontal asymptote \(y=L\) at that end instead, it all depends on where \(L\) is compared with the value of the maximum (see exercise 5).
2. Vertical tangents
Example from class: \(f(x)=x^{2/3}(6-x)^{1/3}\), whose derivative is
- Near x = 0: the numerator tends to 4 and the denominator to 0. As \(x\to0^-\), \(\frac{4}{0^-}\to-\infty\); as \(x\to0^+\), \(\frac{4}{0^+}\to+\infty\). The slope becomes infinitely steep: the curve reaches \((0,\,0)\) in a vertical direction.
- Near x = 6: the numerator tends to \(-2\) and the denominator to \(0^+\) on both sides, so \(f'\to-\infty\) on both sides: vertical tangent. This point is also an inflection point.
It's the reverse of the link we saw before: a vertical tangent on the graph of \(f\) corresponds to a vertical asymptote on the graph of \(f'\).
A useful detail: at x = 0, the slope goes from \(-\infty\) to \(+\infty\): the curve comes down, then goes back up in a sharp point. This point is called a cusp (it's also a relative minimum). At x = 6, the slope is \(-\infty\) on both sides: the curve passes through the vertical tangent without making a point.
3. The two-step method
Step 1: get as much information as possible from f, without derivatives
- Domain: exclude values that make a denominator zero, that make an expression under an even root negative, etc.
- Vertical asymptotes: values excluded from the domain are candidates. Confirm them with a limit equal to \(+\infty\) or \(-\infty\), and give an equation \(x=a\).
- Intercepts: y-intercept with \(f(0)\), if 0 is in the domain; x-intercepts by solving \(f(x)=0\) (there may be several zeros).
- Behaviour at the ends: limits as \(x\to\pm\infty\) (if the domain allows it). If the limit is a number \(L\), there is a horizontal asymptote \(y=L\).
- (Optional) A first sketch, with the uncertainties that remain. Symmetry and any other visible information are worth noting.
Step 2: use the derivatives
- \(f'\): intervals of increase and decrease, extrema.
- \(f''\): concavity and inflection points.
- Step 2 never contradicts step 1: it confirms and refines the graph. If they contradict each other, there's a calculation mistake somewhere!
On the exam, you're asked for a single set of axes with the final graph.
4. Worked example: step 1, without derivatives
Domain: \(x^2-1=0\) gives \(x=\pm1\). The domain is \(\mathbb{R}\setminus\{-1,\,1\}\).
Vertical asymptotes: at \(x=\pm1\), the numerator is 2, not 0. So we get a "number / 0" form and infinite limits. Asymptotes: \(x=-1\) and \(x=1\).
Intercepts: \(f(0)=0\), so the curve passes through the origin. \(f(x)=0\) only if \(2x^2=0\), so \(x=0\). The only zero is \((0,\,0)\).
Behaviour at infinity:
You can also use L'Hôpital (form \(\frac\infty\infty\)): \(\frac{4x}{2x}=2\). Horizontal asymptote: \(y=2\), on both sides.
Sign between the asymptotes: with the test value \(x=\frac12\), the numerator is positive and the denominator \(\frac14-1\) is negative. So \(f\lt0\) on \((-1,\,1)\), except at \(x=0\) where \(f=0\).
Symmetry: the function contains only \(x^2\) terms, so \(f(-x)=f(x)\). The graph is symmetric about the y-axis.
First sketch and uncertainty: for \(x\lt-1\), the curve can't go below the x-axis (it would cross it and there would be another zero). Two scenarios are still possible:
- the curve is above \(y=2\) and approaches the asymptote from above;
- the curve is below \(y=2\) and approaches the asymptote from below.
Step 2 will decide. Reminder: a curve can cross a horizontal asymptote. The asymptote says nothing about the curve except at the ends.
5. Worked example: step 2, with derivatives
First derivative (quotient rule):
- \(f'(x)=0\) only if the numerator is zero: \(-4x=0\), so \(x=0\). That's the only critical value.
- \(f'\) doesn't exist at \(x=\pm1\), but these values aren't in the domain: they are not critical values. We still put them in the sign chart, because the sign can change on either side of a break in the domain.
- To solve \((x^2-1)^2=0\), don't expand: a power is 0 only if its base is 0, so \(x^2-1=0\).
Second derivative:
\(12x^2+4=0\) would give \(x^2=-\frac13\): no solution. You can see it right away: the numerator is a sum of positive terms, so it's always at least 4. The sign of \(f''\) depends only on \((x^2-1)^3\).
Sign chart
| x | \(x\lt-1\) | \(-1\) | \(-1\lt x\lt0\) | 0 | \(0\lt x\lt1\) | 1 | \(x\gt1\) |
|---|---|---|---|---|---|---|---|
| \(f'(x)\) | + | ∄ | + | 0 | − | ∄ | − |
| \(f''(x)\) | + | ∄ | − | − | − | ∄ | + |
| \(f(x)\) | ↗ ∪ | V.A. | ↗ ∩ | max (0, 0) | ↘ ∩ | V.A. | ↘ ∪ |
↗ increasing, ↘ decreasing, ∪ concave up, ∩ concave down, V.A. vertical asymptote.
Conclusion
- Relative maximum at \((0,\,0)\). It isn't absolute: the function tends to \(+\infty\) near the asymptotes, on the outer side.
- No inflection point: the concavity changes at \(x=\pm1\), but these values aren't in the domain.
- For \(x\lt-1\), f is increasing: starting from the left, the curve begins just above \(y=2\) and rises towards \(+\infty\). That's the first scenario from step 1.
- By symmetry, the part \(x\gt1\) mirrors the part \(x\lt-1\).
6. Common traps
- A zero denominator doesn't automatically mean an asymptote. If the numerator is also 0, you get a \(\frac00\) form. Calculate the limit: if it's finite, it's a hole (removable discontinuity), not an asymptote (exercise 2).
- Asymptotes are equations: \(x=a\) for a vertical one, \(y=L\) for a horizontal one.
- Critical value or value outside the domain? A value outside the domain is never critical, but it goes in the sign chart.
- Don't expand a power that equals 0: \((x^2-1)^2=0\Leftrightarrow x^2-1=0\).
- Symmetry comes from the function containing only \(x^2\) terms, not from it being "degree 2 over degree 2". A single \(x\) term would break the symmetry.
- A curve can cross its horizontal asymptote.
- Full coordinates for extrema and inflection points, and "absolute" only after checking the ends.
- Check your derivatives: a mistake in \(f'\) throws off the critical values and everything after.
7. 5 solved exercises
Try each exercise before opening the solution.
Exercise 1 — Complete analysis
Do the complete analysis of \(f(x)=\dfrac{x}{x^2+1}\).
Show the solution
Step 1. Domain: \(x^2+1\gt0\) always, so \(\mathbb{R}\) and no vertical asymptote. Intercepts: \(f(0)=0\), only zero \((0,\,0)\). At infinity: \(\displaystyle\lim_{x\to\pm\infty}\frac{x}{x^2+1}=0\), horizontal asymptote \(y=0\). Symmetry: \(f(-x)=-f(x)\), so the graph is symmetric about the origin. Sign: \(f\gt0\) if \(x\gt0\), \(f\lt0\) if \(x\lt0\).
Step 2.
Critical values: \(x=\pm1\). \(f''=0\) at \(x=0\) and \(x=\pm\sqrt3\).
- \(f'\): − if \(x\lt-1\), + if \(-1\lt x\lt1\), − if \(x\gt1\).
- \(f''\): − if \(x\lt-\sqrt3\), + if \(-\sqrt3\lt x\lt0\), − if \(0\lt x\lt\sqrt3\), + if \(x\gt\sqrt3\).
Conclusion: minimum at \(\left(-1,\,-\tfrac12\right)\) and maximum at \(\left(1,\,\tfrac12\right)\). They are absolute, because at the ends the function tends to 0, which lies between \(-\tfrac12\) and \(\tfrac12\). Inflection points: \(\left(-\sqrt3,\,-\tfrac{\sqrt3}{4}\right)\), \((0,\,0)\) and \(\left(\sqrt3,\,\tfrac{\sqrt3}{4}\right)\), with \(\tfrac{\sqrt3}{4}\approx0.43\).
Exercise 2 — Asymptote or hole?
For each function, say whether \(x=2\) is a vertical asymptote or a hole: a) \(f(x)=\dfrac{x^2-4}{x-2}\) b) \(g(x)=\dfrac{x+2}{x-2}\)
Show the solution
- a) At \(x=2\): \(\frac{4-4}{0}=\frac00\), an indeterminate form. \(\displaystyle\lim_{x\to2}\frac{(x-2)(x+2)}{x-2}=\lim_{x\to2}(x+2)=4\), a finite limit. It's a hole at \((2,\,4)\): the graph is the line \(y=x+2\) with a gap.
- b) At \(x=2\): \(\frac{4}{0}\), a "number / 0" form. The limits are infinite: vertical asymptote \(x=2\).
Exercise 3 — Vertical tangent
Show that \(f(x)=\sqrt[3]{x}\) has a vertical tangent at \(x=0\). Is it a cusp? Is it an inflection point?
Show the solution
\(f'(x)=\dfrac{1}{3\sqrt[3]{x^2}}\). At \(x=0\): \(f(0)=0\) exists, the denominator of \(f'\) is 0 and the numerator is 1. So there is a vertical tangent at \((0,\,0)\).
Since \(\sqrt[3]{x^2}\gt0\) on both sides, \(f'\to+\infty\) on the left and on the right: the slope has the same sign, so it's not a cusp.
\(f''(x)=\dfrac{-2}{9\,x^{5/3}}\): positive if \(x\lt0\), negative if \(x\gt0\). The concavity changes and \(f(0)\) exists: inflection point at \((0,\,0)\).
Exercise 4 — Find the mistakes
For \(f(x)=\dfrac{2x^2}{x^2-1}\), a student writes: "Critical values: \(x=-1\), \(x=0\) and \(x=1\). Inflection points at \(x=\pm1\), because \(f''\) changes sign. Absolute maximum at \((0,\,0)\)." Correct the three mistakes.
Show the solution
- Critical values: only \(x=0\). \(x=\pm1\) aren't in the domain, so they aren't critical values (but they go in the sign chart).
- Inflection points: none. The concavity does change at \(x=\pm1\), but an inflection point must be a point on the curve, and \(f(\pm1)\) doesn't exist.
- Maximum: relative only. Near \(x=\pm1\) (on the outer side), \(f\to+\infty\).
Exercise 5 — Absolute extremum and horizontal asymptote
Let \(f(x)=\dfrac{x^2}{x^2+1}\), with \(f'(x)=\dfrac{2x}{(x^2+1)^2}\). Find the extrema and say whether they are absolute. Is there an absolute maximum?
Show the solution
\(f'=0\) at \(x=0\). \(f'\lt0\) if \(x\lt0\) and \(f'\gt0\) if \(x\gt0\): minimum at \((0,\,0)\). It's absolute, because \(f(x)\geq0\) everywhere.
At infinity, \(\displaystyle\lim_{x\to\pm\infty}f(x)=1\): horizontal asymptote \(y=1\). The function approaches 1 without ever reaching it (\(x^2\lt x^2+1\), so \(f(x)\lt1\)). There is no absolute maximum: no value is the largest. This is exactly the case where "it all depends on the height of the asymptote".
Keep Reviewing
- L'Hôpital's Rule: When to Use It (and When Not To)
- Indeterminate Forms 0/0 and ∞/∞: Limits, Methods and Asymptotes
- Calculus Review: Limits, Derivatives and the Chain Rule
StudyGroup AN — Mathematics, physics and chemistry exercises and solutions for CEGEP students.
Review: Yootak Hong, PhD

