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) = e2x - 1 and g (x) = x, then we can use L'Hopital's Rule to find the limit by 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.
NOTE: L'Hopital's Rule also works if f (a) = g (a) = ∞, and when.