##### Sections
You are here: Home L'Hôpital's Rule

# L'Hôpital's Rule

##### Document Actions
This file is part of a distribution of the Calculus Applets website (http://www.calculusapplets.com) which has been reformatted for the purposes of this OpenCourseware course.

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:

1. 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 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.

2. 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.

3. 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.

4. L'Hopital's Rule also works if f (a) = g (a) = ∞, and when .

For more information on rights and downloading, refer to http://www.calculusapplets.com/download.html.

© Copyright 2001 David J. Eck

© Copyright 2007 Thomas S. Downey

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

You must cause any files that you modify to carry prominent notices stating that you changed the files and the date of any change, and modified files must be put into a Java package different from edu.hws.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Reuse Course
Download IMS package
Study Group