Study and Productivity

How to Do Implicit Differentiation: dy/dx for Curves Like the Folium of Descartes

Learn implicit differentiation with the chain rule: a worked folium example, the tangent and normal at a point, common errors and ways to test the slope.

Saizul Amin
Saizul Amin3 Nov 2026 · 4 min read
How to Do Implicit Differentiation: dy/dx for Curves Like the Folium of Descartes

How to Do Implicit Differentiation: dy/dx for Curves Like the Folium of Descartes

Some equations refuse to be rearranged into y = something. Try making y the subject of x^3 + y^3 = 6xy and you will soon give up. Implicit differentiation lets you find the gradient anyway. The idea is short: treat y as a hidden function of x, differentiate both sides with respect to x, and solve for dy/dx at the end. This guide explains why the method works, walks through one complete example and lists the slips that cost marks.

Why y-terms gain an extra factor

When you differentiate x^2 with respect to x you get 2x. When you differentiate y^2 with respect to x, the chain rule is involved, because y itself depends on x. The outer function is squaring and the inner function is y, so the result is 2y times dy/dx. Writing y' for dy/dx, every term containing y collects a y' when differentiated. Terms that only involve x behave as usual, and constants vanish.

Products of x and y need the product rule. For example, d/dx of xy is 1·y + x·y', which is y + xy'.

The four-step method

  1. Differentiate every term on both sides with respect to x, attaching y' wherever the chain rule demands it.
  2. Move all terms containing y' to one side and everything else to the other.
  3. Factor out y'.
  4. Divide to get y' on its own.

There is also a shortcut. If you write the equation as F(x, y) = 0, then y' = -F_x/F_y, using partial derivatives. It is handy for checking, but most teachers want the full working first.

Worked example: the folium of Descartes

Find dy/dx for x^3 + y^3 = 6xy, then the tangent and normal at (3, 3).

First confirm the point is on the curve: 27 + 27 = 54 and 6·3·3 = 54. Good.

Step 1. Differentiate. The left side gives 3x^2 + 3y^2 y'. The right side, by the product rule, gives 6y + 6x y'.

Step 2. Gather the y' terms on the left: 3y^2 y' - 6x y' = 6y - 3x^2.

Step 3. Factor: y'(3y^2 - 6x) = 6y - 3x^2.

Step 4. Divide and cancel the common 3: y' = (2y - x^2)/(y^2 - 2x).

At (3, 3) the numerator is 6 - 9 = -3 and the denominator is 9 - 6 = 3, so the gradient is -1.

The tangent passes through (3, 3) with gradient -1: y - 3 = -(x - 3), which simplifies to y = -x + 6. The normal has gradient +1 (the negative reciprocal of -1), so y - 3 = x - 3, giving y = x. That makes sense geometrically: the folium is symmetric about the line y = x, and at the tip of its loop the normal lies along that line of symmetry.

Frequent errors

  • Writing d/dx(y^3) as 3y^2 with no y'. This is the single most common mistake.
  • Treating xy as if only one factor changes. You need the product rule.
  • Forgetting that a constant on the right, such as 25, differentiates to zero.
  • Substituting numbers before differentiating. Always differentiate the general equation first.
  • Using a point that is not on the curve. The formula will happily return a number, but it means nothing.

Checking the slope

The partial derivative shortcut is a fast independent check. With F = x^3 + y^3 - 6xy, F_x = 3x^2 - 6y and F_y = 3y^2 - 6x. Then -F_x/F_y = (6y - 3x^2)/(3y^2 - 6x), which matches the result above.

A numerical check also works. Pick an x slightly bigger than 3, say 3.01, solve the equation for y near 3 with a calculator, and divide the change in y by 0.01. The ratio should be close to -1.

Watch the denominator too. Where it equals zero but the numerator does not, the tangent is vertical rather than undefined nonsense, and you should state it as a line x = constant.

Using the solver

Enter the equation with one equals sign into the Implicit Differentiation Solver. It lists the derivative of every term, shows how the y' terms are collected and gives the second derivative as well. Type a point or tap the graph, and it reports whether that point lies on the curve before giving the tangent and normal. Comparing its term list with your own first line is often enough to find where an error crept in.

Limits

The solver differentiates correctly but does not always simplify to the same tidy form as a textbook, so equivalent answers can look different. Its plot samples a grid, which means tiny loops or isolated points may not appear. It is a study aid for checking and practising, not a substitute for setting out the steps yourself in an exam.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages