MatheramaMatherama
← Differentiation
Differentiation·Section 4·4 min read

Implicit Differentiation

Till now, we have been differentiating functions given in explicit form as y=f(x)y = f(x). We understand how to differentiate such functions directly. However, what should we do when the function is not explicitly given but instead is defined implicitly?

In an implicit equation, both xx and yy appear together, and they are intertwined in such a way that solving explicitly for yy in terms of xx is either difficult or impossible. Sometimes, we may be able to isolate yy and then differentiate, but in many cases, this is not feasible.

For example, consider the equation

x5+y5=5xy.x^5 + y^5 = 5xy.

Here, yy is still a function of xx, meaning it depends on xx, but we cannot explicitly solve for yy in terms of xx easily. Nevertheless, we should still be able to differentiate the equation because yy behaves as a function of xx.

The Idea Behind Implicit Differentiation

The key principle is simple: if two expressions are always equal, then their derivatives must also be equal.

Applying this idea to our example equation,

x5+y5=5xy.x^5 + y^5 = 5xy.

Taking the derivative on both sides,

ddx(x5+y5)=ddx(5xy).\frac{d}{dx} (x^5 + y^5) = \frac{d}{dx} (5xy).

Since yy is a function of xx, we recognize that differentiating y5y^5 requires the chain rule, treating yy as an unknown function of xx:

ddxx5+ddxy5=ddx(5xy).\frac{d}{dx} x^5 + \frac{d}{dx} y^5 = \frac{d}{dx} (5xy).

Differentiating each term,

5x4+5y4dydx=5ddx(xy).5x^4 + 5y^4 \frac{dy}{dx} = 5 \frac{d}{dx} (x y).

Applying the product rule on xyxy,

5x4+5y4dydx=5(xdydx+y).5x^4 + 5y^4 \frac{dy}{dx} = 5 \left( x \frac{dy}{dx} + y \right).

Rearranging to isolate dydx\frac{dy}{dx},

5y4dydx−5xdydx=5y−5x4.5y^4 \frac{dy}{dx} - 5x \frac{dy}{dx} = 5y - 5x^4.

Factoring out dydx\frac{dy}{dx},

(5y4−5x)dydx=5y−5x4.(5y^4 - 5x) \frac{dy}{dx} = 5y - 5x^4. dydx=5y−5x45y4−5x.\frac{dy}{dx} = \frac{5y - 5x^4}{5y^4 - 5x}.

Thus, we have successfully differentiated implicitly, without needing to explicitly solve for yy.

General Approach to Implicit Differentiation

  1. Differentiate both sides with respect to xx, applying the derivative operator ddx\frac{d}{dx} to the entire equation. Since yy is implicitly dependent on xx, every occurrence of yy must be treated as a function of xx, even though its explicit form is unknown.

  2. Apply the chain rule correctly when differentiating terms involving yy. Specifically, if yy appears as an exponentiated term, trigonometric function, exponential function, or within any composition, the differentiation must account for the inner dependence on xx. That is, when differentiating any function of yy, say g(y)g(y), we must apply

    ddxg(y)=g′(y)dydx.\frac{d}{dx} g(y) = g'(y) \frac{dy}{dx}.

    For example, if differentiating yny^n, we obtain

    ddxyn=nyn−1dydx.\frac{d}{dx} y^n = n y^{n-1} \frac{dy}{dx}.
  3. Use the product or quotient rule wherever necessary. If the equation contains products or quotients of expressions of xx and yy, differentiation must respect the product or quotient rule.

  4. Isolate dydx\frac{dy}{dx} algebraically. Once differentiation is complete, all terms involving dydx\frac{dy}{dx} should be collected on one side of the equation, and any terms independent of dydx\frac{dy}{dx} should be moved to the other side. The equation is then solved explicitly for dydx\frac{dy}{dx}, ensuring a well-defined derivative expression in terms of xx and yy.

Section 4 of 10 · Differentiation

Mark this section complete when you have worked through its proofs.