Solutions of a differential equation I'm trying to solve the following differential equation and I'm stuck at what it appears to be simple calculations. I'm terribly sorry if this turns out to be really simple.
$(1)$ $X(f)=2f$
where $X=x_1^2 \frac \partial {\partial x_1}-x_2^2 \frac \partial {\partial x_2}$ in $\Bbb R^2$ with the identity chart $Id_{\Bbb R^2}=(x_1,x_2)$
and $f:\Bbb R^2 \to \Bbb R$, 
$(2)$ $f(cosθ,sinθ)=cosθ+sinθ$.
Let $φ^Χ_t(p)=(\frac {x}{1-tx},\frac {y}{1+ty})$, where $p=(x,y)$, be the flow of $Χ$ and by denoting $h(t)=f(φ^Χ_t(p))$ we can make $(1)$ look like $h'(t)=2h(t)$ which can be easily solved to:
$e^{2t}f(x,y)=f(\frac {x}{1-tx},\frac {y}{1+ty})$ 
Then by use of the initial condition $(2)$ we have
$e^{2t}(cosθ+sinθ)=f(\frac {cosθ}{1-tcosθ},\frac {sinθ}{1+tsinθ})$ (this is as far as I can go)
I tried setting $u = \frac {cosθ}{1-tcosθ}, v=\frac {sinθ}{1+tsinθ} $
but I haven't been able to isolate $u,v$ from $θ, t$
Can you give me any hints? Is there any trick I'm not thinking of?
 A: The differential equation is:
$$x^2 \frac {\partial f}{\partial x}(x,y)- y^2 \frac {\partial f}{\partial y}(x,y)=2f(x,y).$$
Express $f(x, y)$ as
$$f(x,y) = X(x) Y(y),$$
so
$$x^2 Y \dfrac{dX}{dx} - y^2 X \dfrac{dY}{dy} = 2XY $$
$$x^2 \frac{1}{X} \dfrac{dX}{dx} - y^2 \frac{1}{Y} \dfrac{dY}{dy} = 2$$
$$x^2 \frac{1}{X} \dfrac{dX}{dx} = y^2 \frac{1}{Y} \dfrac{dY}{dy} + 2$$
You can define
$$ x^2 \frac{1}{X} \dfrac{dX}{dx} = -k,$$
which means
$$ X(x) = C_1 e^{k/x}.$$
For $Y(y)$ you have
$$ -k = y^2 \frac{1}{Y} \dfrac{dY}{dy} + 2,$$
which means that the solution is
$$Y(y) = C_2 e^{(2+k)/y}.$$
Yes, at some point, I have to apply boundary conditions, unfortunately, I don't understand the boundary conditions you are using, so I cannot keep solving it.
A: $$x^2 \frac {\partial f}{\partial x}(x,y)- y^2 \frac {\partial f}{\partial y}(x,y)=2f(x,y).$$
Search for the general solution (without taking account of the boundary condition) with the method of characteristics :
The characteristic ODEs are :
$$\frac{dx}{x^2}=\frac{dy}{-y^2}=\frac{df}{2f}$$
A first characteristic equation comes from $\frac{dx}{x^2}=\frac{dy}{-y^2}$ :
$$\frac{1}{x}+\frac{1}{y}=c_1$$
A second characteristic equation comes from $\frac{dx}{x^2}=\frac{df}{2f}$ :
$$e^{2/x}f=c_2$$
The general solution expressed on the form of implicite equation is :
$$\Phi\left(\frac{1}{x}+\frac{1}{y}\:,\:e^{2/x}f \right)=0$$
where $\Phi$ is an arbitrary function of two variables. This function has to be determined later according to boundary conditions.
Or, equivalently on explicit form : $e^{2/x}f=F\left(\frac{1}{x}+\frac{1}{y} \right)$
$$f(x,y)=e^{-2/x}F\left(\frac{1}{x}+\frac{1}{y} \right)$$
where $F$ is an arbitrary function. This function has to be determined later according to boundary conditions.
BOUNDARY CONDIION :
In the original wording of the question, the boundary condition is not clearly defined. A discussion took place in the comments.
To the question : Is the boundary condition  $f(x,y)=x+y$ on the unit circle $x^2+y^2=1$ ? the OP answered "that should be it", which is not really affirmative. So, this supposed boundary condition can be suspected to be mistaken.
Supposing that the boundary condition is $f(x,y)=x+y$ on the unit circle $x^2+y^2=1$, thus $y=\pm\sqrt{1-x^2}$ , my comment is : 
The function $F$ has to be determined from :
$$x\pm\sqrt{1-x^2}=e^{-2/x}F\left(\frac{1}{x}+\frac{1}{\pm\sqrt{1-x^2}} \right)$$
In fact, it is theoretically possible to find the function $F$ but the calculus is rather arduous and the function $F$ is very complicated. This draw to think that something might be wrong in the wording of the question. The OP should re-examine what is really the boundary condition. To help him, it should be necessary that the OP re-edit his question with a detailed explanation how he got the above boundary condition.
