In a logarithmic equation, the variable is in the argument of the logarithm.
As with other types of equations, the goal in solving is to isolate the variable on one side of the equation.
---------
Example: Solve [tex]4\log_2(20-x) = 12[/tex] for x.
[tex]\begin{array}{|c|c|} \cline{1-2} & \\\text{Isolate the log expression.} & \log_2(20-x) = 3\\ & \\\cline{1-2} & \\\text{Rewrite in exponential form.} & 2^3 = 20-x\\ & \\\cline{1-2} &\\\text{Simplify the exponent.} & 8 = 20-x\\ & \\\cline{1-2}\text{Solve for x.} & -12 = -x\\ & \\& 12 = x\\\cline{1-2}\end{array}[/tex]
Let's check the answer.
[tex]4\log_2(20-x) = 12\\\\4\log_2(20-12) =12\\\\4\log_2(8) = 12\\\\4*\frac{\log(8)}{\log(2)} = 12\\\\4*\frac{0.90308998699194}{0.30102999566399} \approx 12\\\\4*2.9999999999999 \approx 12\\\\11.9999999999996\approx 12[/tex]
We have rounding error. This is why we don't land exactly on 12, but we get really close.
---------
Or we could check the answer this way
[tex]4\log_2(20-x) = 12\\\\\log_2(20-x) = 3\\\\\log_2(20-12) = 3\\\\\log_2(8) = 3\\\\8 = 2^3\\\\8 = 8 \ \ \ \checkmark\\\\[/tex]
The answer is confirmed.