Limits — Intuitive Approach and L'Hopital's Rule

⚡ Key Takeaways

A limit describes the value a function approaches as its input nears a particular point, even if the function is undefined there. L'Hôpital's Rule evaluates limits of indeterminate form 00\tfrac{0}{0} or ∞∞\tfrac{\infty}{\infty} by replacing the ratio of two functions with the ratio of their derivatives. Applies across calculus, physics, and any analysis of rates of change. First published by Guillaume de l'Hôpital (1696), based on work by Johann Bernoulli.

💡 The Core Insight

A limit cares about the journey, not the destination point itself. The value f(a)f(a) is irrelevant to lim⁡x→af(x)\lim_{x\to a} f(x); only the behavior of ff near aa matters. When direct substitution yields a meaningless form like 00\tfrac{0}{0}, the limit is not necessarily undefined — it is indeterminate, meaning the answer depends on how fast the numerator and denominator each approach zero. L'Hôpital's Rule measures exactly those rates by comparing derivatives.

Formal Statement

DefinitionLimit of a Function — Intuitive Form

We say the function ff has limit LL as xx approaches aa, written

1
lim⁡x→af(x)=L,\quad \lim_{x\to a} f(x) = L,

Derivation hint: this is the defining notation; LL is the single number the outputs cluster around. if the values f(x)f(x) get arbitrarily close to the real number LL as xx gets arbitrarily close to aa from either side, without xx ever equaling aa.

Symbols:

  • ff — the function under study
  • xx — the input variable, moving toward aa
  • aa — the point of approach (need not be in the domain of ff)
  • LL — the limiting value (a finite real number, in the basic case)
DefinitionOne-Sided Limits

The right-hand limit considers only x>ax > a:

2
lim⁡x→a+f(x)=L+,\quad \lim_{x\to a^{+}} f(x) = L_{+},

Derivation hint: restrict the approach to values larger than aa and see what the outputs cluster around. and the left-hand limit considers only x<ax < a:

3
lim⁡x→a−f(x)=L−.\quad \lim_{x\to a^{-}} f(x) = L_{-}.

Derivation hint: same idea but approaching from below. The two-sided limit [1] exists if and only if both one-sided limits exist and are equal:

4
lim⁡x→af(x)=L  ⟺  lim⁡x→a−f(x)=lim⁡x→a+f(x)=L.\quad \lim_{x\to a} f(x) = L \iff \lim_{x\to a^{-}} f(x) = \lim_{x\to a^{+}} f(x) = L.

Derivation hint: a single cluster value requires agreement from both directions.

DefinitionIndeterminate Forms

When direct substitution into a quotient produces one of

5
00,∞∞,\quad \frac{0}{0}, \qquad \frac{\infty}{\infty},

Derivation hint: substitute x=ax=a and observe both parts vanish (or both blow up) simultaneously. the expression is called indeterminate: its value cannot be read off directly and depends on the relative rates of change of numerator and denominator. Other indeterminate forms — 0⋅∞0\cdot\infty, ∞−∞\infty-\infty, 1∞1^{\infty}, 000^{0}, ∞0\infty^{0} — can be algebraically rewritten into the form of [5].

TheoremL'Hôpital's Rule

Let ff and gg be differentiable on an open interval containing aa (except possibly at aa itself), with g′(x)≠0g'(x)\neq 0 near aa. If

6
lim⁡x→af(x)=lim⁡x→ag(x)=0orlim⁡x→af(x)g(x) has form ±∞±∞,\quad \lim_{x\to a} f(x) = \lim_{x\to a} g(x) = 0 \quad\text{or}\quad \lim_{x\to a} \frac{f(x)}{g(x)} \text{ has form } \frac{\pm\infty}{\pm\infty},

Derivation hint: this is the entry condition — you must first confirm an indeterminate form. then, provided the right-hand limit exists (or is ±∞\pm\infty),

7
lim⁡x→af(x)g(x)=lim⁡x→af′(x)g′(x).\quad \lim_{x\to a} \frac{f(x)}{g(x)} = \lim_{x\to a} \frac{f'(x)}{g'(x)}.

Derivation hint: replace each function by its derivative; the ratio of instantaneous rates equals the limit of the ratio. The rule also holds for a=±∞a = \pm\infty and for one-sided limits.

Why It Holds / Derivation

ProofSketch via the Cauchy Mean Value Theorem

We prove the 00\tfrac{0}{0} case at a finite point aa.

Step 1 — Set up. Suppose f(a)=g(a)=0f(a)=g(a)=0 (redefine the functions at aa if needed; the limit is unaffected since it ignores x=ax=a). Assume f,gf,g are continuous on [a,x][a,x] and differentiable on (a,x)(a,x).

Step 2 — Apply the Cauchy Mean Value Theorem. This generalization of the Mean Value Theorem guarantees a point cc strictly between aa and xx such that

8
f(x)−f(a)g(x)−g(a)=f′(c)g′(c).\quad \frac{f(x)-f(a)}{g(x)-g(a)} = \frac{f'(c)}{g'(c)}.

Derivation hint: this is the Cauchy MVT — the natural two-function extension of the ordinary MVT.

Step 3 — Use the zero values. Since f(a)=g(a)=0f(a)=g(a)=0, the left side simplifies:

9
f(x)g(x)=f′(c)g′(c),c between a and x.\quad \frac{f(x)}{g(x)} = \frac{f'(c)}{g'(c)}, \qquad c \text{ between } a \text{ and } x.

Derivation hint: substitute f(a)=g(a)=0f(a)=g(a)=0 into [8].

Step 4 — Squeeze the intermediate point. As x→ax\to a, the trapped point cc is forced toward aa as well. Therefore

10
lim⁡x→af(x)g(x)=lim⁡c→af′(c)g′(c)=lim⁡x→af′(x)g′(x),\quad \lim_{x\to a} \frac{f(x)}{g(x)} = \lim_{c\to a} \frac{f'(c)}{g'(c)} = \lim_{x\to a} \frac{f'(x)}{g'(x)},

Derivation hint: a<c<xa < c < x (or x<c<ax<c<a) forces c→ac\to a by the squeeze principle. provided the final limit exists. This establishes [7]. ■\blacksquare

∎
mathematician · Guillaume de l'Hôpital | 1661–1704

A French marquis and gifted amateur mathematician, l'Hôpital published Analyse des Infiniment Petits (1696), the first textbook on differential calculus. The rule bearing his name appears there, but it was discovered by his tutor Johann Bernoulli, whom l'Hôpital paid a salary in exchange for Bernoulli's mathematical results — an arrangement revealed only after both men had died. The rule is thus a striking case of attribution lagging behind authorship; many modern texts call it the Bernoulli–l'Hôpital rule in fairness.

Building Intuition

🧠 Intuition

Think of 00\tfrac{0}{0} as a race between two functions sprinting toward zero. If the numerator reaches zero "twice as fast" as the denominator, the ratio approaches 22; if it crawls in at "half the speed," the ratio approaches 12\tfrac12. The value zero alone tells you nothing — what matters is the speed, and speed is exactly what a derivative measures. L'Hôpital's Rule formalizes this: replace each function by its rate of descent (its derivative) and compare those instead. A second image: near x=ax=a, smooth functions look like straight lines (their tangent lines). For 00\tfrac{0}{0}, both lines pass through height zero, so the ratio of the functions becomes the ratio of the line slopes — and slopes are derivatives.

Figure
A 0/0 limit as a race of two curves toward zero at x = a

```svg

x y a f(x) g(x) both → 0 slope = f'(a) ratio f/g → f'(a)/g'(a)

```

Worked Examples

ExampleClassic Trigonometric Limit

Given: Evaluate lim⁡x→0sin⁡xx\displaystyle \lim_{x\to 0} \frac{\sin x}{x}.

Step 1 — Check the form. Substituting x=0x=0: numerator sin⁡0=0\sin 0 = 0, denominator 00. Form is 00\tfrac{0}{0} — indeterminate, so L'Hôpital applies.

Step 2 — Differentiate top and bottom separately.

11
ddxsin⁡x=cos⁡x,ddx x=1.\quad \frac{d}{dx}\sin x = \cos x, \qquad \frac{d}{dx}\, x = 1.

Derivation hint: apply standard derivative rules to numerator and denominator independently — do NOT use the quotient rule.

Step 3 — Take the new limit.

12
lim⁡x→0cos⁡x1=cos⁡01=11.\quad \lim_{x\to 0} \frac{\cos x}{1} = \frac{\cos 0}{1} = \frac{1}{1}.

Derivation hint: now direct substitution works since the new ratio is no longer indeterminate.

Answer:

lim⁡x→0sin⁡xx=1\boxed{\displaystyle \lim_{x\to 0} \frac{\sin x}{x} = 1}

(This famous limit underpins the derivative of sin⁡x\sin x itself, so deriving it via L'Hôpital is technically circular — but it confirms consistency.)

ExampleAn Infinity-over-Infinity Case with Repeated Application

Given: Evaluate lim⁡x→∞x2ex\displaystyle \lim_{x\to \infty} \frac{x^{2}}{e^{x}}.

Step 1 — Check the form. As x→∞x\to\infty: numerator →∞\to\infty, denominator →∞\to\infty. Form ∞∞\tfrac{\infty}{\infty} — apply L'Hôpital.

Step 2 — First application.

13
lim⁡x→∞x2ex=lim⁡x→∞2xex.\quad \lim_{x\to\infty}\frac{x^{2}}{e^{x}} = \lim_{x\to\infty}\frac{2x}{e^{x}}.

Derivation hint: differentiate x2→2xx^2\to 2x and ex→exe^x\to e^x.

Step 3 — Still ∞∞\tfrac{\infty}{\infty}, so apply again.

14
lim⁡x→∞2xex=lim⁡x→∞2ex.\quad \lim_{x\to\infty}\frac{2x}{e^{x}} = \lim_{x\to\infty}\frac{2}{e^{x}}.

Derivation hint: differentiate 2x→22x\to 2 and ex→exe^x\to e^x; the new form is 2∞\tfrac{2}{\infty}, no longer indeterminate.

Step 4 — Evaluate. As x→∞x\to\infty, ex→∞e^x\to\infty, so the ratio →0\to 0.

Answer:

lim⁡x→∞x2ex=0\boxed{\displaystyle \lim_{x\to\infty} \frac{x^{2}}{e^{x}} = 0}

This illustrates that exponential growth beats any polynomial — a fact L'Hôpital makes mechanical.

Common Misconceptions

⚠️ Common mistake

L'Hôpital's Rule applies ONLY to indeterminate forms 00\tfrac{0}{0} or ∞∞\tfrac{\infty}{\infty}. Applying it to a determinate quotient gives wrong answers. For example, lim⁡x→0x+1x+2=12\lim_{x\to 0}\frac{x+1}{x+2} = \frac12 by direct substitution. Blindly differentiating gives 11=1\frac{1}{1}=1 — wrong, because the form 12\tfrac{1}{2} was never indeterminate. Always check the form first. A second error: do not apply the quotient rule. You differentiate the numerator and denominator separately, then form a new fraction — these are entirely different operations.

CounterexampleWhen L'Hôpital Fails or Loops Forever

Consider lim⁡x→∞xx2+1\displaystyle \lim_{x\to\infty}\frac{x}{\sqrt{x^{2}+1}}. The form is ∞∞\tfrac{\infty}{\infty}, so we try L'Hôpital:

15
lim⁡x→∞1  x/x2+1  =lim⁡x→∞x2+1x.\quad \lim_{x\to\infty}\frac{1}{\;x/\sqrt{x^{2}+1}\;} = \lim_{x\to\infty}\frac{\sqrt{x^{2}+1}}{x}.

Derivation hint: differentiate top to 11 and bottom to x/x2+1x/\sqrt{x^2+1}, then simplify the complex fraction. The new limit is the reciprocal of the original — applying the rule again just flips it back, looping forever. The correct method is algebraic: divide by xx to get lim⁡11+1/x2=1\lim \frac{1}{\sqrt{1+1/x^2}} = 1. L'Hôpital's Rule is not always the right tool, even when its hypotheses hold.

Connections

connection

Limits are the bedrock of The Derivative, itself defined as the limit of a difference quotient lim⁡h→0f(x+h)−f(x)h\lim_{h\to 0}\frac{f(x+h)-f(x)}{h} — which is always a 00\tfrac00 form. They equally define The Definite Integral through Riemann sums, and Continuity of Functions, since ff is continuous at aa exactly when lim⁡x→af(x)=f(a)\lim_{x\to a}f(x)=f(a). L'Hôpital's Rule connects to Taylor Series, which give an alternative, often more illuminating route to indeterminate limits by expanding functions as polynomials. The Squeeze Theorem is a complementary tool for limits where derivatives are unavailable.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- c. 1660s — Newton and Leibniz independently develop calculus using vague "infinitely small" quantities, implicitly using limits.
- 1684 — Leibniz publishes the first account of differential calculus, introducing dxdx notation.
- 1691–1692 — Johann Bernoulli tutors the Marquis de l'Hôpital in the new calculus, discovering the rule in his lectures.
- 1696 — l'Hôpital publishes Analyse des Infiniment Petits, the first calculus textbook, containing "his" rule.
- 1704 — l'Hôpital dies; Bernoulli begins publicly claiming priority for many results.
- 1740s — Euler systematizes limits and indeterminate forms in his influential analysis texts.
- 1821 — Augustin-Louis Cauchy, in Cours d'Analyse, gives the first rigorous, arithmetic definition of a limit, replacing intuitive "infinitesimals."
- 1860s — Karl Weierstrass completes the rigorous ε–δ definition, putting limits on fully solid logical ground.
- 1922 — Discovery and publication of Bernoulli–l'Hôpital correspondence confirms Bernoulli as the true author.

Subtleties & Limits

open-problem

The intuitive "arbitrarily close" definition, while sufficient for computation, conceals deep subtleties that motivated centuries of foundational work. Pathological functions — such as f(x)=sin⁡(1/x)f(x)=\sin(1/x), which oscillates infinitely fast near 00 — have no limit despite being defined everywhere except one point, showing that "approaching" can fail in surprising ways. The full rigorous treatment requires the ε–δ definition, and even then, generalizing limits to higher dimensions, to topological spaces, and to nets and filters occupies modern analysis. Whether L'Hôpital's Rule can be extended cleanly to all multivariable indeterminate forms remains genuinely delicate: in two or more variables, the limit can depend on the path of approach, and no single mechanical rule replaces it.

See Also

The Derivative · Continuity of Functions · Squeeze Theorem · Taylor Series · The Definite Integral · Infinite Sequences and Series · Epsilon-Delta Definition of a Limit