L’Hôpital’s rule
L’Hôpital’s rule (pronounced “low-pee-tal”) can sometimes be used to work out limits of quotients.
Definition
When we work out the limit of a function at a point, we can sometimes get help from derivatives. Suppose we have a function in the form of a quotient, that is, we have functions f(x) and g(x) and we are looking for the limit
If
exists, then
If the limit
Examples
-
Work out the limit
Can we solve this example using L’Hôpital’s rule? First we have to check that the limit of both functions (the one in the denominator of the fraction and the one in the numerator) at the point x0 = 3 is zero. Let’s call the functions f(x) = x2 − 9 and g(x) = x2 − x − 6. Both are polynomials and therefore continuous, so their limits are equal to their values:
The first condition is satisfied. Notice that we cannot work out the limit simply by substituting three for x, because the whole function is discontinuous at x0 = 3 – in fact it has no value there at all (to get one we would have to divide by zero). Now we can try L’Hôpital’s rule and differentiate both functions. Watch out: we do not differentiate using the quotient rule – we differentiate the function in the numerator and the function in the denominator separately. So we get:
Instead of the previous limit, we can now work out this one:
This function is continuous at x0 = 3, so we can simply substitute three for x and work out the value of the whole function:
We can see that the limit of this function exists, so the limit
exists too and the two limits are equal. So: -
Work out the limit
What is the situation at x0 = 0? Again let f(x) = x and g(x) = sin x. We have f(0) = 0 and g(0) = 0. We get the quotient
and the function is discontinuous at that point. We can try L’Hôpital’s rule. Differentiate both functions:Now that we have the derivatives, let’s try to work out the limit
What happens at x0 = 0? Since cos(0) = 1, we get the fraction
. The function is continuous at x0 = 0, soSince this limit exists, the limit
exists too and the two limits are equal. We get
Chapters: Limit of a function, Infinite limit at a finite point, Finite limit at infinity, Infinite limit at infinity, One-sided limit, L’Hôpital’s rule