domain and inverse functions of rational expressions