Relate the domain of a function to its graph, accounting for asymptotes and restricted domains