Suppose $f: \mathbb{R}^2 \setminus \{ (0,0) \} \rightarrow \mathbb{R}$ is a smooth function, such that $$ x \dfrac { \partial f } { \partial y } - y \dfrac { \partial f } { \partial x } = f$$ Show that $f=0$.
I haven't made any progress on the question, mostly just taking partial derivatives to see if anything noticeable happens; I haven't noticed anything. It was given as a question which could be solved by someone who hasn't done a course in partial differential equations, so there's likely a fairly simple trick that will work. If it helps, $e^{xy} $ satisfies the left hand side set to zero, but I doubt that's useful.
HINT: Note that the integral curves of the vector field $(-y,x)$ are circles centered at the origin. The left-hand side is the directional derivative of $f$ along such circles. Consider $g(t) = f(a\cos t,a\sin t)$ for any $a>0$. What is $g'(t)$?