2L’Hôpital’s Rule states that when has an at x = a, then we can replace f(x)/g(x) by the quotient of the derivatives f (x)/g (x).indeterminate form of type 0/0 orTHEOREM 1 L’Hôpital’s Rule Assume that f (x) and g (x) are differentiable on an open interval containing a and thatf (a) = g (a) = 0Also assume that(except possibly at a). ThenThis conclusion also holds if f (x) and g (x) are differentiable for x near (but not equal to) a andif the limit on the right exists or is infiniteFurthermore, this rule if valid for one-sided limits.
3Note that the quotientis still indeterminate at x = π/2. We removed this indeterminacy by cancelling the factor− cos x.
5Assumptions MatterCan L’Hôpital’s Rule be applied to`
6The Form 00 First, compute the limit of the logarithm ln xx = x ln x: Limits of functions of the form f (x)g (x) can lead to the indeterminate formsIn such cases, take the logarithm of the expression and then apply L’Hôpital’s Rule.The Form 00First, compute the limit of the logarithm ln xx = x ln x:```````````````````
7Comparing Growth of Functions Sometimes, we are interested in determining which of two functions,f (x) and g(x), grows faster. For example, there are two standard computer algorithms for sorting data (alphabetizing, ordering according to rank, etc.): Quick Sort and Bubble Sort. The average time required to sort a list of size n has order of magnitude nlnn for Quick Sort and n2 for Bubble Sort. Which algorithm is faster when the size n is large? Although n is a whole number, this problem amounts to comparing the growth of f (x) = x ln x and g (x) = x2 as x → ∞.We say that f (x) grows faster than g (x) if``
8To indicate that f (x) grows faster than g (x), we use the notation `````THEOREM 2 L’Hôpital’s Rule for Limits at Infinity Assume that f (x) and g(x) are differentiable onprovided that the limit on the right exists. A similar result holds for limits as x →
9Which of f (x) = x2 and g (x) = x ln x grows faster as x →
10Jonathan is interested in comparing two computer algorithms whose average run times are approximately (ln n)2 andTHEOREM 3