Given the equation $x^2+y^2+z^2=\psi(ax+by+cz)$, with $a,b,c\in\mathbb{R},\ c\neq 0$, and $\psi:\mathbb{R}\to\mathbb{R}$ that satisfies $\psi\in C^2,\ \psi(0)=0,\ \psi'(0)\neq0$, prove that in a neighborhood of $(0,0,0)$ the solutions of the equation can be expressed as $(x,y,f(x,y))$, with $f$ differentiable in that neighborhood, and find $\frac{\partial f}{\partial x}(0,0)$ and $\frac{\partial f}{\partial y}(0,0)$.
My idea is to define a function $F:\mathbb{R^3}\to\mathbb{R},\ F(x,y,z)=(x^2+y^2+z^2-\psi(ax+by+cz))$.
In the first part we have to prove that $F$ verifies the Implicit Function Theorem (IFT) in $p$=$(0,0,0)$: $F(0,0,0)=\psi(0)=0,\ F\in C^2(\mathbb R)$ (so it's $C^2$ 'near' $p$), and the third requirement is that $\frac{\partial F}{\partial z}=0$, $\frac{\partial F}{\partial z}=2z-c\psi'\neq 0$ when evaluated in $p$, because $c\neq0$ and $\psi'(0)\neq0$, so applying the IFT we are done with the first part of the exercice.
We can express $F$ as $F(x,y,f(x,y))=(x^2+y^2+(f(x,y))^2-\psi(ax+by+cf(x,y)))$.
Now we want to compute $\frac{\partial f}{\partial x}(0,0)$ and $\frac{\partial f}{\partial y}(0,0)$:
$\frac{\partial F}{\partial x}(x,y)=2x+2f(x,y)\frac{\partial f}{\partial x}(x,y)-(a+c\frac{\partial f}{\partial x}(x,y))\frac{\partial\psi}{\partial x}\to\frac{\partial F}{\partial x}(0,0)=-(a+c\frac{\partial f}{\partial x}(0,0))\frac{\partial\psi}{\partial x}$
But I don't know how to continue. Could you help me? Is the first part correctly done? Thanks!