0:00 / 0:00

L’Hopital’s Rule (LHR)

Derivatives can actually help us solve limit problems. When we obtain the indeterminate forms 00 \displaystyle \frac{0}{0} or ±±\displaystyle\frac{\pm \infin}{\pm \infin} we can try to use L’Hopital’s Rule.

L’Hopital’s Rule

Consider two differentiable functions f(x)f(x) and g(x)g(x) on an open interval containing the number aa (aa could be infinite). If either f(a)=g(a)=0f(a)=g(a)=0 or limxaf(x)=limxag(x)=±\displaystyle\lim_{x\rightarrow a}f(x)=\displaystyle\lim_{x\rightarrow a}g(x)=\pm\infty. Then
limxaf(x)g(x)=limxaf(x)g(x)\boxed{\displaystyle\lim_{x\rightarrow a}\frac{f(x)}{g(x)}=\displaystyle\lim_{x\rightarrow a}\frac{f^{\prime}(x)}{g^{\prime}(x)}}
provided the limit exists.
Note: LHR also applied to one-sided limits, i.e. when xa±x\rightarrow a^\pm.

Watch Out!
You may have to apply L’Hopital’s Rule multiple times in the same limit to find a solution!

0:00 / 0:00

Example: L’Hopital’s Rule

Find limx02sinxsin2x2ex2x2\displaystyle\lim_{x\rightarrow0}\frac{2\sin{x}-\sin{2x}}{2e^x-2-x^2}

limx02sin(0)sin(0)2e0202=00 (indeterminate form) \displaystyle\lim_{x\rightarrow 0}\frac{2\sin{(0)}-\sin{(0)}}{2e^0-2-0^2}=\frac{0}{0} \text{ (indeterminate form) }


limx02sinxsin2x2ex2x2=LHopitalslimx02cosx2cos2x2ex2x=222=0\displaystyle \begin{array}{cl} &\displaystyle\lim_{x\rightarrow0}\frac{2\sin{x}-\sin{2x}}{2e^x-2-x^2}\\ \\ \overset{L'Hopital's}{=}&\displaystyle\lim_{x\rightarrow0}\frac{2\cos{x}-2\cos{2x}}{2e^x-2x}\\\\ =&\displaystyle\frac{2-2}{2} \\\\ =&\boxed{0} \end{array}

Find limx0+cotxlnx2\displaystyle \lim_{x\rightarrow 0^+}\frac{\cot{x}}{\ln{x^2}}.