what is the difference between domain and range in algebra