Steply

x^2 - xy = 6, find dy/dx

Step by step, with the reason for every step · Implicit differentiation · Calculus

Step by step

The question

Question: find dy/dx for x² − xy = 6.

x2 − xy = 6

y is not written alone, but y still depends on x.

So for y we use the chain rule.

y squared gives 2y, times dy/dx.

y depends on x: y2 → 2y × dydx

1 The derivative of each side

−xy is x times y: use the product rule.

The derivative of x is 1, and of y is dy/dx.

(uv)′ = u′v + uv′
−xy → −y − x dydx

Now each term.

x terms as usual, y terms times dy/dx, a number alone gives 0.

2x − y − x dydx = 0

2 Get dy/dx alone

Keep the dy/dx terms on the left.

Move the others to the right: they change sign.

−x dydx = −2x + y

To remove times −x, we divide both sides by it.

dydx = −2x + y−x

So dy/dx = (2x − y) over x.

dydx = 2x − yx

3 Check

Let's check at a point on the curve: (3, 1).

Our dy/dx gives 1.6667 there.

at (3, 1): dy/dx = 1.6667

Now a very close point on the curve.

At x = 3.001, a calculator gives y ≈ 1.00167.

x = 3.001: y ≈ 1.00167

The slope between the two points: up 0.00167, across 0.001.

About 1.67.

Very close to 1.6667.

Right!

1.00167 − 10.001 ≈ 1.67

Let's look back.

First: the derivative of each side.

Then: get dy/dx alone.

Last: check.

Answer
dydx = 2x − yx

Your turn

Try this one yourself, then check:

Find dy/dx for 3x2 − xy = 15
Show the answer
dydx = 6x − yx

More from Implicit differentiation

The whole lesson: Implicit differentiation →