Are f(x) = x and g(x) = truly the same function?
Solution
No. The reason lies buried in the definition of a function.
A function is a collection of pairs of numbers in which no two different pairs have the same first element. The domain of a function is the set of all first elements of the pairs. Two functions are the same exactly when they are the same collection of pairs.
When a function is defined by an equation such as f(x) = x and no domain is stated, the domain is understood to consist of all numbers x for which the expression on the right side of the equation is defined.
In the equation f(x) = x, the expression on the right side is x, which is defined for every number. So f contains the pair (x, x) for every number x.
In the equation g(x) = , the expression on the right side is . Whenever x is a number other than 0, the expression is defined and equals x, so the pair (x, x) belongs to g as well.
Does g contain a pair whose first element is 0? At x = 0, the expression demands a division by 0, which is undefined, so g contains no such pair.
The function g is therefore the function f with the single pair (0, 0) plucked out. One missing pair is all it takes to reveal that f and g are different collections of pairs and, therefore, different functions.