I am trying to prove that f(x)=xD(x) is only continuous at x=0, however I don't know if I can prove it with assuming two different cases for continuity, in the neighbourhood of x=a when x is rational and irrational.. Not sure if it's possible to assume this, would appreciate if I can get feedback. Thank you.(In the picture I meant proving continuous , not convergence)