Vertical tangent lines If a function \(f\) is continuous at a and \(\lim _{x
\rightarrow a}\left|f^{\prime}(x)\right|=\infty,\) then the curve \(y=f(x)\) has
a vertical tangent line at \(a,\) and the equation of the tangent line is \(x=a\).
If \(a\) is an endpoint of a domain, then the appropriate one-sided derivative
(Exercises \(71-72\) ) is used. Use this information to answer the following
questions.
The preceding definition of a vertical tangent line includes four cases: \(\lim
_{x \rightarrow a^{+}} f^{\prime}(x)=\pm \infty\) combined with \(\lim _{x
\rightarrow a} f^{\prime}(x)=\pm \infty\) (for
example, one case is \(\left.\lim _{x \rightarrow a^{+}} f^{\prime}(x)=-\infty
\text { and } \lim _{x \rightarrow a} f^{\prime}(x)=\infty\right)\)
Sketch a continuous function that has a vertical tangent line at \(a\) in each
of the four cases.