Composition of Continuous Functions

Theorem

Given f:AR and g:BR suppose that the range f(A)={f(x):xA} is contained in the domain B so that the composition gf(x)=g(f(x)) is defined on A.

If f is continuous at cA and if g is continuous at f(c)B then gf is continuous at c.

Proof

See 43 Continuity Practice#4.3.3.