I am supposed to determine if function:
$$g(t)=\left\{\begin{matrix} \frac{1}{p+q}, t \in \left ( 0,1 \right )\cap \mathbb{Q}, p,q \in \mathbb{N}, t=\frac{p}{q}, GCD\left ( p,q \right )=1\\ 0, t \in\left ( 0,1 \right )\setminus \mathbb{Q} \end{matrix}\right.$$
- Is continous in $t\in \left ( 0,1 \right )\setminus \mathbb{Q}$
- Is integrable on $\left ( 0,1 \right )$ and if so, determine the value of integral
My solution:
- $\left ( \forall \varepsilon> 0 \right )\left ( \exists \sigma > 0 \right ) $ such as interval $\left ( x_{0}-\sigma , x_{0}+\sigma \right ) $ does not contain any number in the form of $\frac{1}{p+q} $, because numbers in those form are finite. So, for $t\in \left ( x_{0}-\sigma , x_{0}+\sigma \right ) $ is $g(x)=0$ and therefore function is continous in $t \in\left ( 0,1 \right )\setminus \mathbb{Q}$.
- $P(n)=\frac{1}{n}$, $L\left (P,g \right )=0$
Can anyone help me, how to continue, or if my solution is so far correct?