Let be a function. If where and are closed and and are continuous, then is continuous.

Proof

Let be closed in .

which is a union of closed sets, hence closed.