Based on log law: $$\log \left( \frac{a}{b} \right) = \log(a)-\log(b) \ ,$$ why does $$\log \left( \frac{x}{x-2} \right) \neq \log(x) - \log(x-2) \ ?$$
I have found that the graph of $\log \left( \frac{x}{x-2} \right)$ is defined for negative $x$ values while $\log(x) - \log(x-2)$ does not. Why is this? Sorry if this is a simple question.
Try $x=-1$.
You'll get something wrong.
For $x>2$ we have $$\ln\frac{x}{x-2}=\ln{x}-\ln(x-2)$$ and for $x<0$ we have $$\ln\frac{x}{x-2}=\ln(-x)-\ln(2-x)$$
For $a>0$ and $b>0$ we obtain: $$\ln\frac{a}{b}=\ln{a}-\ln{b}.$$