Sequence of discontinuous functions

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 4K views
rapple
Messages
25
Reaction score
0

Homework Statement


Need an example of a sequence of functions that is discountinuous at every point on [0,1] but converges uniformly to a function that is continuous at every point


Homework Equations





The Attempt at a Solution


I used the dirichlet's function as the template
f_n(x) = 1/n if x is rational and 0 if x is irrational

f_n(x) is discontinuous at every x in [0,1] and converges to f(x)=0

But this seems to be a erroneous analysis, because 1/n eventually goes to 0 so f_n(x) will be continuous as n->infinity

Can i get help in constructing this?
 
Physics news on Phys.org
You already have a good example. What do you mean "because 1/n eventually goes to 0 so f_n(x) will be continuous as n->infinity". Can you give me an example of a value of n where f_n is continuous?
 
Dick said:
Can you give me an example of a value of n where f_n is continuous?

Since lim n->inf (1/n)=0, as n-> infinity, f_n(x) will be 0 for rationals as well.

which means that for any epsilon>0, if n is large enough, |f(x)-0|< epsilon for rational as well?