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.
At the slope is . At this slope formula divides by zero, reflecting a vertical tangent.
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.
On a circle, differentiating with respect to gives . Solving for the slope divides by , so the resulting formula requires .
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 even though the curve itself remains well defined. Keep the derivative’s domain distinct from the curve’s domain.
Does division by in the formula for mean the circle itself disappears at ?
Write a prediction (optional)
Exact symbolic investigation
Select Run Python with the code unchanged.
Your saved draft is open. To use the published code, select Restore example in Tools. Use Recover draft to bring back your code.
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.
Execution error
Technical error details
Your result
Python text output
Compare with the worked example
Executed from the published Python during the site build. Your own run appears above. Build environment ↗
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.
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?
Need a hint?
Hint 1
Locate the denominator.
Hint 2
Separate a valid curve point from the existence of a finite slope.