Suppose that we want to find the value of , when f (a) = g (a) = 0. One method is to use L'Hopital's Rule, which says: if f (x) and g (x) are differentiable functions and f (a) = g (a) = 0, then , if the limit on the right exists. In other words, we can find the original limit by finding the limit of the ratio of the derivatives of the numerator and denominator functions. The following applet helps to explain why this works.
Try the following:
In the graph on the left, the applet shows a graph of . This is not defined for x = 0, but it clearly seems to have a limit there. If we let f (x) = e^{2x} - 1 and g (x) = x, then we can use L'Hopital's Rule to find the limit via finding the derivatives of the numerator and denominator functions: . Note that we do not take the derivative of the ratio using the quotient rule, but rather separately find the derivatives of the numerator and denominator functions, then find the limit of their ratio. Notice that, while the original ratio is undefined for x = 0, the ratio of the derivatives is defined, hence we can evaluate the limit just by substituting x = 0.
Why does this work? The graph on the right shows f (x) and g (x). If you click the zoom in button several times, local linearity makes the curves look like straight lines. Hence the functions can be approximated by their tangent lines at x = 0 (i.e., f (x) ≈ 2x and g(x) ≈ x) , and the ratio can be approximated by the ratio of these tangent lines. In the limit, this equals the ratio of the slopes of the tangent lines, which is just the ratio of the derivatives of the numerator and denominator functions.
Select the second example from the drop down menu. This shows another example, . Again, if you click on Zoom In a few times, the graphs look like straight lines and the ratio can be evaluated just by using the ratio of the values of the derivatives.
Select the third example, showing . . In this case, the limit on the right does not exist, so L'Hopital's Rule cannot be used in this case.
L'Hopital's Rule also works if f (a) = g (a) = ∞, and when.