When y Cannot Be Isolated
The circle does describe as a function of locally, but only piecewise: for the upper half and for the lower half. Solving explicitly forces you to choose a branch before you know which one the question wants, and the square root algebra then hides the geometry. Differentiating the original equation gives immediately, and it works for both branches â at the point it returns , while at it returns . The single formula knows which branch you are on because the sign of is still in it.
The folium of Descartes, , makes the case stronger. Isolating means solving a cubic whose roots are radicals in ; differentiating those roots correctly is far harder than differentiating the original equation. Check the point : it satisfies the equation since , and implicit differentiation below produces the clean slope without ever solving the cubic.
The method has three moving parts:
- Differentiate both sides with respect to â the right side of a constant equation differentiates to 0.
- Every time you differentiate a term containing , multiply by ; that is the chain rule acknowledging that depends on .
- Collect the terms containing on one side, factor it out, and divide once.
Example: Implicit Differentiation
Find if .
At the tangent slope is , so the tangent line is , which simplifies to . Substituting it back into the circle equation gives a quadratic with discriminant 0 â the algebraic signature of a line that touches the circle exactly once. At the formula divides by zero, and that is correct: the tangent there is vertical, and vertical lines have no finite slope.
Example: More Complex Implicit Function
Find if .
At this gives , the slope you would get only after a great deal of effort from the cubic formula. The denominator vanishing signals a vertical tangent â for the folium that happens at the points where , including the origin, which is a genuine self-intersection of the curve rather than a smooth point.
Differentiating Terms That Contain y
Each form has its own rule, and mixing them up is where the marks go. Read the second column as "differentiate as usual, then append a factor of ".
| Term in and | Differentiate with respect to | Why |
|---|---|---|
| chain rule on the square | ||
| chain rule on the cube | ||
| product rule | ||
| exponential is its own derivative | ||
| chain rule on sine | ||
| logarithm rule | ||
| quotient rule |
Two habits keep the algebra clean. First, collect before you divide: gather every term on one side, factor the symbol out, and perform a single division at the end. Dividing early on each term invites sign errors. Second, do not cancel across an equation â it is the unknown you are solving for, and cancelling it destroys the solution.
A useful diagnostic after solving: substitute a point that satisfies the original equation into your expression for . If the resulting slope does not match a rough sketch of the curve at that point, the error is in the algebra, not the method.
Second Derivative by Implicit Differentiation
The second pass repeats the same discipline: the expression you differentiate is a quotient containing , so both the quotient rule and the factor appear. Substituting only after differentiating keeps the expression short; substituting too early turns a clean quotient into a tangle.
Example: Find Second Derivative
Find for .
The final simplification uses the original equation â a substitution that beginners usually miss. At the value is , negative, so the upper semicircle is concave downwards there; at it is , and the lower semicircle is concave upwards. Both facts follow from the same formula because changes sign with .
Checking the Slope at a Point
Implicit differentiation is algebra; a numerical difference on an explicit branch is arithmetic. Using the two together is the fastest way to catch a sign error.
import sympy as sp
x, Y, dY = sp.symbols('x Y dY')
expr = x**2 + Y**2 - 25
# d/dx(expr) = d(expr)/dx + d(expr)/dY * dY/dx
total = sp.diff(expr, x) + sp.diff(expr, Y) * dY
print(sp.solve(total, dY)[0]) # -x/Y
import math
def upper_branch(x):
return math.sqrt(25 - x * x)
x0, h = 3.0, 1e-6
numeric = (upper_branch(x0 + h) - upper_branch(x0 - h)) / (2 * h)
print(round(numeric, 6), round(-x0 / upper_branch(x0), 6)) # both -0.75
The symbolic script prints the general formula and the numeric script confirms its value at one point; a mismatch of sign between them points at the branch or at a dropped term in the collection step.
Important Results
These three results cover most of the transcendental cases that appear in board questions and in the differential-equation chapter that follows. The pattern behind them is uniform: treat as the inner function of a composition with , differentiate with respect to , then multiply by .
Common Mistakes
Differentiating a y term without appending dy/dx
Fix: Write the derivative as 2y(dy/dx) for y^2 and e^y(dy/dx) for e^y; the appended factor is the chain rule.
Dividing by dy/dx or cancelling it while solving
Fix: Collect dy/dx terms on one side, factorise, and divide once â dy/dx is the unknown, not a common factor to cancel.
Substituting dy/dx too early when finding the second derivative
Fix: Differentiate the quotient first, then replace dy/dx with -x/y; early substitution bloats the algebra and invites sign slips.
Key Takeaways
- Implicit differentiation differentiates both sides with respect to x, treating y as a function of x.
- Every term containing y contributes a factor of dy/dx; xy additionally needs the product rule.
- Collect dy/dx terms, factor, and divide once â then test the result at a known point.
- Differentiate the first derivative again to get d2y/dx2, and reuse the original equation to simplify.