$\log_2\left(x-5\right)=\log_5\left(2x+7\right)$ I have to solve this but my answer vary from x = 7, x = -9, x = 5/3 and I don't know why this happens. Here is my approach:
$\frac{\log_5\left(x-5\right)}{\log_5\left(2\right)}=\log_5\left(2x+7\right)$
$\frac{\log_5\left(x-5\right)}{\log_5\left(2x+7\right)}=\log_5\left(2\right)$
$\log_{2x+7}\left(x-5\right)=\log_5\left(2\right)$
Conditions: x > 5
So we are left with: x - 5 = 2 => x = 7 (verifies the conditions)
2x + 7 = 5 => x = -1 (does not verify the conditions)
Therefore, x = 7.
But when you plug in x = 7 => $\log_2\left(2\right)=\log_5\left(21\right)$ which are not equal.
I guessed a solution that works which is x = 9.
trying to solve that system, i found another way to solve it
x - 5 = 2 | *(-1)
2x + 7 = 5
=> - x + 5 = -2
2x + 7 = 5
We add them up and we have:
x + 12 = 3 => x = -9 which does not verify the condition.
What am I doing wrong?