When y will not come out
Differentiate both sides, give every y term a dy/dx, solve for dy/dx.
When y will not come out
In x − y = π you can solve for y: y = x − π. But in x + sin xy − y = 0 there is no easy way to solve for y.
Still, y depends on x in both. The relation gives y as a function of x implicitly.
Can we find dy/dx without first solving for y?
What this lesson covers
The idea
When x and y are related by an equation not solved for y, differentiate both sides with respect to x, treating y as a function of x (chain rule on every y term), then solve for dy/dx.
When y will not come out
In x − y = π you can solve for y: y = x − π. But in x + sin xy − y = 0 there is no easy way to *solve for y*.
Still, y depends on x in both. The relation gives y as a function of x implicitly.
Can we find dy/dx without first solving for y?
- yes
- no, we must solve for y first
Differentiate term by term
Differentiate both sides with respect to x, one term at a time. Every term with y in it is a function of x through y, so the chain rule gives it a factor dy/dx. When all terms are right, the toy gathers them and solves for dy/dx.
Implicit differentiation
To find dy/dx from a relation between x and y: differentiate both sides with respect to x, treating y as a function of x (each y term gets a factor dy/dx by the chain rule), then solve for dy/dx.
When it is easy to solve for y and write y = f(x), y is an explicit function of x. Otherwise the relation gives the function implicitly. Both ways give the same dy/dx: in x − y = π, y = x − π gives dy/dx = 1, and differentiating directly gives 1 − dy/dx = 0, i.e. dy/dx = 1.
Notes
Implicit function: differentiate both sides w.r.t. x, every y term gets · dy/dx, then solve for dy/dx.
Check yourself
d/dx (y³) = ?
2x + 3y = sin y. Differentiating, 2 + 3 dy/dx = cos y · dy/dx. So dy/dx = ?
For x² + xy + y² = 100, dy/dx = −(2x + y)/(x + 2y). What is dy/dx at the point (0, 10)?
Answer: −1/2
−(0 + 10)/(0 + 20) = −10/20 = −1/2. (0, 10) lies on the curve because 0 + 0 + 100 = 100.
- 3y². y is a function of x, so the chain rule adds a factor dy/dx.
- 3y² · dy/dx — correct. Right. Outer derivative 3y², times the derivative of the inner function y.
- 3x². The term is in y, not x.
- 2/(cos y − 3) — correct. Right: dy/dx (cos y − 3) = 2.
- (cos y − 2)/3. That would be for 2x + 3y = sin x. Here sin y also gives a dy/dx term; collect both dy/dx terms.
- −2/3. cos y · dy/dx is also a dy/dx term. Collect them before dividing.