Yeah, this is a silly question, but I can't seem to convince myself that the graph $f(x)=x$ is really equal to the graph of $g(x)=e^{\ln(x)}$. Specifically, doesn't this fail on negative values of $x$? Since $g(x)$ is not defined on negative values of $x$, I don't see how these two could be equal. How could I remedy $g(x)$ without using piecewise functions to make these functions have the same domain?
2026-03-25 17:36:23.1774460183
Is $x$ not actually equal to $e^{\ln(x)}$?
610 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
3
It depends on whether you allow real or complex values for the functions. As other answers point out, if only real values are allowed then $x$ must be positive. If complex values are allowed, then a real value of $x$ might also be negative, and the identity also holds for non-real values of $x$; this is valid for all branches of the logarithm.
BUT ... it is never possible to define any logarithm of zero, therefore even in the more flexible complex case $x\ne 0$ is required.