An important use of restricting the domain is in finding the inverse of a periodic function (one which repeats itself over-and-over). For example, consider the function below.
How could we restrict the domain so this function is invertible?
Choose an interval for so is a function.