# Math Help - riemann integrable problem

1. ## riemann integrable problem

f is a function on [a,b] such that |f| is integrable . is it true that f must be integrable? give proof or counterexample

2. ## another problem

3. For the first question consider $f(x) = \left\{ \begin{array}{c}1\mbox{ if }x\in \mathbb{Q} \\ -1\mbox{ if }x\not \in \mathbb{Q} \end{array} \right.$.

For second question use $\max (a,b) = \frac{1}{2}(a+b) - \frac{1}{2}|a-b|$.