So, it must be specified explicitly that x is positive in function Solve[]:
Thank you very much.
What is it mean function2 is equivalent to function1?
What I meant by that is, when x is Real and x>0, function1[x]==function2[x]. On 2nd thought, I realize that’s not exactly true, because function2 yields a single positive result, while function1 yields one negative and one positive result. (I might still be wrong; I’m not as good at math as most people here.)