Determine the domain of each function