Okay, so clearly (since ), so we can concentrate on .Quote:

Define if is rational and if is irrational. Compute and .

The problem is, I am having trouble interpreting my textbook on how to calculate this. According to it,

: a partition of .

Okay, that's all very well. But how in the world do we compute that? Thus far, I have not been able to find a way.

Any help would be much appreciated. Thanks!