How to use the implicit differentiation calculator
- Type an equation in x and y, such as
x^2 + y^2 = 25orsin(xy) = x. If you leave out the equals sign, the expression is set equal to 0. - Read dy/dx and the steps: both sides differentiated, the dy/dx terms collected, then the simplified result.
- Optionally enter a point to get the slope, the second derivative, and the tangent and normal lines there. The calculator warns you if the point isn't on the curve.
Implicit differentiation formula
Differentiate every term with respect to x and treat y as a function of x, so each y-term picks up a factor of dy/dx (the chain rule). Then solve for dy/dx. In one line:
d/dx[yⁿ] = n·yⁿ⁻¹·dy/dx · d/dx[xy] = y + x·dy/dx · d/dx[sin y] = cos y·dy/dx
Tangent at (x₀, y₀): y − y₀ = m(x − x₀), with m = dy/dx at that point
Worked example: the circle x² + y² = 25
- Differentiate both sides: 2x + 2y·dy/dx = 0.
- Solve: dy/dx = −2x/(2y) = −x/y.
- At (3, 4): slope = −3/4 = −0.75. Tangent line: y − 4 = −0.75(x − 3), or y = −0.75x + 6.25.
- Second derivative: d²y/dx² = −(y − x·dy/dx)/y² = −(x² + y²)/y³ = −25/y³. At (3, 4) that is −25/64 ≈ −0.390625, so the curve bends downward there.
Product rule example: for x³ + y³ = 6xy (the folium of Descartes), 3x² + 3y²·dy/dx = 6y + 6x·dy/dx, so dy/dx = (2y − x²)/(y² − 2x). At (3, 3) the slope is −1.
When do you need implicit differentiation?
- When y can't be isolated easily, as in x³ + y³ = 6xy or sin(xy) = x.
- For related rates: differentiate an equation that links quantities (like a ladder sliding down a wall, x² + y² = L²) with respect to time.
- To derive rules such as d/dx[ln x] = 1/x or d/dx[arcsin x] = 1/√(1 − x²) from y = ln x ⇔ eʸ = x.
- To find horizontal tangents (dy/dx = 0, numerator zero) and vertical tangents (the denominator is zero). On the circle, the tangent at (5, 0) is vertical: x = 5.
Common mistakes
- Forgetting the dy/dx on y-terms: d/dx[y²] is 2y·dy/dx, not 2y.
- Missing the product rule on terms like xy or x²y.
- Plugging in a point that isn't on the curve. Check it satisfies the equation first.
Work with right triangles in related-rates problems using the right triangle calculator or the hypotenuse calculator. Decompose rational functions before integrating with the partial fraction calculator. More math calculators.
Sources
Frequently asked questions
What is implicit differentiation?
A way to find dy/dx when y isn't written as a function of x. Differentiate both sides of the equation with respect to x, multiplying every derivative of a y-term by dy/dx (chain rule), then solve for dy/dx.
How do you find dy/dx for x² + y² = 25?
Differentiate: 2x + 2y·dy/dx = 0, so dy/dx = −x/y. At the point (3, 4), the slope is −3/4 = −0.75 and the tangent line is y = −0.75x + 6.25.
Is there a shortcut formula?
Yes. Write the equation as F(x, y) = 0. Then dy/dx = −F_x / F_y, where F_x and F_y are the partial derivatives. For F = x² + y² − 25: F_x = 2x, F_y = 2y, so dy/dx = −x/y.
How do I find the second derivative implicitly?
Differentiate dy/dx again with respect to x, still treating y as a function of x, and substitute dy/dx back in. For the circle, d²y/dx² = −(x² + y²)/y³ = −25/y³. The calculator gives its value at any point you enter.
How do I find the tangent line with implicit differentiation?
Evaluate dy/dx at the point to get the slope m, then use y − y₀ = m(x − x₀). If the denominator of dy/dx is zero there, the tangent is vertical: x = x₀.
Why does the calculator say my point is not on the curve?
The point doesn't satisfy the equation: the left and right sides give different values there. A slope or tangent line only makes sense at a point on the curve, so check the coordinates.
Which functions can I use?
Powers (^), sqrt, sin, cos, tan, sec, csc, cot, their inverses (asin, acos, atan), sinh, cosh, tanh, exp, e^( ), ln (natural log) and log (base 10). Multiplication can be implicit: 2xy means 2·x·y.