If $2\log_3(x-2y)=\log_3x+\log_3y$, find $\frac xy$.
My try:
$$2\log_3(x-2y)=\log_3x+\log_3y$$Combining the terms on the RHS and bringing them over to the LHS $$2\log_3(x-2y)-\log_3xy=0$$ Bring everything into a single $\log$ $$\log_3\frac{(x-2y)^2}{xy}=0$$ Converting this into a solvable quadratic $$x^2-5xy+4y^2=0$$ Factoring, I get $$(x-4)(x-y)=0$$ so $$x=y\;\text{or}\;x=4y$$ Therefore my final answer is $$\frac xy=1\;\text{or}\;\frac xy=4$$
Is my solution correct?
The final answer is not correct.
We have $\log_3(x-2y),\log_3 x$ and $\log_3 y$.
So, we have to have $$x-2y\gt 0\quad\text{and}\quad x\gt 0\quad\text{and}\quad y\gt 0$$ from which we have to have $$\frac xy\gt 2$$
Hence, from what you've done, the answer is $$\color{red}{\frac xy=4}$$