I am trying to solve:
Let $u$ be a harmonic function in $\mathbb{R}^2$, with $u(0,0)=0$ and $u(x,y)\leq{x^2}-y^2$ for all $(x,y)$ in $\mathbb{R}^2$, show that $u$ is a polynomial.
My approach:
If $u$ is a polynomial it would be of the form $u(x,y)=a_1x+a_2y+a_3xy$ and its second derivative should vanish. I also think the mean value property, since $u(x)$ and $x^2-y^2$ are both harmonic will be needed. But I don't know how to properly proceed here.
I would really appreciate any help.
Hint: Let $v(x,y) = x^2-y^2-u(x,y)$. What properties does $v$ satisfy? Consider Liouville's theorem/the Harnack inequality.