Implicit Differentiation Calculator: dy/dx, Tangent Line & Second Derivative

This implicit differentiation calculator finds the slope dy/dx of a curve defined by an equation such as x² + y² = 25, then gives the tangent line, the normal line and the second derivative at a chosen point. Type the equation, enter the point, and read the results with the steps.

Math — Calculus, Algebra & Linear Algebra Calculators

Implicit Differentiation Calculator

Slope dy/dx, tangent line, normal line and second derivative of an implicit curve F(x, y) = 0 at a point, using dy/dx = −Fₓ / Fᵧ.

Write it like x^2+y^2=25 or x^3+y^3=6*x*y (one = sign, or just an expression that equals 0).
Partial derivatives are evaluated numerically at the chosen point, so the result is a number rather than a symbolic expression in x and y. A vertical tangent (Fᵧ = 0) is reported as undefined slope.

Starting values: the calculator opens with the circle x^2+y^2=25 at the point (3, 4). The slope is -0.75, the tangent line passes through (3, 4) with that slope, and the second derivative is -0.390625.

When you need implicit differentiation

Sometimes y cannot be written as a simple function of x, or doing so would be messy. A circle, an ellipse and the folium of Descartes are typical cases. Implicit differentiation avoids solving for y. You differentiate the whole equation with respect to x, treating y as a function of x, and then solve for dy/dx.

The formula the calculator uses

Write the equation as F(x, y) = 0. Then:

dy/dx = -Fx / Fy

Where Fx is the partial derivative of F with respect to x and Fy is the partial derivative with respect to y. The second derivative follows from differentiating this once more:

d²y/dx² = -(Fxx · Fy² – 2 Fxy · Fx · Fy + Fyy · Fx²) / Fy³

The tangent line at (x0, y0) is y – y0 = (dy/dx)(x – x0), and the normal line has the negative reciprocal slope.

Two ways to use the calculator

  • Point on the curve: you enter x0 and y0, and the calculator checks that the point lies on the curve before differentiating.
  • Solve for y first: you enter x0 and a starting guess for y. The calculator solves the equation for y near your guess, then differentiates at that point. This is useful when you know x but not y.

Write the equation with one equals sign, such as x^2+y^2=25 or x^3+y^3=6*x*y, or enter an expression that equals zero.

Worked examples

Example 1: the default circle at (3, 4)

Let F = x² + y² – 25. Then Fx = 2x = 6 and Fy = 2y = 8 at the point, so dy/dx = -6/8 = -0.75. The tangent line is y – 4 = -0.75(x – 3), which simplifies to y = -0.75x + 6.25. The normal line has slope 4/3 and passes through the origin: y = (4/3)x, which makes sense because the normal to a circle points along the radius.

For the second derivative, Fxx = 2, Fyy = 2 and Fxy = 0. The formula gives -(2 × 64 + 2 × 36) / 512 = -200/512 = -0.390625, which equals -25/64. For a circle this is -(x² + y²)/y³ = -25/64, so it agrees.

Example 2: the folium of Descartes at (3, 3)

The equation x^3 + y^3 = 6xy passes through (3, 3), because 27 + 27 = 54 = 6 × 9. With F = x³ + y³ – 6xy, Fx = 3x² – 6y = 9 and Fy = 3y² – 6x = 9. The slope is -9/9 = -1. The second derivative is -(18 × 81 – 2(-6)(9)(9) + 18 × 81) / 729 = -3888/729, which is about -5.333.

Example 3: solving for y first

Suppose you know x = 3 on the same circle but not y. Switch to Solve for y first, enter 3 for x0 and 5 as a guess. The calculator solves F(3, y) = 0 near 5, finds y = 4 and continues as in Example 1. A guess near -5 would find the other point on the circle, (3, -4), where the slope is +0.75.

Example 4: a vertical tangent

At (5, 0) on the circle, Fy = 2y = 0, so the formula divides by zero. The tangent there is vertical, and the calculator reports the slope as undefined.

Checking your work

  • Confirm that the point satisfies the equation. The point check in the results does it for you.
  • For a circle centered at the origin, the tangent is perpendicular to the radius, so the product of the slopes of the tangent and the radius is -1.
  • Test the second derivative sign: negative means the curve bends downward at that point, and positive means it bends upward.

Limits

The partial derivatives are evaluated numerically at the chosen point, so the answer is a number and not an expression in x and y. If you need the symbolic form of dy/dx, derive it by hand with the formula above and use the calculator to confirm a value. For second-order behavior of a function of two variables, the Hessian matrix calculator is the related tool.

Frequently asked questions

What is implicit differentiation?

It is a way to find dy/dx when y is not written as an explicit function of x. You differentiate both sides of the equation with respect to x and solve for dy/dx.

What formula gives dy/dx for F(x, y) = 0?

dy/dx = -Fx / Fy, where Fx and Fy are the partial derivatives of F.

How do I find the tangent line?

Use the slope dy/dx at the point in y – y0 = m(x – x0).

What does an undefined slope mean?

Fy is zero at that point, so the tangent line is vertical.

Do I need to know y to use the calculator?

No. In the solve-for-y mode, you enter x and a starting guess for y, and the calculator finds the point on the curve.

Mark Danny

Mark Danny

Mark Danny builds and maintains the free calculators and guides on Area of Irregular Shapes Calculator. Every calculator page explains its formula and shows a worked example, so you can check the working yourself. Spotted a mistake or have a suggestion? Email gulsher.hingoro101@gmail.com.

Articles: 739