In fact that is not a counterexample.
=\frac{1}{\sqrt{x}})
is not Riemann integrable on
![[0,1]](http://latex.codecogs.com/png.latex?[0,1])
.
Note that the function is not bounded on
![[0,1]](http://latex.codecogs.com/png.latex?[0,1])
.
This happens to be a standard theorem/problem in the study Riemann integrals.
Here is the standard hint:
^2 - f(y)^2 = \left( {f(x) + f(y)} \right)\left( {f(x) - f(y)} \right))
.
Use that to show that
![U\left[ {f^2 ;P} \right] - L\left[ {f^2 ;P} \right] \leqslant 2 B\left( {U\left[ {f;P} \right] - L\left[ {f;P} \right]} \right)](http://latex.codecogs.com/png.latex?U\left[ {f^2 ;P} \right] - L\left[ {f^2 ;P} \right] \leqslant 2 B\left( {U\left[ {f;P} \right] - L\left[ {f;P} \right]} \right))
where

is the bound of

on
![[a,b]](http://latex.codecogs.com/png.latex?[a,b])