(a) State the Baire category theorem, in its closed-sets version.
(b) For every n∈N let fn be a continuous function from R to R, and let g(x)=1 when x is rational and 0 otherwise. For each N∈N, let
FN={x∈R:∀n⩾Nfn(x)⩽31 or fn(x)⩾32}.
By applying the Baire category theorem, prove that the functions fn cannot converge pointwise to g. (That is, it is not the case that fn(x)→g(x) for every x∈R.)