How to write the domain of a rational function