So today I came across an answer on MathStackExchange. I read it and found it well explained. But I stuck on a step where the user write "Solve using the properties of $W$ function". I don't know what property the user used.
What I know about Lambert $W$ function is that, $W(x) = f^{-1} (x)$, where $f(x) = x\cdot e^x$.
Can anyone solve the question or just tell me what the property the answerer used in the question which I have linked to you?
The step in question is how do the properties of the Lambert $W$ function, give us the following $$-\dfrac{y\log(x)}{x}\exp\left(-\dfrac{y\log(x)}{x}\right) = -\dfrac{\log(x)}{x}\implies-xy\log(x) = \operatorname{W}\left(-\dfrac{\log(x)}{x}\right).$$
There is actually a typo in the linked answer, (which I corrected), the desired result should be $$-\dfrac{y\log(x)}{x}\exp\left(-\dfrac{y\log(x)}{x}\right)= -\frac{\log(x)}{x}\implies= -\frac{y\log(x)}{x} = \operatorname{W}\left(-\dfrac{\log(x)}{x}\right).$$
Here we will use the fact that $$z = we^w \iff w = W(z).$$
We first make the substitutions $$s = -\frac{y\log(x)}{x},\qquad z = -\frac{\log(x)}{x},$$
and rewrite the first equation as $se^{s} =z.$
Using the noted property of $W$, then, we can rewrite this as $s = W(z)$, which reversing our substitutions gives:
$$-\frac{y\log(x)}{x} = W\left(-\frac{\log(x)}{x}\right).$$