When studying a computer vision problem I end up with a function $f(x,t)$ that satisfying $\frac{\partial f}{\partial t}+f\frac{\partial f}{\partial x} =\frac{2f^2}{x}$. My question includes two parts:
What are the solutions to the above equation in general? I worked out three specific solutions: (1) $ f(x,t)= \frac{x}{k-t}$. (2) $ f(x,t)= kx^2$. (3) $ f(x,t)= \frac{kx^2-x}{b+t}$ (k and b are constants). I have no idea whether there is other solutions.
To resolve the equation in another point view, we can define an operator $\Omega f=\frac{\partial f}{\partial x} - \frac{2f}{x}$. Suppose we can find the eigenfunctions of the operator $\Omega$, namly $\Omega f=\lambda f $ ($\lambda$ is constant), so that any solution $f$ can be represented by linear sum of these eigenfunctions (very similar to Schrödinger equation). Unfortunately, no more functions other than the three above are found, though I expect that there should be some more complicated eigenfunctions, such as Fourier series. Now I am looking into wavelet theories to find a new clue.
Any suggestions on the general solution to $\frac{\partial f}{\partial t}+f\frac{\partial f}{\partial x} =\frac{2f^2}{x}$, or to the eigenfunctions for operator $\Omega f=\frac{\partial f}{\partial x} - \frac{2f}{x}$?
Set $f(x,t)=X(x)T(t)$, then
$$\frac{\partial f}{\partial t}+f\frac{\partial f}{\partial x} =\frac{2f^2}{x}\tag{1}$$
becomes $$X(x)\frac{\partial T(t)}{\partial t}+T^2(t)X(x)\frac{\partial X(x)}{\partial x} =2T^2(t)\frac{X^2(x)}{x}\tag{2}$$
Divide $T^2(t)X(x)$ on both sides of (2) leads to:
$$T^{-2}(t)\frac{\partial T(t)}{\partial t}+\frac{\partial X(x)}{\partial x} =2\frac{X(x)}{x}\tag{3}$$
or $$T^{-2}(t)\frac{\partial T(t)}{\partial t}=\lambda=-\frac{\partial X(x)}{\partial x} +2\frac{X(x)}{x}\tag{3}$$
The solutions to (3) are
$$T(t)=-\frac{1}{\lambda t+a}\tag{4}$$ $$X(x)=\lambda x+b x^2\tag{5}$$
where $a,b$ are integration constants.