×

# A quirky graph!

What would the graph of the following function look like?

 $$f(x) = 1$$ when $$x$$ is rational, and  $$f(x) = 2$$ when $$x$$ is irrational.

Note by Vikram Waradpande
3 years, 2 months ago

Sort by:

There are an uncountable number of irrational numbers but only a countable number of rationals so there would be many many more 2s than 1s. · 2 years, 5 months ago

×