[Calculus: Practice Lab ①] Limits of Composite Functions: 15 Advanced AP-Style Problems & Twin Self-Diagnosis
In the foundational guide [Limits of Functions: Core Concepts], we established the three fundamental trajectories of an inner function's range ($u \to b^+$, $u \to b^-$, and stationary $u = b$) along with key transition models such as $x^2$, $-x^2$, piecewise linear, and step functions.
However, exam-level problems—especially in AP Calculus AB/BC (Section I Multiple Choice) and advanced competitions—demand deeper precision. Common traps arise where discontinuities align with the vertex of a quadratic inner function, rational asymptotes require tracking intermediate limits at infinity, or floor functions ($\lfloor x \rfloor$) alternate between inner and outer positions.
Here are 15 essential advanced-level practice problems paired with 1:1 twin self-check variations. Before expanding each solution toggle, track the trajectory of the intermediate variable on paper.
💡 3 Golden Rules for Limits of Composite Functions
- Never drop directional tags ($+$, $-$, or exact value): Writing simply $u \to b$ without specifying whether it approaches from above ($u \to b^+$), below ($u \to b^-$), or remains stationary ($u = b$) is the leading cause of errors.
- Approaching a vertex forces a one-sided limit: For an upward-opening parabola, approaching the vertex minimum from either side yields values greater than the minimum ($u \to b^+$). For a downward-opening parabola, it collapses to a left-hand limit ($u \to b^-$).
- Constant & floor segments evaluate directly to function values: When the inner function remains on a horizontal line, motion ceases. The limit operator vanishes, and you evaluate the exact function value $f(b)$ instead of a one-sided limit.
Theme 1. Discontinuities & Directional Trajectory Tracking (Problems 01–05)
[Problem 01] Reversing Slopes and Stationary Output Intervals
Let $y = f(x)$ and $y = g(x)$ be defined on $[-2, 2]$, where
$$g(x) = \begin{cases} -2x + 1 & (x > 0) \\ 1 & (-1 \le x \le 0) \\ x + 2 & (x < -1) \end{cases}$$Given that $\lim_{u \to 1^+} f(u) = 3$, $\lim_{u \to 1^-} f(u) = -2$, and $f(1) = 5$, find the value of:
$$\lim_{x \to 0^+} f(g(x)) + \lim_{x \to 0^-} f(g(x))$$🔍 View Solution & Explanation
Answer: $3$
Step-by-step:
- Right-hand limit ($\lim_{x \to 0^+} f(g(x))$): As $x \to 0^+$, $x > 0$, so $g(x) = -2x + 1$. Because $x > 0$, $-2x < 0$, giving $g(x) < 1$. Thus, $u = g(x) \to 1^-$. Consequently, $\lim_{u \to 1^-} f(u) = -2$.
- Left-hand limit ($\lim_{x \to 0^-} f(g(x))$): As $x \to 0^-$, $-1 \le x < 0$, where $g(x) = 1$ (constant). Because $g(x)$ is identically $1$ rather than approaching it, the limit collapses to the exact value $f(1) = 5$.
- Sum: $(-2) + 5 = 3$.
Takeaway: Moving along a negative slope flips a right-hand approach into a left-hand limit ($1^-$), while a flat segment immediately produces an exact evaluation $f(1)$.
Let $h(x) = \begin{cases} 3 & (x \ge 1) \\ 2x + 1 & (x < 1) \end{cases}$. If $\lim_{u \to 3^+} f(u) = 4$, $\lim_{u \to 3^-} f(u) = 1$, and $f(3) = -2$, evaluate $\lim_{x \to 1^+} f(h(x)) - \lim_{x \to 1^-} f(h(x))$.
Show Solution
Answer: $-3$
Explanation: As $x \to 1^+$, $h(x) = 3 \implies f(3) = -2$. As $x \to 1^-$, $h(x) = 2x+1 < 3 \implies u \to 3^- \implies \lim_{u \to 3^-} f(u) = 1$. Result: $(-2) - 1 = -3$.
[Problem 02] Unidirectional Collapse at a Quadratic Vertex
Let $g(x) = 2(x - 1)^2 - 3$. Suppose $f(x)$ is discontinuous at $x = -3$ with $\lim_{u \to -3^+} f(u) = 4$, $\lim_{u \to -3^-} f(u) = 0$, and $f(-3) = 2$. Evaluate:
$$\lim_{x \to 1} f(g(x))$$🔍 View Solution & Explanation
Answer: $4$
Step-by-step:
- The parabola $g(x) = 2(x - 1)^2 - 3$ opens upward with its global minimum at $(1, -3)$.
- For any $x \neq 1$, $(x - 1)^2 > 0$, which ensures $g(x) > -3$. Whether $x \to 1^+$ or $x \to 1^-$, the intermediate variable approaches strictly from above: $u = g(x) \to -3^+$.
- Therefore, $\lim_{x \to 1} f(g(x)) = \lim_{u \to -3^+} f(u) = 4$.
Takeaway: Approaching a local minimum locks the intermediate limit to the right-hand side ($b^+$), regardless of whether $x$ approaches from the left or right.
Let $p(x) = -(x - 2)^2 + 4$. If $\lim_{u \to 4^+} f(u) = -1$, $\lim_{u \to 4^-} f(u) = 5$, and $f(4) = 2$, evaluate $\lim_{x \to 2} f(p(x))$.
Show Solution
Answer: $5$
Explanation: At $x = 2$, $p(x)$ reaches a local maximum of $4$. For $x \neq 2$, $p(x) < 4 \implies u \to 4^-$. Hence $\lim_{u \to 4^-} f(u) = 5$.
[Problem 03] Self-Composition Oscillations: $f(f(x))$
Let $f(x) = \begin{cases} -x + 1 & (x \ge 0) \\ -x - 1 & (x < 0) \end{cases}$. Evaluate both $\lim_{x \to 0^+} f(f(x))$ and $\lim_{x \to 0^-} f(f(x))$.
🔍 View Solution & Explanation
Answer: Both one-sided limits equal $0$ (Overall limit exists and is $0$).
Step-by-step:
- As $x \to 0^+$: $x > 0 \implies f(x) = -x + 1 < 1$, so $u \to 1^-$. In the outer function, $u$ lies in the domain $[0, \infty)$, where $f(u) = -u + 1$. Thus, $\lim_{u \to 1^-} (-u + 1) = 0$.
- As $x \to 0^-$: $x < 0 \implies f(x) = -x - 1 > -1$, so $u \to -1^+$. In the outer function, $u$ lies in $(-\infty, 0)$, where $f(u) = -u - 1$. Thus, $\lim_{u \to -1^+} (-u - 1) = -(-1) - 1 = 0$.
Let $g(x) = \begin{cases} 2x & (x > 1) \\ 0 & (x = 1) \\ 2x - 1 & (x < 1) \end{cases}$. Find $\lim_{x \to 1^+} g(g(x))$.
Show Solution
Answer: $4$
Explanation: As $x \to 1^+$, $g(x) = 2x > 2 \implies u \to 2^+$. In the outer function, $u > 1$, so $\lim_{u \to 2^+} 2u = 4$.
[Problem 04] Absolute Value Argument Trapping
Let $f(x) = \begin{cases} x + 2 & (x > 0) \\ 1 & (x = 0) \\ -x - 2 & (x < 0) \end{cases}$. Evaluate:
$$\lim_{x \to 0} f(|x|) + \lim_{x \to 0} f(-|x|)$$🔍 View Solution & Explanation
Answer: $0$
Step-by-step:
- For $x \neq 0$, $|x| > 0$, locking the limit to $u = |x| \to 0^+$. Thus, $\lim_{u \to 0^+} (u + 2) = 2$.
- Similarly, $-|x| < 0$, locking the limit to $w = -|x| \to 0^-$. Thus, $\lim_{w \to 0^-} (-w - 2) = -2$.
- Sum: $2 + (-2) = 0$.
If $\lim_{u \to 0^+} g(u) = 5$ and $\lim_{u \to 0^-} g(u) = -3$, evaluate $\lim_{x \to 0} g(x^4) - \lim_{x \to 0} g(-x^2)$.
Show Solution
Answer: $8$
Explanation: As $x \to 0$ ($x \neq 0$), $x^4 \to 0^+ \implies 5$, and $-x^2 \to 0^- \implies -3$. Result: $5 - (-3) = 8$.
[Problem 05] Simple Root vs. Axis Crossing Discontinuity
Let $f(x) = \begin{cases} 1 & (x > 0) \\ 0 & (x = 0) \\ -1 & (x < 0) \end{cases}$ and $g(x) = (x - 1)(x - 3)$. Evaluate $\lim_{x \to 1} f(g(x))$.
🔍 View Solution & Explanation
Answer: Does not exist (DNE)
Step-by-step:
- At $x = 1$, the linear factor $(x - 1)$ changes sign.
- As $x \to 1^+$, $1 < x < 3$, so $g(x) < 0 \implies u \to 0^-$, yielding $\lim_{u \to 0^-} f(u) = -1$.
- As $x \to 1^-$, $x < 1$, so $g(x) > 0 \implies u \to 0^+$, yielding $\lim_{u \to 0^+} f(u) = 1$.
- Because the one-sided limits are unequal ($-1 \neq 1$), the two-sided limit does not exist.
Using the same $f(x)$, let $h(x) = (x - 2)^2$. Evaluate $\lim_{x \to 2} f(h(x))$.
Show Solution
Answer: $1$
Explanation: Because $(x - 2)^2$ has an even multiplicity, $h(x) > 0$ for all $x \neq 2$. Thus $u \to 0^+$ from both sides, giving $\lim_{u \to 0^+} f(u) = 1$.
Theme 2. Rational Asymptotes at Infinity & Radical Conjugates (Problems 06–10)
[Problem 06] Horizontal Asymptotes and Trajectory at Infinity
Let $f(x)$ satisfy $\lim_{u \to 2^+} f(u) = 3$, $\lim_{u \to 2^-} f(u) = -1$, $\lim_{u \to -3^+} f(u) = 4$, and $\lim_{u \to -3^-} f(u) = 2$. Evaluate:
$$\lim_{x \to \infty} f\left(\dfrac{2x + 1}{x - 1}\right) + \lim_{x \to -\infty} f\left(\dfrac{-3x + 2}{x + 1}\right)$$🔍 View Solution & Explanation
Answer: $5$
Step-by-step:
- Rewrite via polynomial division: $\dfrac{2x + 1}{x - 1} = 2 + \dfrac{3}{x - 1}$. As $x \to \infty$, $\dfrac{3}{x - 1} \to 0^+$, so $u \to 2^+$. Thus, $\lim_{u \to 2^+} f(u) = 3$.
- Rewrite the second argument: $\dfrac{-3x + 2}{x + 1} = -3 + \dfrac{5}{x + 1}$. As $x \to -\infty$, $\dfrac{5}{x + 1} \to 0^-$, so $w \to -3^-$. Thus, $\lim_{w \to -3^-} f(w) = 2$.
- Sum: $3 + 2 = 5$.
If $\lim_{u \to 1^+} g(u) = 6$ and $\lim_{u \to 1^-} g(u) = -2$, evaluate $\lim_{x \to -\infty} g\left(\dfrac{x - 3}{x + 2}\right)$.
Show Solution
Answer: $6$
Explanation: $\dfrac{x-3}{x+2} = 1 - \dfrac{5}{x+2}$. As $x \to -\infty$, $-\dfrac{5}{-\infty} \to 0^+$, so $u \to 1^+ \implies g(1^+) = 6$.
[Problem 07] Reciprocal Inversion Between $0$ and $\pm\infty$
Given $\lim_{x \to 0^+} f\left(\dfrac{1}{x}\right) = 3$ and $\lim_{x \to 0^-} f\left(\dfrac{1}{x}\right) = -2$, find the value of:
$$\lim_{u \to \infty} f(u) + \lim_{u \to -\infty} f(u)$$🔍 View Solution & Explanation
Answer: $1$
Step-by-step:
- Substitute $u = \dfrac{1}{x}$. As $x \to 0^+$, $u \to \infty$, which gives $\lim_{u \to \infty} f(u) = 3$.
- As $x \to 0^-$, $u \to -\infty$, which gives $\lim_{u \to -\infty} f(u) = -2$.
- Sum: $3 + (-2) = 1$.
If $\lim_{x \to \infty} g\left(\dfrac{2}{x}\right) = 4$ and $\lim_{x \to -\infty} g\left(\dfrac{2}{x}\right) = -1$, find $\lim_{u \to 0^+} g(u) \times \lim_{u \to 0^-} g(u)$.
Show Solution
Answer: $-4$
Explanation: As $x \to \infty$, $2/x \to 0^+ \implies g(0^+) = 4$. As $x \to -\infty$, $2/x \to 0^- \implies g(0^-) = -1$. Product is $-4$.
[Problem 08] Radical Rationalization with Strict Asymptotic Inequalities
Let $f(x)$ satisfy $\lim_{u \to 2^+} f(u) = 5$ and $\lim_{u \to 2^-} f(u) = 1$. Find:
$$\lim_{x \to \infty} f\left(\sqrt{x^2 + 4x} - x\right)$$🔍 View Solution & Explanation
Answer: $1$
Step-by-step:
- Rationalize the inner expression: $$\sqrt{x^2 + 4x} - x = \dfrac{4x}{\sqrt{x^2 + 4x} + x} = \dfrac{4}{\sqrt{1 + \dfrac{4}{x}} + 1}$$
- For $x > 0$, $\sqrt{1 + \frac{4}{x}} > 1$, which makes the denominator strictly greater than $2$. Dividing $4$ by a quantity slightly larger than $2$ yields a value strictly less than $2$.
- Hence, $u \to 2^-$. Therefore, $\lim_{u \to 2^-} f(u) = 1$.
Using the same function $f(x)$, evaluate $\lim_{x \to \infty} f\left(x - \sqrt{x^2 - 4x}\right)$.
Show Solution
Answer: $5$
Explanation: Rationalizing yields $\dfrac{4}{1 + \sqrt{1 - 4/x}}$. Because the denominator is strictly less than $2$, the quotient is strictly greater than $2 \implies u \to 2^+$. Thus $f(2^+) = 5$.
[Problem 09] Vertex Extremum vs. Non-Extremum Intercept
Let $f(u) = \begin{cases} 2 & (u > 0) \\ 0 & (u = 0) \\ -2 & (u < 0) \end{cases}$ and $g(x) = x^2 - 4$. Compute $A + B$ where:
$$A = \lim_{x \to 0} f(g(x)), \quad B = \lim_{x \to 2^+} f(g(x))$$🔍 View Solution & Explanation
Answer: $0$
Step-by-step:
- For $A$ ($x \to 0$): At the vertex, $g(0) = -4$ is the minimum. As $x \to 0$, $g(x) > -4 \implies u \to -4^+$. Since $-4 < 0$, $f(u) = -2$, giving $A = -2$.
- For $B$ ($x \to 2^+$): As $x \to 2^+$, $x > 2 \implies x^2 - 4 > 0 \implies u \to 0^+$. Thus $f(0^+) = 2$, giving $B = 2$.
- Sum: $A + B = (-2) + 2 = 0$.
Using the same functions, evaluate $\lim_{x \to 2^-} f(g(x))$.
Show Solution
Answer: $-2$
Explanation: As $x \to 2^-$, $x < 2 \implies x^2 - 4 < 0 \implies u \to 0^-$. Thus $f(0^-) = -2$.
[Problem 10] Rational Peak Approaching a Domain Boundary
Let $f(u) = \begin{cases} u + 1 & (u > 1) \\ 0 & (u \le 1) \end{cases}$ and $g(x) = \dfrac{1}{x^2 + 1}$. Evaluate $\lim_{x \to 0} f(g(x))$.
🔍 View Solution & Explanation
Answer: $0$
Step-by-step:
- The maximum of $g(x) = \dfrac{1}{x^2 + 1}$ occurs at $x = 0$ with value $1$.
- For all $x \neq 0$, $x^2 + 1 > 1$, meaning $g(x) < 1$. Thus, approaching $x = 0$ forces $u = g(x) \to 1^-$.
- For $u < 1$, the function rule is $f(u) = 0$. Hence $\lim_{u \to 1^-} f(u) = 0$.
Using the same $g(x)$, if $f(u) = \begin{cases} 3 & (u \ge 1) \\ -2 & (u < 1) \end{cases}$, evaluate $\lim_{x \to 0} f(g(x))$.
Show Solution
Answer: $-2$
Explanation: Since $u \to 1^-$, we apply the rule for $u < 1$, yielding $-2$.
Theme 3. Floor Functions, Nested Chains & Polynomial Inference (Problems 11–15)
[Problem 11] Alternating Floor Functions: $\lfloor f(x) \rfloor$ vs. $f(\lfloor x \rfloor)$
Let $f(x) = x^2 - 2x$ and let $\lfloor x \rfloor$ denote the greatest integer function. Find $A + B$ where:
$$A = \lim_{x \to 1^+} \lfloor f(x) \rfloor, \quad B = \lim_{x \to 1^+} f(\lfloor x \rfloor)$$🔍 View Solution & Explanation
Answer: $-2$
Step-by-step:
- Evaluating $A$: $f(x) = (x - 1)^2 - 1$. As $x \to 1^+$, $f(x) > -1$, meaning $u \to -1^+$. For intermediate values slightly above $-1$ (e.g., $-0.99$), $\lfloor u \rfloor = -1$. Hence $A = -1$.
- Evaluating $B$: As $x \to 1^+$, $1 < x < 2$, so $\lfloor x \rfloor = 1$ identically. The limit collapses to the exact value $B = f(1) = 1^2 - 2(1) = -1$.
- Sum: $A + B = (-1) + (-1) = -2$.
Using the same $f(x)$, evaluate $\lim_{x \to 1^-} \lfloor f(x) \rfloor$.
Show Solution
Answer: $-1$
Explanation: Because $x = 1$ is the vertex minimum, approaching from the left still yields $f(x) > -1 \implies u \to -1^+$. Thus $\lfloor -1^+ \rfloor = -1$.
[Problem 12] Three-Stage Nested Limit Chain: $f(f(f(x)))$
Let $f(x) = \begin{cases} -x + 2 & (x > 1) \\ 0 & (x = 1) \\ -x & (x < 1) \end{cases}$. Find $\lim_{x \to 1^+} f(f(f(x)))$.
🔍 View Solution & Explanation
Answer: $1$
Step-by-step: Pass the directional baton across three stages:
- Stage 1 ($x \to u$): As $x \to 1^+$, $x > 1 \implies f(x) = -x + 2 < 1$. Thus, $u \to 1^-$.
- Stage 2 ($u \to w$): As $u \to 1^-$, $u < 1 \implies f(u) = -u$. Since $u$ increases toward $1$, $-u$ decreases toward $-1$, so $w \to -1^-$.
- Stage 3 (Final evaluation): As $w \to -1^-$, $w < 1 \implies f(w) = -w$. Hence $-(-1) = 1$.
Using the same function, evaluate $\lim_{x \to 1^-} f(f(x))$.
Show Solution
Answer: $1$
Explanation: As $x \to 1^-$, $f(x) = -x > -1 \implies u \to -1^+$. Since $u < 1$, $f(-1^+) = -(-1) = 1$.
[Problem 13] Periodic Boundary Reduction at Infinity
Suppose $f(x + 2) = f(x)$ for all $x \in \mathbb{R}$, and on $[0, 2)$, $f(x) = \begin{cases} x & (0 \le x < 1) \\ 2 - x & (1 \le x < 2) \end{cases}$. Find:
$$\lim_{n \to \infty} f\left(2n + \dfrac{1}{n}\right) + \lim_{n \to \infty} f\left(2n - \dfrac{1}{n}\right)$$🔍 View Solution & Explanation
Answer: $0$
Step-by-step:
- By periodicity of period $2$, $f(2n + \alpha) = f(\alpha)$ for any integer $n$.
- Term 1: $f(2n + 1/n) = f(1/n)$. As $n \to \infty$, $1/n \to 0^+$. In $[0, 1)$, $f(x) = x \implies 0$.
- Term 2: $f(2n - 1/n) = f(-1/n) = f(2 - 1/n)$. As $n \to \infty$, $2 - 1/n \to 2^-$. In $[1, 2)$, $f(x) = 2 - x \implies 2 - 2 = 0$.
- Sum: $0 + 0 = 0$.
Using the same periodic function, evaluate $\lim_{n \to \infty} f\left(2n + 1 - \dfrac{1}{n}\right)$.
Show Solution
Answer: $1$
Explanation: Reduces to $f(1 - 1/n) \to f(1^-)$. In $[0, 1)$, $\lim_{x \to 1^-} x = 1$.
[Problem 14] Parameter Independence Under Quadratic Local Extrema
Let $f(x) = \begin{cases} x + 1 & (x > 1) \\ 2 & (x = 1) \\ -x + k & (x < 1) \end{cases}$ and $g(x) = x^2 - 4x + 5$. Find all values of the real constant $k$ such that $\lim_{x \to 2} f(g(x))$ exists.
🔍 View Solution & Explanation
Answer: The limit exists and equals $2$ for all real numbers $k$.
Step-by-step:
- Rewrite $g(x) = (x - 2)^2 + 1$. The vertex minimum is $1$ at $x = 2$.
- For $x \neq 2$, $g(x) > 1$, forcing $u \to 1^+$ regardless of whether $x \to 2^+$ or $x \to 2^-$.
- Thus, $\lim_{x \to 2} f(g(x)) = \lim_{u \to 1^+} (u + 1) = 2$.
- Because only the right-hand branch ($x > 1$) is accessed, the parameter $k$ governing $x < 1$ never participates in the calculation.
If instead $g(x) = -(x - 2)^2 + 1$, find $k$ such that $\lim_{x \to 2} f(g(x)) = 3$.
Show Solution
Answer: $4$
Explanation: The vertex is now a local maximum, so $u \to 1^-$. Evaluating the left branch gives $f(1^-) = -1 + k = 3 \implies k = 4$.
[Problem 15] Reverse-Engineering Polynomial Coefficients from Asymptotic Constraints
A cubic polynomial $f(x)$ with leading coefficient $1$ satisfies:
(a) $\lim_{x \to \infty} \dfrac{f(x) - x^3}{x^2} = -4$
(b) $\lim_{x \to 0} \dfrac{f(x)}{x} = -5$
(c) $f(x) = 0$ has three distinct real roots, the greatest of which is $5$.
Find the value of $f(3)$.
🔍 View Solution & Explanation
Answer: $-24$
Step-by-step:
- Degree & Quadratic Coefficient from (a): Let $f(x) = x^3 + ax^2 + bx + c$. The numerator is $ax^2 + bx + c$. For the ratio with $x^2$ to equal $-4$ as $x \to \infty$, we must have $a = -4$.
- Constant & Linear Coefficient from (b): Since the denominator approaches $0$, the numerator must satisfy $f(0) = 0 \implies c = 0$. Dividing gives $\lim_{x \to 0} (x^2 - 4x + b) = b = -5$.
- Factorization & Root Validation (c): $$f(x) = x^3 - 4x^2 - 5x = x(x^2 - 4x - 5) = x(x - 5)(x + 1)$$ The roots are $x = -1, 0, 5$. They are distinct, and the greatest root is indeed $5$.
- Final Evaluation: $f(3) = 3(3 - 5)(3 + 1) = 3(-2)(4) = -24$.
A monic cubic polynomial $g(x)$ satisfies $\lim_{x \to \infty} \dfrac{g(x) - x^3}{x^2} = -2$, $\lim_{x \to 0} \dfrac{g(x)}{x} = -8$, and the product of its three distinct roots is $0$. Find $g(5)$.
Show Solution
Answer: $35$
Explanation: $g(x) = x^3 - 2x^2 - 8x = x(x - 4)(x + 2)$. The roots are $-2, 0, 4$, so their product is $0$. Evaluating at $5$ yields $g(5) = 5(1)(7) = 35$.
💬 Final Note from Yul Math Lab
Mastering AP-style limit problems does not depend on blind formula memorization. It rests on two fundamental intuitions: tracking the precise trajectory of intermediate values ($u$-substitution) and reading polynomial degrees directly from asymptotic balance. Work through each problem by sketching the inner trajectory arrows yourself—accuracy will follow naturally!

Comments
Post a Comment