Subject: Class 12 Mathematics Chapter: Implicit Differentiation Topic: 6.7 Implicit Differentiation – Differentiate implicit functions
So far we have differentiated functions written in the explicit form y = f(x), where y is expressed directly in terms of x. Many curves in mathematics, however, are given by an equation that mixes x and y together, such as x squared plus y squared = 25, or x cubed plus y cubed = 3xy. In such equations y is not isolated on one side, and it may even be impossible to write y as a single simple function of x. Functions defined in this way are called implicit functions, and the equation that relates them is called an implicit equation.
Differentiating an implicit equation is made possible by a powerful observation: both sides of the equation are functions of x, so we may differentiate both sides with respect to x using the standard rules, provided we remember one crucial point. When a term contains y, we apply the chain rule: the derivative of a function of y with respect to x is the derivative of that function with respect to y multiplied by dy/dx. For example, the derivative of y squared with respect to x is 2y times dy/dx, and the derivative of sin y with respect to x is cos y times dy/dx.
The technique of implicit differentiation is extremely useful because it lets us find slopes and rates without ever solving for y explicitly. It is used for circles, ellipses, hyperbolas and many other curves, and it also powers the method of logarithmic differentiation for functions like y = x to the power x. In Class 12 examinations, implicit differentiation problems test your command of the chain rule together with careful algebraic rearrangement, and mastering it will make you comfortable with the most general kinds of differentiable relationships.
An explicit function is written as y = f(x), for example y = x squared, so that y is given directly by a formula in x. An implicit function is described by an equation F(x, y) = 0, such as x squared plus y squared = 25, where neither variable is isolated. Some implicit equations can be solved for y explicitly, but the derivative is often easier to obtain directly from the implicit equation.
The key to implicit differentiation is the chain rule applied to y. Since y is a function of x, the derivative with respect to x of any expression in y is computed by differentiating with respect to y and multiplying by dy/dx. In practice, we differentiate every term of the equation with respect to x, then collect all terms containing dy/dx on one side, factor out dy/dx, and solve for it.
Worked Example 1: Find dy/dx if x squared plus y squared = 25.
Differentiate both sides term by term with respect to x: derivative of x squared is 2x, and derivative of y squared is 2y dy/dx. The derivative of the constant 25 is 0. Hence 2x + 2y dy/dx = 0, so dy/dx = minus x/y.
This is the slope of the tangent to the circle x squared + y squared = 25 at any point (x, y) where y is not zero.
Worked Example 2: Find dy/dx if xy = 1.
Use the product rule on the left: x dy/dx + y times 1 = 0. Therefore x dy/dx = minus y, giving dy/dx = minus y/x. Alternatively, xy = 1 means y = 1/x, whose derivative is minus 1/x squared; since y = 1/x, minus y/x = minus 1/x squared, which agrees.
When the implicit equation contains products, powers of y, or trigonometric functions of y, the chain rule must be applied inside each term with care.
Worked Example 3: Find dy/dx for x cubed plus y cubed = 3xy.
Differentiating the left side gives 3x squared + 3y squared dy/dx. For the right side 3xy, use the product rule: 3(x dy/dx + y). Equating: 3x squared + 3y squared dy/dx = 3x dy/dx + 3y. Cancel the common factor 3, collect the dy/dx terms: (y squared minus x) dy/dx = y minus x squared, so dy/dx = (y minus x squared)/(y squared minus x).
Worked Example 4: Find dy/dx if sin y = xy.
Differentiate both sides. Left side: cos y dy/dx. Right side: product rule gives x dy/dx + y. Thus cos y dy/dx = x dy/dx + y, so (cos y minus x) dy/dx = y, giving dy/dx = y/(cos y minus x).
Worked Example 5: Find dy/dx if x squared y plus y cubed = 8.
The product term x squared y has derivative x squared dy/dx + y times 2x by the product rule. The term y cubed has derivative 3y squared dy/dx. So x squared dy/dx + 2xy + 3y squared dy/dx = 0, giving (x squared + 3y squared) dy/dx = minus 2xy, hence dy/dx = minus 2xy/(x squared + 3y squared).
Once dy/dx is found, it can be evaluated at a given point to give the slope of the tangent, and the equation of the tangent can be written using y minus y0 = m(x minus x0).
Worked Example 6: Find the slope of the tangent to the circle x squared plus y squared = 25 at the point (3, 4).
From Worked Example 1, dy/dx = minus x/y. At (3, 4) the slope is minus 3/4. The tangent has equation y minus 4 = minus (3/4)(x minus 3).
Worked Example 7: Find dy/dx at (1, 1) for x squared y = 1.
Differentiating x squared y = 1 gives x squared dy/dx + 2xy = 0, so dy/dx = minus 2y/x. At (1, 1) this gives dy/dx = minus 2.
Worked Example 8: If e to the power y = x, show that dy/dx = 1/x.
Differentiating e to the power y = x gives e to the power y dy/dx = 1, so dy/dx = 1/e to the power y = 1/x, which is consistent with y = ln x.
Worked Example 9: Find dy/dx for y = x to the power x using logarithmic differentiation.
Take the natural logarithm of both sides: ln y = x ln x. Differentiate implicitly: (1/y) dy/dx = 1 times ln x + x times (1/x) = ln x + 1. Hence dy/dx = y (ln x + 1) = x to the power x (ln x + 1).
| Term | Derivative with respect to x |
|---|---|
| y | dy/dx |
| y squared | 2y dy/dx |
| y cubed | 3y squared dy/dx |
| sin y | cos y dy/dx |
| e to the power y | e to the power y dy/dx |
| ln y | (1/y) dy/dx |
| Implicit equation | dy/dx |
|---|---|
| x squared plus y squared = a squared | minus x/y |
| xy = k | minus y/x |
| x squared y = 1 | minus 2y/x |
| x cubed plus y cubed = 3xy | (y minus x squared)/(y squared minus x) |
| sin y = xy | y/(cos y minus x) |
| e to the power y = x | 1/x |
flowchart TD
A[Implicit Differentiation] --> B[What Is Implicit]
B --> C[Equation mixes x and y]
A --> D[Core Idea]
D --> E[Differentiate both sides with respect to x]
D --> F[Apply chain rule to y-terms]
A --> G[Method]
G --> H[Differentiate term by term]
G --> I[Use product and quotient rules]
G --> J[Collect dy/dx terms]
G --> K[Solve for dy/dx]
A --> L[Applications]
L --> M[Slope of tangent]
L --> N[Logarithmic differentiation]
L --> O[Curves and related rates]
Implicit differentiation extends the chain rule to equations in which x and y are mixed, allowing us to find dy/dx without first solving for y. The technique is simple to apply: differentiate both sides with respect to x, attach the factor dy/dx to every derivative of a y-term, then collect and solve for dy/dx. It handles products, powers, trigonometric and exponential expressions involving y, and it is the basis for logarithmic differentiation and for finding slopes of tangents to curves like circles and other implicit relations. Because it tests the chain rule together with careful algebra, implicit differentiation is a favourite examination topic, and practising the method makes the process almost mechanical.