I am trying to understand how the curvature equation
$$\kappa = -\frac{f_{xx} f_y^2-2f_{xy} f_x f_y + f_x^2 f_{yy}}{(f_x^2+f_y^2)^{3/2}}$$
for implicit curves is derived. These curves arise from equalities such as $f(x,y)=0$. I found this on the net:
http://www.cad.zju.edu.cn/home/zhx/GM/001/00-rep_dg.pdf
I can follow almost everything here until pg 49, then the author jumps to the final equation and I have no idea how he's done it.
Can anyone help, or point to other possible derivations? I understand the parametric form of curvature equation which is $\kappa = | \frac{d\vec{T}}{ds} |$ where $\vec{T}$ is unit tangent, if any parallels need to be made to that subject, just in case.
And one more question: How do I expand the term below?
$$\frac{\partial}{\partial x} \bigg( \frac{f_y}{\sqrt{f_x^2 + f_y^2}} \bigg)$$
Do I have to use the Quotient Rule?
$$\frac{d}{dx}(\frac{u}{v}) = \frac{v \frac{du}{dx} - u \frac{dv}{dx}}{v^2}$$
and in that case, I guess I would need to derive $\frac{\partial}{\partial x}(\sqrt{f_x^2+f_y^2})$. Would this be $\frac{1}{2}\frac{2f_x f_{xx} + 2f_y f_{yx}}{\sqrt{f_x^2+f_y^2}}$
Thanks again
Apply the formula $$\frac{d}{ds} = \frac{1}{|\nabla f|}\left(f_y \frac{\partial}{\partial x} - f_x \frac{\partial}{\partial y} \right)$$ to the very right hand side of $$\kappa = \left| \frac{dT}{ds} \right| = \left|\frac{d}{ds} \left(\frac{dx}{ds}, \frac{dy}{ds} \right)\right| = \left| \frac{d}{ds} \frac{(f_y, -f_x)^T}{\sqrt{f_x^2 + f_y^2}} \right| = \left| \frac{d}{ds}\left( \frac{f_y}{\sqrt{f_x^2 + f_y^2}}, \frac{-f_x}{\sqrt{f_x^2 + f_y^2}} \right)^T \right|$$ So: $$\frac{d}{ds}\left( \frac{f_y}{\sqrt{f_x^2 + f_y^2}} \right) = \frac{1}{|\nabla f|} \left[f_y \frac{\partial}{\partial x}\left(\frac{f_y}{\sqrt{f_x^2 + f_y^2}}\right) - f_x \frac{\partial}{\partial y}\left(\frac{f_y}{\sqrt{f_x^2 + f_y^2}}\right) \right]$$ and $$\frac{d}{ds}\left( \frac{-f_x}{\sqrt{f_x^2 + f_y^2}} \right) = \frac{1}{|\nabla f|} \left[f_y \frac{\partial}{\partial x}\left(\frac{-f_x}{\sqrt{f_x^2 + f_y^2}}\right) - f_x \frac{\partial}{\partial y}\left(\frac{-f_x}{\sqrt{f_x^2 + f_y^2}}\right) \right],$$ and I hope you don't mind if I leave the rest of the details to you.
Update: Yes, you're right that you need to use the quotient rule, and your calculations above are correct.
[18th.Dec.2019] There was a clerical error in the LaTeX code.