Aimathic
Login | English | Deutsch

Calculus math worksheets

Build your own math worksheets from 35,000+ problems for grades 3 to 12, from fractions to AP Calculus. Every problem comes with step-by-step solutions.

L'Hospital's rule

Learning goals

  • Checks the indeterminate form and hypotheses for L'Hospital's rule.
  • Differentiates numerator and denominator correctly.
  • Reevaluates the resulting limit and repeats only when justified.
  • Distinguishes indeterminate forms from expressions where the rule does not apply.

Click problems to add them to your worksheet.

L'Hospital's rule 1
For each limit, state the form obtained by direct substitution and decide whether L'Hospital's rule can be applied immediately. Do not evaluate the limits. a) \(\lim_{x\to2}\frac{x^2-4}{x-2}\) b) \(\lim_{x\to0}\frac{1+\cos x}{x}\) c) \(\lim_{x\to\infty}\frac{3x^2+1}{5x^2-x}\) d) \(\lim_{x\to0}\frac{x}{\sin x}\)

Hints

- Test each limit by direct substitution before deciding on a method. - Distinguish an indeterminate quotient from a quotient whose denominator alone approaches zero. - L'Hospital's rule applies directly to the standard indeterminate quotient forms, not to every fraction-shaped limit.

Solution

1. a) Direct substitution gives \(\frac{0}{0}\), an indeterminate form, so L'Hospital's rule can be applied immediately. 2. b) Direct substitution gives a nonzero numerator over \(0\), not an indeterminate form, so L'Hospital's rule cannot be applied immediately. 3. c) The numerator and denominator both grow without bound, giving the indeterminate form \(\frac{\infty}{\infty}\), so L'Hospital's rule can be applied immediately. 4. d) Direct substitution gives \(\frac{0}{0}\), so L'Hospital's rule can be applied immediately.

Answer

a) \(\frac{0}{0}\); yes b) nonzero over \(0\); no c) \(\frac{\infty}{\infty}\); yes d) \(\frac{0}{0}\); yes
L'Hospital's rule 2
Consider the following limits as \(x\to1\). Which has the indeterminate form \(\frac{0}{0}\) and is a candidate for L'Hospital's rule? Explain using direct substitution. A. \(\lim_{x\to1}\frac{x^2-1}{x-1}\) B. \(\lim_{x\to1}\frac{x+2}{x-1}\) C. \(\lim_{x\to1}\frac{x-1}{x+2}\)

Hints

- Check the numerator and denominator of each quotient separately. - The rule is intended for specific indeterminate forms, not every quotient with a zero denominator.

Solution

1. A has numerator \(1-1=0\) and denominator \(1-1=0\), so its form is \(\frac{0}{0}\). 2. B has numerator \(3\) and denominator \(0\), not an indeterminate form. C has numerator \(0\) and denominator \(3\), so its limit is directly \(0\). 3. Only A has the requested indeterminate form. The form alone indicates eligibility to consider the rule, not that the rule is necessary.

Answer

A only. At \(x=1\), A has the form \(\frac{0}{0}\), B has \(\frac{3}{0}\), and C has \(\frac{0}{3}\). Only A has the required indeterminate form.
L'Hospital's rule 3
The limit \(\lim_{x\to0}\frac{e^x-1}{x}\) has the form \(\frac{0}{0}\). Using L'Hospital's rule, which expression should replace the quotient before taking the limit? A. \(\frac{xe^x-(e^x-1)}{x^2}\) B. \(\frac{e^x}{1}\) Explain your choice and find the limit.

Hints

- Decide whether the rule differentiates the two parts separately or the entire fraction. - After differentiating, check whether the new limit is straightforward.

Solution

1. L'Hospital's rule differentiates the numerator and denominator separately, giving \(\frac{e^x}{1}\), choice B. 2. Choice A is the quotient-rule derivative of the entire expression, not the L'Hospital step. 3. Since \(e^x\to1\) as \(x\to0\), the limit is \(1\).

Answer

B, \(\frac{e^x}{1}\), because L'Hospital's rule differentiates the numerator and denominator separately. A is the quotient-rule derivative of the whole fraction. The limit is \(1\).
L'Hospital's rule 4
Evaluate \(\lim_{x\to3}\frac{x^2-9}{x^2-5x+6}\) using L'Hospital's rule.

Hints

- Verify the form produced by direct substitution before using the rule. - Differentiate the numerator and denominator separately. - Re-evaluate the resulting limit after differentiation.

Solution

1. Direct substitution gives \(\frac{0}{0}\), so L'Hospital's rule applies. 2. Differentiate numerator and denominator: \(\lim_{x\to3}\frac{2x}{2x-5}\). 3. Substitute \(x=3\): \(\frac{6}{1}=6\).

Answer

\(6\)
L'Hospital's rule 5
Evaluate \(\lim_{x\to\infty}\frac{4x+1}{7x-2}\) using L'Hospital's rule.

Hints

- Check the numerator and denominator behavior as \(x\) grows. - Once the indeterminate form is confirmed, differentiate the numerator and denominator separately. - Decide whether the new quotient still depends on \(x\).

Solution

1. As \(x\to\infty\), the quotient has the indeterminate form \(\frac{\infty}{\infty}\). 2. Apply L'Hospital's rule: \(\lim_{x\to\infty}\frac{4}{7}=\frac{4}{7}\).

Answer

\(\frac{4}{7}\)
L'Hospital's rule 6
Evaluate \(\lim_{x\to0}\frac{\sin(5x)}{3x}\) using L'Hospital's rule.

Hints

- Confirm the indeterminate form before differentiating. - Differentiate the composite sine expression carefully. - Evaluate the new limit at the target input.

Solution

1. Direct substitution gives \(\frac{0}{0}\), so L'Hospital's rule applies. 2. Differentiate numerator and denominator: \(\lim_{x\to0}\frac{5\cos(5x)}{3}\). 3. Substitution now gives \(\frac{5}{3}\).

Answer

\(\frac{5}{3}\)
L'Hospital's rule 7
Evaluate \(\lim_{x\to\infty}\frac{\ln x}{\sqrt{x}}\) using L'Hospital's rule.

Hints

- Compare the numerator and denominator behavior before choosing the rule. - Differentiate the logarithm and square-root expressions separately. - Simplify the quotient of derivatives before evaluating its limit.

Solution

1. As \(x\to\infty\), both \(\ln x\) and \(\sqrt{x}\) grow without bound, so the quotient has the indeterminate form \(\frac{\infty}{\infty}\). 2. Apply L'Hospital's rule: \(\lim_{x\to\infty}\frac{1/x}{1/(2\sqrt{x})}=\lim_{x\to\infty}\frac{2}{\sqrt{x}}\). 3. The final limit is \(0\).

Answer

\(0\)
L'Hospital's rule 8
Ximena tries to evaluate \(\lim_{x\to0}\frac{x+1}{x^2+1}\) using L'Hospital's rule. She writes \(\lim_{x\to0}\frac{1}{2x}=+\infty\). Explain both errors in her work and find the original limit.

Hints

- Test the original quotient by direct substitution before deciding whether to use the rule. - Compare the sign of the claimed derivative quotient on either side of zero. - Decide whether an indeterminate form is present at all.

Solution

1. Direct substitution in the original expression gives \(\frac{0+1}{0^2+1}=1\), not the indeterminate form \(\frac{0}{0}\). L'Hospital's rule therefore does not apply. 2. Even the new expression \(\frac{1}{2x}\) does not tend to \(+\infty\) from both sides: it tends to \(+\infty\) from the right and to \(-\infty\) from the left, so its two-sided limit does not exist. 3. The correct original limit is \(1\), by continuity.

Answer

L'Hospital's rule cannot be used because the original quotient is not indeterminate. Also, \(\frac{1}{2x}\) has no two-sided limit at zero. The original limit is \(1\).
L'Hospital's rule 9
Maya evaluates \(\lim_{x\to0}\frac{\sin x}{x}\). She notes that direct substitution gives \(\frac{0}{0}\), then says, “L'Hospital's rule means I should differentiate the entire quotient using the quotient rule.” Is Maya's description correct? Write the correct L'Hospital step and evaluate the limit.

Hints

- First verify whether the original quotient has one of the indeterminate forms required for L'Hospital's rule. - Distinguish “quotient of the derivatives” from “derivative of the quotient.” - After the correct differentiation step, substitute the limiting value again.

Solution

1. Maya correctly identifies the indeterminate form \(\frac{0}{0}\), so L'Hospital's rule is eligible. 2. Her description of the differentiation step is incorrect. L'Hospital's rule replaces the quotient by the quotient of the derivatives; it does not take the derivative of the quotient as a whole. 3. Therefore, \(\lim_{x\to0}\frac{\sin x}{x}=\lim_{x\to0}\frac{\cos x}{1}=1\).

Answer

Maya's description is incorrect. The correct step is \(\lim_{x\to0}\frac{\sin x}{x}=\lim_{x\to0}\frac{\cos x}{1}=1\).
L'Hospital's rule 10
Evaluate \(\lim_{x\to0}\frac{1-\cos(3x)}{x^2}\) using L'Hospital's rule. Check the form after each application.

Hints

- Confirm the original quotient has an eligible indeterminate form. - Check the new form before deciding whether the rule is needed again. - Take account of the chain rule when differentiating the trigonometric expression.

Solution

1. Direct substitution gives \(\frac{0}{0}\). Differentiating numerator and denominator gives \(\lim_{x\to0}\frac{3\sin(3x)}{2x}\). 2. This is still \(\frac{0}{0}\), so apply the rule again to obtain \(\lim_{x\to0}\frac{9\cos(3x)}{2}\). 3. Now direct substitution gives \(\frac{9}{2}\).

Answer

First check: \(\frac{0}{0}\). After one application, \(\lim_{x\to0}\frac{3\sin(3x)}{2x}\) is still \(\frac{0}{0}\). After the second application, \(\lim_{x\to0}\frac{9\cos(3x)}{2}=\frac{9}{2}\).
L'Hospital's rule 11
Evaluate \(\lim_{x\to\infty}x\ln\left(1+\frac{1}{x}\right)\) using L'Hospital's rule. Show the quotient you rewrite it as and the new quotient after differentiation.

Hints

- L'Hospital's rule applies to quotient forms, not to a product as written. - Rewrite the product so that both numerator and denominator tend to zero. - Simplify the derivative quotient before evaluating its limit.

Solution

1. The product has the indeterminate form \(\infty\cdot0\). Rewrite it as \(\lim_{x\to\infty}\frac{\ln(1+1/x)}{1/x}\), which has the form \(\frac{0}{0}\). 2. Differentiate numerator and denominator: \(\frac{-1/[x(x+1)]}{-1/x^2}=\frac{x}{x+1}\). 3. The new limit is \(\lim_{x\to\infty}\frac{x}{x+1}=1\).

Answer

Rewrite as \(\lim_{x\to\infty}\frac{\ln(1+1/x)}{1/x}\), which has the form \(\frac{0}{0}\). Differentiating numerator and denominator gives \(\lim_{x\to\infty}\frac{x}{x+1}=1\).
L'Hospital's rule 12
A student sees the form \(\frac{0}{0}\) in \(\lim_{x\to0}\frac{x}{|x|}\) and says L'Hospital's rule must give one number for the two-sided limit. Apply the rule separately from the right and left, using the derivative of \(|x|\) on each side. Find both one-sided limits and explain whether a two-sided limit exists.

Hints

- Is \(|x|\) described by the same expression when \(x\) is positive and when it is negative? - What happens to the slope of the absolute-value graph as you cross zero? - What must agree for the full two-sided limit to exist?

Solution

1. For \(x>0\), \(\frac{d}{dx}|x|=1\). L'Hospital's rule gives the derivative quotient \(\frac{1}{1}=1\), so the right-hand limit is \(1\). 2. For \(x<0\), \(\frac{d}{dx}|x|=-1\). The derivative quotient is \(\frac{1}{-1}=-1\), so the left-hand limit is \(-1\). 3. Each one-sided application is valid, but their limits disagree. Therefore, the two-sided limit does not exist, despite the original \(\frac{0}{0}\) form.

Answer

For \(x>0\), the derivative quotient is \(\frac{1}{1}=1\), so the right-hand limit is \(1\). For \(x<0\), it is \(\frac{1}{-1}=-1\), so the left-hand limit is \(-1\). The two-sided limit does not exist.
L'Hospital's rule 13
Evaluate \(\lim_{x\to0}\frac{e^x-1-x}{x^2}\) using L'Hospital's rule.

Hints

- Check the form again after the first application of L'Hospital's rule. - A repeated application is justified only if the resulting quotient is still an eligible indeterminate form. - Stop once direct substitution gives a determinate value.

Solution

1. Direct substitution gives \(\frac{0}{0}\), so apply L'Hospital's rule: \(\lim_{x\to0}\frac{e^x-1}{2x}\). 2. The new quotient is still \(\frac{0}{0}\), so apply L'Hospital's rule again: \(\lim_{x\to0}\frac{e^x}{2}\). 3. Substitution gives \(\frac{1}{2}\).

Answer

\(\frac{1}{2}\)
L'Hospital's rule 14
Evaluate \(\lim_{x\to0^+}x\ln x\) using L'Hospital's rule. First rewrite the expression in a form to which the rule applies.

Hints

- L'Hospital's rule does not apply directly to a product. - Rewrite one factor so the expression becomes a quotient with an eligible indeterminate form. - After differentiating, simplify before taking the limit.

Solution

1. The product has the indeterminate form \(0\cdot(-\infty)\). Rewrite it as \(\frac{\ln x}{1/x}\). 2. As \(x\to0^+\), this quotient has an infinite-over-infinite indeterminate form, so L'Hospital's rule applies. 3. Differentiate numerator and denominator: \(\lim_{x\to0^+}\frac{1/x}{-1/x^2}=\lim_{x\to0^+}(-x)\). 4. Therefore, the limit is \(0\).

Answer

\(0\)
L'Hospital's rule 15
Evaluate \(\lim_{x\to0^+}(1+2x)^{1/x}\) using logarithms and L'Hospital's rule.

Hints

- For a variable base raised to a variable exponent, take a logarithm first. - After taking logarithms, rewrite the exponent-product as a quotient. - Apply L'Hospital's rule only after confirming the transformed quotient is indeterminate. - Exponentiate the limit of the logarithm at the end.

Solution

1. Let \(y=(1+2x)^{1/x}\). The expression has the indeterminate form \(1^\infty\). 2. Take natural logarithms: \(\ln y=\frac{\ln(1+2x)}{x}\). 3. As \(x\to0^+\), this quotient has the form \(\frac{0}{0}\). Apply L'Hospital's rule: \(\lim_{x\to0^+}\frac{2/(1+2x)}{1}=2\). 4. Therefore, \(\lim\ln y=2\), so \(\lim y=e^2\).

Answer

\(e^2\)

All problems may be used, copied and printed free of charge for school and tutoring, including paid tutoring. Commercial adaptations as well as publication or redistribution on the internet are not permitted.