Let be the function defined by , and be the function defined by the rule .
Since
and have differing domain, they are different functions and are the same function
and are different functions because they disagree for some inputs in their common
domain and are different functions because they are of different variables