I know that a variable is a letter for which we can substitute any number selected from a given set of numbers. The book tells me that the set of numbers is called the domain of the variable. Why is it call the domain of the variable? Is it safe to say that the idea of domain here the same as finding the domain of a function? I say no. Can someone explain the difference ?