Skip to content
🎯⭐ INTERACTIVE LESSON

Direct Substitution Method

Learn step-by-step with interactive practice!

Direct Substitution Method - Complete Interactive Lesson

Part 1: The Idea of Direct Substitution

🎯 Direct Substitution — The Idea

Part 1 of 4 — When you can "just plug in"


Topics in This Part

Section
The Big Idea
🔑 The Continuity Connection
Easy Examples

🔑 Why this matters: Direct substitution is the first thing you try on every limit problem. Many AP limits are solved in one line.

💡 The Big Idea

Direct substitution: to find lim⁡x→af(x)\lim_{x \to a} f(x), simply compute f(a)f(a).

If ff is continuous at aa, the answer is just f(a)f(a) — no fancy work needed.

lim⁡x→af(x)=f(a)whenever f is continuous at a.\lim_{x \to a} f(x) = f(a) \quad \text{whenever $f$ is continuous at $a$.}

💡 This is the definition of continuity: limit equals value.

🔑 The Continuity Connection

Direct substitution works because of a chain of facts:

  1. Polynomials are continuous everywhere.
  2. Rational functions are continuous everywhere their denominator is nonzero.
  3. sin⁡x\sin x, cos⁡x\cos x, exe^x are continuous everywhere.
  4. ln⁡x\ln x is continuous on x>0x > 0.
  5. x\sqrt{x} is continuous on x≥0x \ge 0.
  6. Sums, products, quotients (denominator ≠0\ne 0), and compositions of continuous functions are continuous.

💡 Strategy: before trying anything fancy, try plugging in. If it gives a clean number, you're done.

📝 Easy Examples

LimitSubstitutionAnswer
lim⁡x→4(3x2−2x+1)\lim_{x \to 4} (3x^2 - 2x + 1)3(16)−2(4)+1=413(16) - 2(4) + 1 = 414141
lim⁡x→0cos⁡x\lim_{x \to 0} \cos xcos⁡0=1\cos 0 = 111
lim⁡x→1x2+5x+2\lim_{x \to 1} \dfrac{x^2 + 5}{x + 2}1+51+2=2\dfrac{1 + 5}{1 + 2} = 222
lim⁡x→eln⁡x\lim_{x \to e} \ln xln⁡e=1\ln e = 111
lim⁡x→2ex\lim_{x \to 2} e^xe2≈7.389e^2 \approx 7.389e2e^2

Concept Check 🎯

Substitute 🧮

Compute each limit by direct substitution:

1) lim⁡x→2(x3−x)=?\lim_{x \to 2} (x^3 - x) = ?

2) lim⁡x→0(sin⁡x+5)=?\lim_{x \to 0} (\sin x + 5) = ?

3) lim⁡x→4x+1x−1=?\lim_{x \to 4} \dfrac{x + 1}{x - 1} = ? (decimal or fraction)

Part 2: When Direct Substitution Works

✅ When Direct Substitution Works

Part 2 of 4 — A continuity catalog


Topics in This Part

Section
Polynomials
Rational Functions
Trig, Exp, Log, Roots

🔑 Why this matters: Knowing the "continuity catalog" lets you spot a one-line problem at a glance.

📐 Polynomials

A polynomial p(x)=anxn+⋯+a0p(x) = a_n x^n + \cdots + a_0 is continuous everywhere.

So: lim⁡x→ap(x)=p(a)for any real a.\lim_{x \to a} p(x) = p(a) \quad \text{for any real } a.

💡 Always try substitution first for polynomials. It will work.

÷ Rational Functions

A rational function r(x)=p(x)q(x)r(x) = \dfrac{p(x)}{q(x)} is continuous wherever q(x)≠0q(x) \ne 0.

SituationResult
q(a)≠0q(a) \ne 0Direct substitution gives the limit immediately
q(a)=0q(a) = 0 but p(a)≠0p(a) \ne 0Limit DNE (vertical asymptote) — see Infinite Limits
q(a)=0q(a) = 0 AND p(a)=0p(a) = 0Indeterminate 0/00/0 — try factoring/rationalizing/L'Hôpital

Worked example: lim⁡x→5x2−1x−2=243=8\lim_{x \to 5} \dfrac{x^2 - 1}{x - 2} = \dfrac{24}{3} = 8. ✅

🌀 Trig, Exp, Log, Roots

FunctionContinuous on
sin⁡x\sin x, cos⁡x\cos xAll of R\mathbb{R}
exe^xAll of R\mathbb{R}
ln⁡x\ln xx>0x > 0
x\sqrt{x}x≥0x \ge 0
tan⁡x\tan xAll xx except odd multiples of π/2\pi/2
sec⁡x\sec x, csc⁡x\csc x, cot⁡x\cot xWherever denominators don't vanish

⚠️ For tan⁡x\tan x at π/2\pi/2, x\sqrt{x} at negative numbers, and ln⁡x\ln x at 0, direct substitution fails because the function isn't continuous (or even defined) there.

Catalog Check 🎯

Substitute or Stop? 🔽

Part 3: Limit Laws

📜 Limit Laws — The Algebra of Substitution

Part 3 of 4 — Why "just plug in" works


Topics in This Part

Section
🔑 The Five Core Limit Laws
Composition of Continuous Functions
Examples

🔑 Why this matters: Limit laws are what justify direct substitution and let you break complex limits into pieces.

🔑 The Five Core Limit Laws

If lim⁡x→af(x)=L\lim_{x \to a} f(x) = L and lim⁡x→ag(x)=M\lim_{x \to a} g(x) = M (both exist), and cc is a constant:

LawStatement
Sumlim⁡(f+g)=L+M\lim (f + g) = L + M
Constant Multiplelim⁡(c⋅f)=cL\lim (c \cdot f) = cL
Productlim⁡(fg)=LM\lim (fg) = LM
Quotientlim⁡fg=LM\lim \dfrac{f}{g} = \dfrac{L}{M} if M≠0M \ne 0
Powerlim⁡fn=Ln\lim f^n = L^n for positive integers nn

💡 These laws let you take a complicated expression apart, evaluate each piece, and combine — exactly what direct substitution does in shorthand.

🔁 Composition of Continuous Functions

If gg is continuous at aa and ff is continuous at g(a)g(a), then lim⁡x→af(g(x))=f(g(a)).\lim_{x \to a} f(g(x)) = f(g(a)).

In words: "you can move the limit inside a continuous function."

Worked example: lim⁡x→3x2+7\lim_{x \to 3} \sqrt{x^2 + 7}.

  • Inside: lim⁡x→3(x2+7)=16\lim_{x \to 3} (x^2 + 7) = 16.
  • Outside:  ⋅ \sqrt{\,\cdot\,} is continuous at 16.
  • Conclusion: 16=4\sqrt{16} = 4.

📝 Examples Combining the Laws

Ex 1. lim⁡x→2[(x3−1)(x+5)]=(8−1)(7)=49\lim_{x \to 2} \bigl[(x^3 - 1)(x + 5)\bigr] = (8 - 1)(7) = 49. (Product law.)

Ex 2. lim⁡x→0ex+4cos⁡x+2=1+41+2=53\lim_{x \to 0} \dfrac{e^x + 4}{\cos x + 2} = \dfrac{1 + 4}{1 + 2} = \dfrac{5}{3}. (Quotient law.)

Ex 3. lim⁡x→π/2sin⁡(cos⁡x)=sin⁡(cos⁡(π/2))=sin⁡0=0\lim_{x \to \pi/2} \sin(\cos x) = \sin(\cos(\pi/2)) = \sin 0 = 0. (Composition.)

Apply the Laws 🎯

Combine the Laws 🧮

Given lim⁡x→af=5\lim_{x \to a} f = 5 and lim⁡x→ag=4\lim_{x \to a} g = 4:

1) lim⁡x→a(f+g)=?\lim_{x \to a} (f + g) = ?

2) lim⁡x→a(3fg)=?\lim_{x \to a} (3fg) = ?

3) lim⁡x→af2g=?\lim_{x \to a} \dfrac{f^2}{g} = ? (decimal or fraction)

Part 4: When Direct Substitution Fails

🚦 When Direct Substitution Fails

Part 4 of 4 — Recognize the trigger and switch tools


Topics in This Part

Section
The Indeterminate Form Trigger
What to Do Next (a Roadmap)
Substitution vs. Indeterminate vs. DNE

🔑 Why this matters: When substitution gives 0/00/0 or another indeterminate form, that's a signal — not an answer. You need a different technique.

⚠️ The Indeterminate Form Trigger

Plugging in x=ax = a can yield:

ResultWhat it meansNext step
Clean number LLLimit is LL ✅Done
Nonzero / 0Vertical asymptote — limit DNE (or ±∞\pm\infty)Analyze sign on each side
0/00/0IndeterminateFactor, rationalize, L'Hôpital, or known limit
∞/∞\infty / \inftyIndeterminateCompare growth rates / divide by dominant term

💡 "Indeterminate" doesn't mean "no answer." It means "more work needed."

🗺️ What to Do Next (A Roadmap)

Indeterminate formMost common technique
0/00/0, polynomial-onlyFactor and cancel the common factor
0/00/0, contains \sqrt{}Rationalize with the conjugate
0/00/0, contains sin⁡\sin or cos⁡\cosUse known special limits like lim⁡x→0sin⁡xx=1\lim_{x \to 0} \dfrac{\sin x}{x} = 1
∞/∞\infty / \inftyDivide top and bottom by highest power of xx

🔑 The next four micro-topics in this unit develop these techniques one at a time.

🧠 Substitution vs. Indeterminate vs. DNE

Three cleanly different outcomes when you "plug in":

  1. Number — direct substitution wins, you're done.
  2. Indeterminate form — you don't have the answer yet; switch to factoring/rationalizing/etc. The limit might still exist.
  3. Nonzero over zero — the limit DNE because of unbounded behavior; sometimes we can describe it as ±∞\pm\infty.

⚠️ Common mistake: writing "DNE" when you actually got 0/00/0. 0/00/0 is not an answer — it's a request to do more work.

Diagnose the Trigger 🎯

Exit Check ✅