Why does implicit differentiation fail here

calculusimplicit-differentiation

To differentiate an implicit function $y(x)$, defined by an equation $R(x, y) = 0$ one can totally differentiate $R(x, y) = 0$ with respect to $x$ and $y$ and then solve the resulting linear equation for $\frac{dy}{dx}$ to explicitly get the derivative in terms of $x$ and $y$.

Consider the following example: Let $y(x)$ be defined by the following relation:

$$(x^2-y^2)^{1/2}+\arccos\frac{x}{y}=0. \,(y\neq 0.)$$

Clearly, the equation defines $y$ as a function of $x$. In fact, it is easy to see that $y=x$. However, when I apply the method of implicit differentiation to $(x^2-y^2)^{1/2}+\arccos\frac{x}{y}=0$, I failed to get the desired result $\frac{dy}{dx}=1$ (since $y=x$). Why does implicit differentiation fail here?

Edit: I did not do the implicit differentiation by hand as it is too tedious; instead I trusted the result on WolframAlpha:

enter image description here

Best Answer

With a bit of work, you can show that $R(x,y)$ is only defined for $y=x$ and $y=-x$ excluding the point $(0,0)$. Hence your function does not satisfy the conditions of the implicit function theorem, which states that your function should be at least continuously differentable to apply the method of implicit differentiation.

Parts of the plane not in the domain of R

Note, you could extend your problem to complex numbers, in that case the domain of applicability of $R(x,y)$ would be extended. However, even in that case, it would still not be the entire plane because no definition of the square root or the inverse cosine is analytic on the entire complex plane. In particular, if you choose the most "natural" extension to the complex plane of the inverse cosine, it is not defined on the branch points $-1$ and $1$. Those correspond exactly to the cases $y=x$ and $y=-x$. In other words, naïve implicit differentiation does not work in that case either. You would therefore need analytic extensions of the square root and the inverse cosine such that they are valid in the case $y=x$. But, those extensions will not correspond to the definitions you adopted in the real case.

Related Question