2

I came across this equation in my textbook and I have 3 methods to solve it, all giving me different answers so I hope you can help me understand which of these is the right one.

$$\ln (x^2) -1 = 0$$

1. My textbook says to factor the equation as: $$[\ln (x) - 1] [\ln (x) + 1] =0$$

But treating it as $a^2-b^2$ just doesn't seems right to me because in my understanding $\ln (x^2)$ it's not equal to $(\ln(x))^2$. Anyways, doing it this way would result in either:

a) $\ln(x)-1=0$ $\qquad$=> $\ln(x) = 1$ $\qquad\quad$=> $\color{red}{x=e}$

b) $\ln(x) + 1 = 0$ $\qquad$=> $\ln(x) = -1$ $\qquad$ => $\color{red}{x=e^{-1}}$


Adding 1 to both sides of the equation would result in $\quad$ $\ln(x^2)=1\quad$ and from here the other two methods unfold as follows:

2. $\quad$ $x^2=e^1$ $\qquad$ => $\color{red}{x=\pm\sqrt e}$

3. $\quad$$ 2\ln(x)=1/:2\qquad$ => $\quad\ln(x)=\frac{1}{2}$$\qquad$ => $\color{red}{x=e^\frac{1}{2}}$

So what am I doing wrong, which is the right one and why?

Bernard
  • 175,478
  • 1
    This step $[\ln (x) - 1] [\ln (x) + 1] =0$ is wrong. – user Apr 02 '18 at 22:31
  • 1
    You could consider $\ln (x^2) -1 = 0\implies 2 \log |x|=1$ – user Apr 02 '18 at 22:32
  • Be very careful, in other words. Did the textbook write $\ln(x^2)$ or $(\ln x)^2$??? – Ted Shifrin Apr 02 '18 at 23:20
  • @TedShifrin $ln(x^2)$, that's why I was confused because you wouldn't expect a textbook to have mistakes at this level but I guess it happens. – Hanelore Apr 03 '18 at 15:20
  • Probably a typo in the question, based on their solution. I hope there aren't too many more ... – Ted Shifrin Apr 03 '18 at 15:22
  • @Hanelore Please remember that you can choose an answer among the given if the OP is solved, more details here https://meta.stackexchange.com/questions/5234/how-does-accepting-an-answer-work – user Apr 07 '18 at 19:46

2 Answers2

4

Note that by injectivity of log function

$$\ln \left(x^2\right) -1 = 0\iff \ln \left(x^2\right) =1 \iff x^2=e\iff x=\pm\sqrt e$$

Andrew Li
  • 4,554
user
  • 154,566
3

First approach confuses: $\ln \left(x^2\right)$ with $(\ln x)^2$.

For the third approach omitted the possibility that $x$ can be negative.

$$\ln \left(x^2\right)=\ln \left(|x|^2\right)=1$$

$$2\ln |x|=1$$

Second approach is correct.

Andrew Li
  • 4,554
Siong Thye Goh
  • 149,520
  • 20
  • 88
  • 149