Give an example of a sequence of continuous functions which converges on a compact set to a function that has an infinite number of discontinuities.
Analysis is something that is very difficult for me, and I am not fully sure what I am supposed to give an example of, but this is my attempt (hopefully some of it is right):
Let C be the Cantor Set (since it is compact and has an infinite number of discontinuities).
Let C1, C2,... be subsets of C and the union of all Cn's = C.
Let F = (fn) where for all n, fn: [0,1] -> Cn
Let fn = |x|
Then the midpoints of all Cn will converge to 0 and the endpoints of each Cn will converge to 1.
Any help or corrections is greatly appreciated!