1

$\frac{\ln(x^2)}{\ln(x)} = 2$?

Upon trying to evaluate $\frac{\ln(x^2)}{\ln(x)}$, i've found that google plots it as always equal to 2, other than 0 where it is undefined. Why is this the case?

choco_addicted
  • 8,786
  • 8
  • 24
  • 53

3 Answers3

4

Recall the logarithm property $$\frac{\ln x^2}{\ln x} = \frac{2\ln x}{\ln x} = 2.$$ But this is only true when $x>0$ and $x\neq1$. Otherwise, there is a "hole" there; a removable discontinuity. Notice that this is difficult not to graph, so graphing tools usually just fill the hole/graph over it.

Em.
  • 15,981
3

$$\frac{\ln(x^{2})}{\ln(x)} = \frac{2\ln(x)}{\ln(x)} = 2 $$

clocktower
  • 1,447
1

We can use the change of base formula to write the following. $$\frac{\ln \left(x^2\right)}{\ln x}=\log_x\!\!\left(x^2\right)=2$$ The above holds for all $x>0,x\neq1$.

Lythia
  • 1,303