Let $f(x)= \frac {{x²-1}}{{x-1} } $ and $g(x)=x+1$.
It is clear that $f(x)=g(x)$ for all real numbers $x$.
My question: Why do $f$ and $g$ not have the same domain of definition, however $f(x)=g(x)$?
Note: I know only that $f$ extended by continuity at $x=1$ as a reason, I hope to know more reasons if it is possible.



The two functions are not the same because $f(x)$ is not defined for $x=1$, so its graph is a stright line that has a ''hole''.
The Domain of definition is the subset of $\mathbb{R}$ where the function is defined and this means that has values in the codomain. Division by $0$ is not defined so the function $f(x)$ cannot be defined for $x=1$. You can extend it by continuity but this means that you have a new function $f_1(x)$ that coincide with $f(x)$ for $x \ne 1$ and is defined also in this point in such a way that $$ f_1(1)=\lim_{x\rightarrow 1} f(x) $$ and, in this case, you really have $f_1 =g$.