Implicit differentiation is used when we have a relation between two variables \(x\), \(y\), which would in theory allow us to write \(y\) as a function of \(x\), but when actually doing so might be hard to do.
Example:
Let us look at a case that we can solve in two ways.
Implicit Differentiation
Instead of a function \(y=y(x)\), we are given a formula \(F(x, y) = c\) that relates \(x\) and \(y\).
We differentiate that formula with respect to \(x\), treating \(y\) as a function of \(x\).
Then we solve the resulting equation for \(\frac{dy}{dx}\). The result will contain both \(x\) and \(y\).
Key property: The chain rule tells us that if \(y\) is a function of \(x\), then: \[\frac{d}{dx}f(y) = f'(y) \frac{dy}{dx}\]
Example: Consider the relation \(y^3+xy^2=x^2+1\). The point \((1, 1)\) belongs to this curve. We want to find the equation of the tangent line to this graph at that point.
The equation would be: \[y-1 = \left.\frac{dy}{dx}\right|_{(x,y)=(1,1)}(x-1)\] We use implicit differentiation to compute that derivative. We have: \[3y^2\frac{dy}{dx} + y^2 + 2xy\frac{dy}{dx} = 2x\] Solving for \(\frac{dy}{dx}\): \[\frac{dy}{dx} = \frac{2x-y^2}{3y^2+2xy}\] Plugging in \((x, y) = (1, 1)\): \[\frac{dy}{dx} = \frac{1}{5}\] So tangent line equation becomes: \[y-1 = \frac{1}{5}(x-1)\]