Explore calculusLesson 27 of 48 · 8 min

Differentiate an implicit curve

Obtain an implicit derivative and identify where its denominator vanishes.

Maths refresher: An implicit relationship

An equation can constrain x and y together without selecting one y for each x. A circle generally has an upper and a lower branch.

x2+y2=25⟹dydx=−xy(y≠0)x^2+y^2=25\quad\Longrightarrow\quad\frac{dy}{dx}=-\frac{x}{y}\quad(y\ne0)
Worked example

At (3,4)(3,4) the slope is −3/4-3/4. At (5,0)(5,0) this slope formula divides by zero, reflecting a vertical tangent.

Maths prerequisite map ↗

Some relationships define a curve without giving y as one global function of x. Implicit differentiation treats y as changing with x while preserving the relationship. SymPy idiff can calculate that derivative from an equation written as a zero residual.

See the mathematics
(3, 4)
(3, 4)
x2+y2=25,dydx=−xy  (y≠0)x^2+y^2=25,\quad\frac{dy}{dx}=-\frac xy\;(y\ne0)
x2+y2=25dydx=−xy(y≠0)\begin{gathered}x^2+y^2=25\\\frac{dy}{dx}=-\frac xy\quad(y\ne0)\end{gathered}
Starter reference. At (3, 4), the circle has tangent slope −3/4. The formula −x/y requires y ≠ 0; at the horizontal extremes the tangents are vertical.

On a circle, differentiating x2+y2−r2=0x^2+y^2-r^2=0 with respect to xx gives 2x+2y dy/dx=02x+2y\,dy/dx=0. Solving for the slope divides by yy, so the resulting formula requires y≠0y\ne0.

Read the slope at the top of the radius-five circle and check that the rightmost point lies on the curve even though the slope formula is undefined there. A vertical tangent can fail to have a finite dy/dxdy/dx even though the curve itself remains well defined. Keep the derivative’s domain distinct from the curve’s domain.

Does division by yy in the formula for dy/dxdy/dx mean the circle itself disappears at y=0y=0?

Write a prediction (optional)

Exact symbolic investigation

Select Run Python with the code unchanged.

Tools
About Python

Python and the course packages can load while you read. Each run starts with fresh user variables; imported modules stay loaded. Stop replaces the worker. Runtime details ↗

Ctrl+Enter or ⌘+Enter runs Python.

Compare with the worked example

Executed from the published Python during the site build. Your own run appears above. Build environment ↗

Implicit slope
−xy- \frac{x}{y}
Top point on curve
True\text{True}
Slope at top point
00
Right point on curve
True\text{True}
Worked text output
Implicit slope: -x/y
Top point on curve: True
Slope at top point: 0
Right point on curve: True

Read the starter result

The slope at the top is 0. The right point belongs to the curve, where the tangent is vertical and a finite slope is unavailable.

Edit and compare

Replace residual = x**2+y**2-25 with residual = x**2+4*y**2-16. Change top to {x:0,y:2} and right to {x:4,y:0} to check the new ellipse at its intercepts. Select Run Python. Check both point tests and compare Implicit slope with the circle formula.

Return to the editor

Scope. Implicit derivatives require local regularity; singular points and branch changes can need additional analysis.

Try a fresh case

What should accompany a slope formula containing division by y?

Choose an answer
Need a hint?
Hint 1

Locate the denominator.

Hint 2

Separate a valid curve point from the existence of a finite slope.

Your notesNotes save in this browser when storage is available.