Why can y be treated as a constant here when taking the second derivative of this implicit function

calculusimplicit-differentiationpartial derivative

I have the following:

$\frac{dy}{dx}=-\frac{x^2}{y^2}$

I would like to find $\frac{d^2y}{dx^2}$. One solution suggested was to take the partial derivative of the above function with respect to x, treating y as a constant. This gives the following solution:

$\frac{\partial \:}{\partial \:x}\left(-\frac{x^2}{y^2}\right)=-\frac{2x}{y^2}$

Which is correct. Why can y be treated as a constant here; why does taking this partial derivative give the second derivative of this implicit function?

Best Answer

This is not the second total derivative of $y$ with respect to $x$. For instance, $y=−x$ satisfies the first equation, but the second derivative is zero and isn't given by the second equation.

Related Question