0

on internet we usually see: $$2\log(x) = \log(x^2) $$ (example)but how is this true? one is defined for $x>0$ and the other one for $x\neq0$

Sumanta
  • 9,534

1 Answers1

5

The assertion $\log(x^2)=2\log(x)$ and similar expressions usually means that we have that equality when both the LHS and RHS are defined. It's like the equality$$\frac1{1/x}=x.\tag1\label1$$The LHS is undefined when $x=0$, whereas the RHS is defined for every number. And asserting that $\eqref1$ holds means, in this case, that it holds when $x\ne0$.

Joe
  • 19,636
  • thank you, sorry but this was in one of the prof solutions and he passed from $log((t-1)^2)$ to $log((1-t)^2)$ –  Dec 11 '21 at 18:24