← Back to learning objective

Locating and classifying the vertical asymptote using L'Hopital's Rule

Consider the function u(x)=sin⁡x1+cos⁡xu(x) = \dfrac{\sin x}{1+\cos x} defined on [0,2π)[0, 2\pi).

The denominator of u(x)=sin⁡x1+cos⁡xu(x) = \dfrac{\sin x}{1+\cos x} vanishes at x=πx = \pi on the interval [0,2π)[0,2\pi), and direct substitution gives the indeterminate form 00\frac{0}{0} there. Use L'Hopital's Rule to evaluate lim⁡x→πsin⁡x1+cos⁡x\displaystyle\lim_{x \to \pi} \frac{\sin x}{1+\cos x}, and use your result to state whether x=πx = \pi is a vertical asymptote of u(x)u(x), and if so, describe the one-sided behavior of u(x)u(x) as x→π−x \to \pi^- and x→π+x \to \pi^+.

Hint

First confirm that substituting x=πx=\pi into both numerator and denominator gives 0/00/0. Then differentiate the numerator and denominator separately (do not use the quotient rule) and substitute again. Since the resulting limit is finite, reconsider whether x=πx=\pi is actually a vertical asymptote — check the sign of 1+cos⁡x1+\cos x on either side of π\pi.

Step-by-step solution

Substituting x=πx=\pi gives sin⁡π=0\sin\pi = 0 and 1+cos⁡π=1−1=01+\cos\pi = 1-1=0, confirming the form 0/00/0, so L'Hopital's Rule applies. Differentiating numerator and denominator separately gives ddxsin⁡x=cos⁡x\frac{d}{dx}\sin x = \cos x and ddx(1+cos⁡x)=−sin⁡x\frac{d}{dx}(1+\cos x) = -\sin x, so the limit becomes lim⁡x→πcos⁡x−sin⁡x\displaystyle\lim_{x\to \pi} \frac{\cos x}{-\sin x}.

As x→πx \to \pi, cos⁡x→−1\cos x \to -1 but sin⁡x→0\sin x \to 0, so this new ratio cos⁡x−sin⁡x\frac{\cos x}{-\sin x} is no longer of an indeterminate form — it actually blows up, since the denominator −sin⁡x→0-\sin x \to 0 while the numerator →−1≠0\to -1 \neq 0. This tells us the original limit does not exist (it is infinite), confirming that x=πx=\pi is a vertical asymptote rather than a removable point.

To determine the one-sided behavior, note that near x=πx=\pi, sin⁡x\sin x is small and 1+cos⁡x→0+1+\cos x \to 0^+ from both sides (since cos⁡x≤1\cos x \le 1 always, 1+cos⁡x≥01+\cos x \ge 0). For xx slightly less than π\pi, sin⁡x>0\sin x > 0, so u(x)→+∞u(x) \to +\infty; for xx slightly greater than π\pi, sin⁡x<0\sin x < 0, so u(x)→−∞u(x) \to -\infty. Thus x=πx=\pi is a vertical asymptote with u(x)→+∞u(x)\to +\infty as x→π−x\to\pi^- and u(x)→−∞u(x)\to -\infty as x→π+x\to\pi^+.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap