Limit of a continuous composition: Push the limit through an outer function

By Vegard Gjerde • Based on Masterful Learning • 8 min read • Updated
limit-continuous-composition-rule calculus limits math learning-strategies

The limit of a continuous composition rule lets you evaluate lim⁡x→af(g(x))\lim_{x \to a} f(g(x)) by first finding the inner limit lim⁡x→ag(x)=L\lim_{x \to a} g(x) = L and then applying ff to LL. It applies when that inner limit exists and ff is continuous at LL. Domain restrictions and discontinuities block the move, even when the expression has the right composite form.

Unisium hero image titled Limit of a continuous composition showing the principle equation and a conditions card.
The continuous composition rule: lim⁡x→af(g(x))=f ⁣(lim⁡x→ag(x))\lim_{x \to a} f(g(x)) = f\!\left(\lim_{x \to a} g(x)\right) — valid when ff is continuous at L=lim⁡x→ag(x)L = \lim_{x \to a} g(x).

On this page: The Principle | Conditions | Failure Modes | EE Questions | Retrieval Practice | Practice Ground | Solve a Problem | FAQ


The Principle

The move: Push the limit operator through a continuous outer function, so the limit applies only to the inner expression.

The invariant: This preserves the value of the limit, provided ff is continuous at the inner limit value LL.

Pattern: lim⁡x→af(g(x))⟶f ⁣(lim⁡x→ag(x))\lim_{x \to a} f(g(x)) \quad \longrightarrow \quad f\!\left(\lim_{x \to a} g(x)\right)

Legal ✓Illegal ✗
lim⁡x→0ex2\lim_{x \to 0} e^{x^2}; f=etf = e^t continuous everywhere → elim⁡x→0x2=e0=1e^{\lim_{x \to 0} x^2} = e^0 = 1lim⁡x→1⌊g(x)⌋↛⌊lim⁡x→1g(x)⌋\lim_{x \to 1} \lfloor g(x) \rfloor \not\to \lfloor\lim_{x \to 1} g(x)\rfloor when lim⁡x→1g(x)=1\lim_{x \to 1} g(x) = 1; floor discontinuous at L=1L = 1

Left: f=etf = e^t is continuous everywhere — the push is valid. Right: f=⌊t⌋f = \lfloor t \rfloor is discontinuous at every integer; since L=1L = 1 is an integer, the condition fails and the push is blocked even though the expression has the right form.


Conditions of Applicability

Condition: lim⁡x→ag(x)=L\lim_{x \to a} g(x)=L; f continuous at L

Before applying, check: compute lim⁡x→ag(x)=L\lim_{x \to a} g(x) = L first, then confirm ff is defined and continuous at LL.

If the condition is violated: the limit of f(g(x))f(g(x)) may differ from f(L)f(L), or may not exist, even though lim⁡x→ag(x)=L\lim_{x \to a} g(x) = L.

  • ff must be continuous at LL — a function with a jump discontinuity, a vertical asymptote, or that is undefined at LL blocks the push.
  • Standard functions such as sin⁡\sin, cos⁡\cos, ete^t, and polynomials are continuous wherever they are defined. For outer functions with restricted domains, compute LL first: ln⁡t\ln t requires L>0L > 0, t\sqrt{t} requires L≥0L \geq 0, and rational outer functions require a nonzero denominator at LL.

Want the complete framework behind this guide? Read Masterful Learning.


Common Failure Modes

Failure mode: apply the push when ff is not continuous at LL — for example, f(t)=1/tf(t) = 1/t when L=0L = 0, or f(t)=ln⁡tf(t) = \ln t when L=0L = 0 → the value f(L)f(L) is either undefined or differs from the true limit of the composition.

Debug: state LL explicitly, then ask “is ff defined and continuous at this specific value?” For ln⁡\ln, ⋅\sqrt{\cdot}, and rational outer functions, always verify the domain constraint at LL.

Failure mode: assume every standard function is safe everywhere, ignoring that domain boundaries disqualify continuity → misses cases like lim⁡x→0g(x)\lim_{x \to 0} \sqrt{g(x)} when lim⁡g(x)=−1\lim g(x) = -1, or lim⁡x→aln⁡(g(x))\lim_{x \to a} \ln(g(x)) when lim⁡g(x)=0\lim g(x) = 0.

Debug: for any outer function with a restricted domain, compute LL first — if LL is outside the domain or at a point where ff is not continuous, the push is unavailable.


Elaborative Encoding

Use these questions to build deep understanding. (See Elaborative Encoding for the full method.)

Within the Principle

  • What does “continuous at LL” mean operationally, and why is it the key check rather than “continuous everywhere”?
  • Could you apply this rule in reverse — interpreting f(lim⁡x→ag(x))f(\lim_{x \to a} g(x)) as lim⁡x→af(g(x))\lim_{x \to a} f(g(x))? When would that direction be useful?

For the Principle

  • Describe a two-step check you can run before applying the composition rule to any composite limit lim⁡x→af(g(x))\lim_{x \to a} f(g(x)).
  • When the rule cannot be applied because ff is not continuous at LL, what alternative strategies allow you to evaluate the limit?

Between Principles

  • The limit quotient rule also carries an applicability condition — a nonzero denominator limit. How does that algebraic-nonzero check compare to the continuity-at-LL check required here?

Generate an Example

  • Construct a composite limit lim⁡x→af(g(x))\lim_{x \to a} f(g(x)) where the rule appears applicable but the condition fails, and describe what goes wrong if you push the limit through anyway.

Retrieval Practice

Answer from memory, then click to reveal and check. (See Retrieval Practice for the full method.)

State the move in one sentence: _____Push the limit operator through the outer function: the limit of f(g(x)) equals f evaluated at the limit of g(x), provided f is continuous at that inner limit value.
Write the canonical equation: _____lim⁡x→af(g(x))=f ⁣(lim⁡x→ag(x))\lim_{x \to a} f(g(x)) = f\!\left(\lim_{x \to a} g(x)\right)
State the canonical condition: _____lim⁡x→ag(x)=L; f continuous at L\lim_{x \to a} g(x)=L;\, \text{f continuous at L}

Practice Ground

Use these exercises to build move-selection fluency. (See Self-Explanation for how to use worked examples effectively.)

Procedure Walkthrough

Starting from lim⁡x→13x2+1\lim_{x \to 1} \sqrt{3x^2 + 1}, reach a single numeric value.

StepExpressionOperation
0lim⁡x→13x2+1\lim_{x \to 1} \sqrt{3x^2+1}—
1lim⁡x→1(3x2+1)\sqrt{\lim_{x \to 1}(3x^2+1)}Composition rule — f(t)=tf(t)=\sqrt{t}, continuous at L=4L = 4 ✓
24\sqrt{4}Evaluate inner limit by direct substitution
322Arithmetic

Drills

Action label (Format B)

What was done between these two steps? Assume the inner limit exists and verify whether the move is valid.

lim⁡x→0sin⁡(x2+1)⟶sin⁡ ⁣(lim⁡x→0(x2+1))\lim_{x \to 0} \sin(x^2 + 1) \quad \longrightarrow \quad \sin\!\left(\lim_{x \to 0}(x^2+1)\right)

Reveal

Continuous composition rule applied. f(t)=sin⁡tf(t) = \sin t is continuous everywhere, so it is continuous at L=lim⁡x→0(x2+1)=1L = \lim_{x \to 0}(x^2+1) = 1. Condition holds ✓.

Completing the evaluation: sin⁡(1)\sin(1).


What was done between these two steps? Verify whether the move is valid.

lim⁡x→2ex2−3x⟶elim⁡x→2(x2−3x)\lim_{x \to 2} e^{x^2 - 3x} \quad \longrightarrow \quad e^{\lim_{x \to 2}(x^2-3x)}

Reveal

Continuous composition rule applied. f(t)=etf(t) = e^t is continuous everywhere, so it is continuous at L=lim⁡x→2(x2−3x)=4−6=−2L = \lim_{x \to 2}(x^2-3x) = 4 - 6 = -2. Condition holds ✓.

Completing the evaluation: e−2e^{-2}.


What was done between these two steps? Is the move valid? Assume the inner limit is L=1L = 1.

lim⁡x→1⌊g(x)⌋⟶⌊lim⁡x→1g(x)⌋\lim_{x \to 1} \lfloor g(x) \rfloor \quad \longrightarrow \quad \bigl\lfloor\lim_{x \to 1} g(x)\bigr\rfloor

Reveal

Invalid — the condition fails. f(t)=⌊t⌋f(t) = \lfloor t \rfloor (the floor function) is discontinuous at every integer, and L=1L = 1 is an integer. Since ff is not continuous at LL, the composition rule does not apply. The attempted push is blocked.

The true limit lim⁡x→1⌊g(x)⌋\lim_{x \to 1} \lfloor g(x) \rfloor requires separate analysis (e.g., one-sided limits) and may or may not equal 11.


Can the composition rule be applied? Identify the outer function, the inner limit, and check the condition. Assume lim⁡x→ag(x)=0\lim_{x \to a} g(x) = 0.

lim⁡x→aln⁡(g(x))\lim_{x \to a} \ln(g(x))

Reveal

No — this is a near-miss. The outer function is f(t)=ln⁡tf(t) = \ln t, and the inner limit is L=0L = 0. But ln⁡t\ln t is not defined at t=0t = 0 (let alone continuous there). Since ff is not continuous at LL, the condition fails.

The expression has the right compositional form, but the push is unavailable because ff is not continuous at LL. To evaluate this limit, a different technique (substitution, l’Hôpital, or series expansion near 0+0^+) is required.


Which of these two limits can be evaluated using the composition rule? Assume all inner limits exist. State the condition check for each.

(i) lim⁡x→0g(x)\displaystyle\lim_{x \to 0} \sqrt{g(x)} where lim⁡x→0g(x)=4\lim_{x \to 0} g(x) = 4

(ii) lim⁡x→0g(x)\displaystyle\lim_{x \to 0} \sqrt{g(x)} where lim⁡x→0g(x)=−1\lim_{x \to 0} g(x) = -1

Reveal

(i) only. f(t)=tf(t) = \sqrt{t} is continuous at t=4t = 4 (4≥04 \geq 0, so it is in the domain). Condition holds ✓ — the push is valid.

For (ii): L=−1L = -1 is outside the domain of t\sqrt{t} (real-valued). ff is not defined at LL, so it is not continuous there. The composition rule does not apply.

The same outer function can be eligible or blocked depending on where the inner limit lands.


Forward step (Format A)

Apply the composition rule once. State the condition check explicitly.

lim⁡x→1(2x−1)4\lim_{x \to 1} (2x - 1)^4

Reveal

Outer function f(t)=t4f(t) = t^4 (polynomial), continuous everywhere. Inner limit: L=lim⁡x→1(2x−1)=1L = \lim_{x \to 1}(2x-1) = 1. Condition: ff continuous at 11 ✓.

(lim⁡x→1(2x−1))4=14=1\left(\lim_{x \to 1}(2x-1)\right)^4 = 1^4 = 1


Apply the composition rule once. State the condition check explicitly.

lim⁡x→πcos⁡(x−π)\lim_{x \to \pi} \cos(x - \pi)

Reveal

Outer function f(t)=cos⁡tf(t) = \cos t, continuous everywhere. Inner limit: L=lim⁡x→π(x−π)=0L = \lim_{x \to \pi}(x - \pi) = 0. Condition: ff continuous at 00 ✓.

cos⁡ ⁣(lim⁡x→π(x−π))=cos⁡(0)=1\cos\!\left(\lim_{x \to \pi}(x - \pi)\right) = \cos(0) = 1


Apply the composition rule once. State the condition check explicitly.

lim⁡x→3x2−5\lim_{x \to 3} \sqrt{x^2 - 5}

Reveal

Outer function f(t)=tf(t) = \sqrt{t}. Inner limit: L=lim⁡x→3(x2−5)=9−5=4L = \lim_{x \to 3}(x^2-5) = 9 - 5 = 4. Condition: ff continuous at 44 ✓.

lim⁡x→3(x2−5)=4=2\sqrt{\lim_{x \to 3}(x^2-5)} = \sqrt{4} = 2


Can the composition rule be applied? State the condition check and explain your decision. Assume lim⁡x→1g(x)=1\lim_{x \to 1} g(x) = 1.

lim⁡x→11g(x)−1\lim_{x \to 1} \frac{1}{g(x) - 1}

Reveal

No — the condition fails. Outer function f(t)=1t−1f(t) = \dfrac{1}{t-1}. Inner limit: L=1L = 1. But ff has a vertical asymptote at t=1t = 1 — it is not defined (let alone continuous) at LL.

The composition rule does not apply. To evaluate this limit, analyze the behavior of g(x)g(x) near 11 from each side, or apply l’Hôpital if the form permits.


Transition identification (Format C)

In the evaluation chain below, identify which step applies the composition rule. Verify the condition at that step.

lim⁡x→0e3x2−2x\lim_{x \to 0} e^{3x^2 - 2x}

→(1)elim⁡x→0(3x2−2x)→(2)e0→(3)1\xrightarrow{(1)} e^{\lim_{x \to 0}(3x^2 - 2x)} \xrightarrow{(2)} e^{0} \xrightarrow{(3)} 1

Reveal

Step (1) applies the composition rule. Outer function f(t)=etf(t) = e^t, continuous everywhere. Inner limit: L=lim⁡x→0(3x2−2x)=0L = \lim_{x \to 0}(3x^2 - 2x) = 0. Condition holds ✓.

Step (2) evaluates the inner limit by direct substitution. Step (3) computes e0=1e^0 = 1.


Solve a Problem

Apply what you’ve learned with Problem Solving.

Problem: Evaluate lim⁡x→0ex2−4x+3\lim_{x \to 0} e^{x^2 - 4x + 3}, applying the continuous composition rule as the first step. Show the condition check before pushing the limit through.

Full solution
StepExpressionMove
0lim⁡x→0ex2−4x+3\lim_{x \to 0} e^{x^2 - 4x + 3}—
1elim⁡x→0(x2−4x+3)e^{\lim_{x \to 0}(x^2 - 4x + 3)}Composition rule — f(t)=etf(t) = e^t, continuous everywhere; L=0−0+3=3L = 0 - 0 + 3 = 3 ✓
2elim⁡x→0x2 − 4lim⁡x→0x + lim⁡x→03e^{\lim_{x \to 0} x^2 \,-\, 4\lim_{x \to 0} x \,+\, \lim_{x \to 0} 3}Sum and constant-multiple rules on inner expression
3e0−0+3e^{0 - 0 + 3}Evaluate each basic limit by substitution
4e3e^3Simplify

PrincipleRelationship
Limit statementPrerequisite: the inner expression still begins as a limit claim at x→ax \to a that must be evaluated first
Continuity at a PointDefines ”ff continuous at LL” precisely — the condition that makes the push valid
Function CompositionFunctions-side structural prerequisite: this rule applies to composite forms f(g(x))f(g(x)) and reuses the same inner/outer organization as composition
Derivative Chain RuleDownstream derivative analogue: after composite limits are fluent, chain rule handles composite derivatives
Limit Quotient RuleAnother condition-critical limit rule; its guard is algebraic (lim⁡g≠0\lim g \neq 0) rather than a continuity check

FAQ

What is the limit of a continuous composition rule?

The rule states that lim⁡x→af(g(x))=f ⁣(lim⁡x→ag(x))\lim_{x \to a} f(g(x)) = f\!\left(\lim_{x \to a} g(x)\right) when ff is continuous at L=lim⁡x→ag(x)L = \lim_{x \to a} g(x). It lets you evaluate the limit of a composite expression by first finding the inner limit, then applying the outer function — as long as the outer function is continuous at the inner limit’s value.

When is the composition rule valid?

Two conditions must both hold: (1) lim⁡x→ag(x)=L\lim_{x \to a} g(x) = L exists, and (2) ff is continuous at LL. Standard functions like sin⁡\sin, cos⁡\cos, ete^t, and polynomials are continuous everywhere on their domains. For ln⁡t\ln t, t\sqrt{t}, or rational ff, you must check whether ff is continuous at LL: L=0L = 0 blocks ln⁡t\ln t (not in its domain), but L=0L = 0 is a valid point for t\sqrt{t} — t\sqrt{t} is continuous at 00.

What goes wrong if ff is not continuous at the inner limit?

The value f(L)f(L) may differ from the true limit lim⁡x→af(g(x))\lim_{x \to a} f(g(x)) — or the true limit may not exist at all. For example, ⌊t⌋\lfloor t \rfloor is discontinuous at integers: if lim⁡g(x)=1\lim g(x) = 1, you cannot conclude lim⁡⌊g(x)⌋=1\lim \lfloor g(x) \rfloor = 1 by pushing through.

How is this different from direct substitution?

Direct substitution evaluates lim⁡x→af(g(x))\lim_{x \to a} f(g(x)) by computing f(g(a))f(g(a)) — it works when the entire composition is continuous at aa. The composition rule is more general: it separates the inner limit computation from the outer function evaluation, so it still applies when gg is not continuous at aa but lim⁡x→ag(x)\lim_{x \to a} g(x) exists and ff is continuous at that limit.

Does this rule apply when ff has a domain restriction?

When LL is a point where ff is defined and continuous. L=0L = 0 blocks ln⁡t\ln t because 00 is not in the domain. L=0L = 0 is fine for t\sqrt{t} because 0=0\sqrt{0} = 0 and t\sqrt{t} is continuous at 00. What matters is not whether LL is interior or boundary in some abstract sense, but whether ff is continuous at LL.


How This Fits in Unisium

Within the calculus subdomain, calculus fluency is built by training condition recognition before rule application — not just pattern execution. For the composition rule, that means computing the inner limit LL explicitly and verifying ff is continuous there before writing the split form. Through spaced retrieval practice and the action-labeling drills above, that two-step check becomes automatic. The near-miss identification exercises (near 00 for ln⁡\ln, at integers for ⌊⋅⌋\lfloor\cdot\rfloor) build the diagnostic awareness that separates fluent calculus from mechanical pattern-matching.

Explore further:

  • Calculus Subdomain Map — Return to the calculus hub to see where composite-limit evaluation sits between continuity and derivative composition
  • Limit Statement — The prerequisite claim whose inner value you must compute before any push through the outer function
  • Continuity at a point — The definition that makes the condition ”ff continuous at LL” precise
  • Function Composition — The functions-side structure that gives this rule its inner/outer composite form
  • Derivative Chain Rule — The derivative-side successor once you move from composite limits to composite derivatives
  • Elaborative Encoding — Build deep understanding of why continuity at LL is the key guard
  • Retrieval Practice — Make the condition and equation pattern instantly accessible

Ready to master the limit of a continuous composition? See Unisium’s 14-day free trial or explore the full learning framework in Masterful Learning.

Masterful Learning book cover

Masterful Learning

The book behind these guides: a study system for physics, math, & programming built on retrieval, connection, explanation, and problem solving.

Ready to apply this strategy?

Unisium turns these evidence-based techniques into guided study sessions for math and physics. Places are limited during early access. Check current availability to start a trial; joining the mailing list is optional.

See plans and availability Read More Guides

Already have access? Sign in