Lesson 1 · Calculus

🔬 Limits Rigorously & L’Hôpital’s Rule

At university, limits are defined precisely rather than by “getting close”. You meet the ε–δ definition, the standard limit laws and L’Hôpital’s rule for indeterminate forms.

🎯 The ε–δ definition of a limit

limx→a f(x) = L means: for every ε > 0 there is a δ > 0 such that whenever 0 < |x − a| < δ we have |f(x) − L| < ε. In words: you can make f(x) as close to L as you like (within ε) by taking x close enough to a (within δ), without letting x equal a.

To prove a limit, work backwards from |f(x) − L| < ε to find a δ that depends on ε.

Claim: lim(x→3) (2x + 1) = 7.
Scratch work: |(2x + 1) − 7| = |2x − 6| = 2|x − 3|
We need 2|x − 3| < ε, so |x − 3| < ε ÷ 2
Proof: Let ε > 0 be given. Choose δ = ε ÷ 2.
If 0 < |x − 3| < δ, then |(2x + 1) − 7| = 2|x − 3| < 2δ = ε.
Therefore the limit is 7.
δ is a function of ε: a smaller ε usually needs a smaller δ. Any smaller δ also works.

🖼️ See it

The ε–δ picture for lim (2x + 1) = 7 as x → 3123451234567891011y = 2x + 1(3, 7)band 7 ± εx within δ of 3xy
Pick any band of height ε round L = 7 (green). Choose δ = ε ÷ 2 (orange strip): every x in the strip, except x = 3 itself, gives a y inside the band.

🧰 Limit laws and standard limits

Rule or limitStatement
sum, product, quotientlim (f ± g) = lim f ± lim g; lim fg = lim f · lim g; lim f/g = lim f ÷ lim g if lim g ≠ 0
squeeze theoremif g ≤ f ≤ h and lim g = lim h = L, then lim f = L
sin x ÷ xlim (x → 0) sin x ÷ x = 1
(1 − cos x) ÷ x²lim (x → 0) (1 − cos x) ÷ x² = 1/2
(eˣ − 1) ÷ xlim (x → 0) (eˣ − 1) ÷ x = 1
(1 + 1/x)ˣlim (x → ∞) (1 + 1/x)ˣ = e
rational function at infinitydivide by the highest power of x

A limit can exist even if f is undefined at a: (x² − 4) ÷ (x − 2) equals x + 2 for x ≠ 2, so its limit at 2 is 4.

⚡ L’Hôpital’s rule

If lim f(x)/g(x) has the form 0/0 or ±∞/∞ and f, g are differentiable near a, then lim f/g = lim f′/g′, provided the right-hand limit exists. You may need to apply it more than once. Other indeterminate forms (0·∞, ∞ − ∞, 1^∞, 0⁰, ∞⁰) are first rewritten as a quotient, often using logarithms.

Question: Find the limit of (eˣ − 1 − x) ÷ x² as x → 0.
Given: numerator → 0 and denominator → 0, so the form is 0/0
Formula: lim f/g = lim f′/g′
Substitute: first pass gives (eˣ − 1) ÷ (2x), which is again 0/0
second pass gives eˣ ÷ 2, which tends to 1 ÷ 2
Answer: 1/2
Check the form before you differentiate. L’Hôpital’s rule does not apply to forms such as 2/5 or 1/0.

🪜 Step by step: L'Hôpital's rule twice

Use it only when the limit is 0/0 or ∞/∞. Differentiate the top and bottom separately.

Problem: find the limit as x → 0 of (eˣ − 1 − x) / x².

  1. Check the form. Put x = 0 into the top and bottom.
    Top: 1 − 1 − 0 = 0
    Bottom: 0
    so it is 0/0
  2. Differentiate the top and bottom.
    Top: eˣ − 1
    Bottom: 2x
    limit of (eˣ − 1) / 2x
  3. Check the form again. It is still 0/0.
    top: 0, bottom: 0
  4. Differentiate again.
    Top: eˣ
    Bottom: 2
    limit of eˣ / 2 = 1/2

Answer: 1/2.

Common mistake: using the quotient rule. L'Hôpital differentiates the top and bottom separately.
✏️ Quick check · 1 of 10
Standard limit

What is the limit of sin(3x) ÷ x as x → 0?

sin(3x) ÷ x= 3 × sin(3x) ÷ (3x)sin u ÷ u → 1 as u →0limit = 3 × ?
Multiply and divide by 3.
✏️ Quick check · 2 of 10
At infinity

What is the limit of (3x² + 1) ÷ (x² − 5) as x → ∞?

(3x² + 1) ÷ (x² − 5) as x → ∞divide top andbottom by x²(3 + 1/x²) ÷ (1 −5/x²)→ ?
Highest powers decide.
✏️ Quick check · 3 of 10
Standard limit

What is the limit of (eˣ − 1) ÷ x as x → 0?

L'Hôpital: (eˣ − 1) ÷ x0/0 at x = 0differentiate topand bottom: eˣ ÷ 1x = 0: ?
Definition of a derivative.
✏️ Quick check · 4 of 10
Indeterminate

Which of these is NOT an indeterminate form?

Check which one has a definite value.
✏️ Quick check · 5 of 10
ε–δ

To prove lim(x→3) (2x + 1) = 7, which δ works for a given ε?

|(2x + 1) − 7| < ε= |2x − 6| = 2|x −3|2|x − 3| < ε when |x− 3| < ?
Divide ε by the slope.
✏️ Quick check · 6 of 10
Rewriting

Which limit equals 0?

Rewrite as a quotient.
✍️ Type your answer · 7 of 10

Consider (x² − 4) ÷ (x − 2).

(x² − 4) ÷ (x − 2)x² − 4 = (x − 2)(x +2)cancel (x − 2)put x = 2: ?

What is its limit as x → 2?

Enter an exact answer, without rounding.
Factor the numerator.
✍️ Type your answer · 8 of 10

Consider (1 − cos x) ÷ x².

(1 − cos x) ÷ x²0/0: use L'Hôpitalsin x ÷ 2x is still0/0again: cos x ÷ 2 atx = 0 = ?

What is its limit as x → 0? Give the answer as a decimal.

Give the answer as a decimal.
Use L’Hôpital twice.
✍️ Type your answer · 9 of 10

Consider (5x³ − 2x) ÷ (2x³ + 7).

(5x³ − 2x) ÷ (2x³ + 7) as x → ∞divide top andbottom by x³(5 − 2/x²) ÷ (2 +7/x³)→ ? ÷ ?

What is its limit as x → ∞? Give the answer as a decimal.

Give the answer as a decimal.
Ratio of leading coefficients.
✍️ Type your answer · 10 of 10

For lim(x→3) (2x + 1) = 7 you choose δ = ε ÷ 2.

δ = ε ÷ 2ε = 0.10.1 ÷ 2 = ?

What is the largest δ this rule gives when ε = 0.1?

Enter an exact answer, without rounding.
Divide ε by 2.
📝 Lesson quiz · 5 questions
0 / 5
Re-read the lesson, then give it another go.
Question 1 of 5

In the ε–δ definition, ε measures:

Question 2 of 5

L’Hôpital’s rule applies to the forms:

Question 3 of 5

The squeeze theorem needs:

Question 4 of 5
sin x ÷ x near 0xsin x ÷ x0.50.95890.10.99830.01?
Where is it heading as x gets closer to 0?

lim (x → 0) sin x ÷ x equals:

Question 5 of 5

To handle 0 · ∞ you should: