1

I know the rule

$$n\ln(x) = \ln(x^n)$$

But this doesn't apply to $$2\ln(-x) = \ln(-x^2)$$

Can you see what I'm not understanding?

Chris Taylor
  • 28,955

2 Answers2

3

The rule still applies, but you misused it. The rule is:

For every $a>0$ and $b\in\mathbb R$, $b\cdot \ln (a)$ is equal to $\ln(a^b).$

So, in this rule if you plug in $a=x$ and $b=n$, you get the rule you cite.

Now, what do you get if you plug in $b=2$ and $a=-x$?

5xum
  • 123,496
  • 6
  • 128
  • 204
2

The real logarithmic functions are defined only for $\;x>0\;$ , so you have to be careful with this restriction.

So we indeed have $\;\log(x^a)=a\log x\;$ for any $\;x>0\;$ , but if we have doubts we must use

$$\log((-x)^2)=2\log|x|$$

If $\;-x>0\implies 2\log(-x)=\log(-x)^2=\log x^2\;$, otherwise $\;-x<0\;$ and then $\;\log(-x)\;$ is not even defined.

DonAntonio
  • 211,718
  • 17
  • 136
  • 287