Just prove that

or, maybe better still, that

Because, consider:

(1) f being continuous implies that for any there exists a such that if .

(2) the larger n the longer does stay close to 0 (for example, smaller than ) as you move x from 0 to 1.

(3) f and g being continuous in [0;1] also implies that for some constant M and all .