Proving this function is integrable on [0,1].

886 Views Asked by At

Let f:[0,1]->$\mathbb{R}$ be defined by f(x)=0 when x is irrational and f(x)=1/q when x=p/q with gcd(p,q)=1. Prove that f is integrable on [0,1]. What is $\int_{0}^{1}$f(x) dx? I only have knowledge of Riemann integrability conditions and results.The integral is obviously 0 i think but i really don't know how to do this. Any help would be appreciated!

1

There are 1 best solutions below

0
On

hint

You prove using the $\delta-\epsilon $ definition that $f $ is continuous at each irrational of $[0,1] $ and discontinuous at every rational.