Implicit Differentiation: Keep Both Parts of xy
Find the slope, tangent and second derivative of an implicit curve. Handle the xy product rule correctly, then check the denominator and local branch.

| Topic | Exam Prep |
|---|---|
| Focus | Maths |
| Read time | 5 min |
| Words | 903 |
| Published | 30 Nov 2026 |
| Best for | Students & parents (exam prep) |
The derivative of xy is not just y, and it is not just x times dy/dx. When y changes with x, both factors change. Losing either part of the product rule can give a plausible-looking slope that is wrong.
Implicit differentiation keeps a curve in its original equation instead of solving for y first. The method is especially useful when that equation mixes x and y. Work through the first derivative carefully, then keep treating y as a function when you differentiate again.
Start by checking the point
Consider the curve x² + xy + y² = 7. Find the slope, tangent line and second derivative at (1, 2). Before doing calculus, substitute the point: 1 + 2 + 4 = 7. It lies on the curve, so the requested local calculation makes sense.
We will follow a smooth local branch y = y(x) near this point. Our continuity and differentiability practice reviews the product and chain rules used below. This example applies those rules to an implicit curve; it is not a claim about examination weight or a particular exercise list.
Differentiate the mixed term properly
Differentiate every term with respect to x. The derivative of x² is 2x. For xy, use the product rule: d(xy)/dx = y + xy′. The derivative of y² is 2yy′, because the chain rule contributes y′ = dy/dx. The constant 7 has derivative zero.
Putting those pieces together gives 2x + y + xy′ + 2yy′ = 0. Group the terms containing y′: (x + 2y)y′ = −(2x + y). Therefore y′ = −(2x + y)/(x + 2y), wherever the denominator is nonzero.
At (1, 2), the denominator is 5 and the numerator before the minus sign is 4. The slope is −4/5. Keep that fraction rather than rounding early: it will be needed again when finding the second derivative.
Write the tangent through the actual point
The tangent line is Y − 2 = −(4/5)(X − 1), where capital X and Y describe a general point on the line. Rearranging gives 4X + 5Y = 14. Substituting (1, 2) checks the constant: 4 + 10 = 14.
A negative slope means this branch is decreasing locally as x increases. It does not tell us whether the curve bends upward or downward. That is a separate question answered by the second derivative.
Differentiate again before substituting
Return to 2x + y + xy′ + 2yy′ = 0. Differentiate this identity along the same branch. The four derivatives are 2, y′, y′ + xy″, and 2(y′)² + 2yy″. Both products need attention, even though one factor is already a derivative.
Collecting gives 2 + 2y′ + 2(y′)² + (x + 2y)y″ = 0. Thus y″ = −[2 + 2y′ + 2(y′)²]/(x + 2y). The squared derivative comes from differentiating y times y′; it is not an optional extra term.
Now substitute x = 1, y = 2 and y′ = −4/5. The numerator is 2 − 8/5 + 32/25 = 42/25. Dividing by 5 and keeping the leading minus sign gives y″ = −42/125.
The slope is negative and the second derivative is negative here. The branch is decreasing and concave down near the point. These statements describe different properties, even though their signs happen to match in this example.
Check with an explicit local branch
Solving the original equation as a quadratic in y gives y = [−x ± sqrt(28 − 3x²)]/2. At x = 1, the plus sign gives y = 2; the minus sign gives y = −3. Choose the branch through the specified point.
For that plus branch, y′ = [−1 − 3x/sqrt(28 − 3x²)]/2. At x = 1 this is −4/5. Differentiating again gives y″ = −42/(28 − 3x²)^(3/2), which becomes −42/125. The independent form agrees.
A zero denominator needs a separate check
Our slope formula divides by x + 2y. If that quantity vanishes, direct substitution into the formula is not allowed. For this curve, y = −x/2 gives 3x²/4 = 7, so x is nonzero and 2x + y = 3x/2 is also nonzero. Those points have vertical tangents, not finite dy/dx.
Do not turn this example into a universal rule that every zero denominator proves a vertical tangent. If numerator and denominator both vanish on another relation, inspect the curve separately. An unusable quotient alone does not settle the geometry.
Frequently asked questions
Why does differentiating y² produce y′?
We are differentiating with respect to x, while y depends on x. The chain rule gives 2y multiplied by dy/dx, rather than 2y alone.
Can I substitute the point before differentiating?
Use it first to check the curve, but do not replace the whole equation with numbers before differentiating. That would erase the changing variables.
Is the second derivative the square of the first?
No. The second derivative measures how the first derivative changes with x. The square (y′)² is a different quantity that appears in the product-rule calculation.
What should I get at the other point (2, 1)?
That point also lies on this curve. The same identities give y′ = −5/4 and y″ = −21/32. Recalculate both rather than swapping the earlier answers.
Method and photo sources
Method: OpenStax Calculus, implicit differentiation. The numerical worked example here is original practice.
Photo: Jessica Lewis on Pexels, used under the Pexels licence; cropped and compressed. The notebook is a study image, not a diagram of the curve.
Related articles
- Matrix Cancellation: Why Nonzero A Is Not Enough
- Lens Displacement Method: Find the Two Lens Positions
- Nernst Equation: Build the Reaction Quotient First
- Rolling Down an Incline: Check Static Friction First
- Acid-Base Mixture pH: Find Excess Moles First
Explore related tuition services: maths tuition · home tuition · online tuition