What Would It Look Like?

Calculus Level 3

Does there exist a function that is continuous at all irrational points but not continuous at all rational points?

Definition (for this question) : A function f f is said to be continuous at a point n n if for any positive ϵ \epsilon there exists an x x such that for all real l < x , f ( n + l ) f ( n ) < ϵ |l|<x, \space |f(n+l)-f(n)|<\epsilon

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Wen Z
Aug 19, 2016

Relevant wiki: Continuous Functions

We'll define a function first and then we'll prove it works.

f ( x ) = 0 f(x)=0 if x is irrational If x x is rational, let x = p q x=\frac{p}{q} where p , q z p,\space q \in \mathbb{z} and q > 0 q>0 then we let f ( x ) = 1 q f(x)=\frac{1}{q}

I would recommend trying to visualise this function, or at least drawing a rough sketch of it before carrying on so you have a 'feel' of the function.

Now at any irrational point, say r r , it is continuous because no matter how small epsilon gets (in the definition above), there are finitely many x x with f ( x ) > ϵ f(x)>\epsilon where x r < 1 |x-r|<1 . This is because q q (above) can only take finitely many values.

At any rational point, say r r , there exist irrational points arbitrarily close to it as the irrationals are dense in the reals as required.

Geoff Pilling
Sep 3, 2016

How about f(0)=1. f(x)=0 otherwise?

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...