This equation comes from the book of Prilepko. It looks sufficiently simple but I want to know if my solution is correct.
$\log_2(\frac{8}{2^x}-1)=x-2$
I have only been able to transform into this:
$\log_2(\frac{8-2^x}{2^x})=x-2$
$\iff$ $\log_2(8-2^x)=2x-2$
$\iff$ $8-2^x=2^{2x-2}$
$\iff$ $32-4.2^x-2^{2x}= 0$
Let $t=2^x$
$-t^2-4t+32=0$
This equation will produce $t=-8$ and $t=4$
Therefore $x=2$.
Another question that I wish to ask is when solving these logarithmic equations, one very often substitute a dummy variable to overcome the restriction caused by the order of operations. For example, you cannot do much directly with $5^{2x}-130.5^x+625$. But let $t=5^x$, then you can easily factorize the this equation into $(t-125)(t-5)=0$, hence $(5^x-125)(5^x-5)=0$. Isn't this a sort of manipulating symbols according to certain prescribed rules? Is there any logical difficulty with this kind of operation? Since by substituting a new variable, it means that this variable must inherit all properties which the object of the substitution originally possesses. For example, if $a^x$ is the object of substitution for $t$, then if $a<0$ and x can assumed a form of rational power, doesn't this make no sense at all?
Do you know any example in elementary mathematics where this method of substitution can yield contradictory result?
Your solution is fine, well done. Note that you can omit the second step by doing $$\log_2\left(\frac{8}{2^x}-1\right)=x-2\implies8\cdot2^{-x}-1=2^{x-2}\implies8-2^x=2^{2x-2}$$
A substitution of the form $t=a^x$ for (positive) $a$ can be used at any time without doubting whether it would yield unwanted solutions, since if $t$ is negative then it can be automatically rejected.