Suppose we are looking for the limit of the composite function f(g(x)) at x=a. This limit would be equal to the value of f(L), where L is the limit of g(x) at x=a, under two conditions. First, that the limit of g(x) at x=a exists (and if so, let's say it equals L). Second, that f is continuous at x=L. If one of these conditions isn't met, we can't assume the limit is f(L).
License: CC BY-NC-SA by Khan Academy