Recall that between any two numbers there is a rational number and an irrational number. Therefore, in any subinterval, P’, of a partition P contains a rational number at which q Is 1 and irrational number at which q is 0. So on P’ the upper sum is 1 and the lower sum is 0.