Why a Third Implicit Derivative Needs Care
When a curve is given by an equation involving \(x\) and \(y\), it may be possible to regard \(y\) locally as a function of \(x\) without solving the equation explicitly for \(y\). Implicit differentiation then gives the first derivative and, by differentiating again, the second derivative. To find the third derivative, differentiate that second-derivative relation once more.
The key difficulty is that \(y\), \(y'\), and \(y''\) all depend on \(x\). In particular, a term such as \(y y''\) requires the product rule, and a term such as \(y^2\) requires the chain rule. Missing one of these contributions changes the result.
The Conditions and the Second-Derivative Relation
Write the implicit equation as \(F(x,y)=0\), where \(F\) has continuous partial derivatives through order three near the point under consideration. If \(F_y\ne 0\) at that point, the implicit function theorem guarantees a local function \(y=y(x)\) satisfying the equation. This condition also allows the formulas below to be solved for \(y''\) and \(y'''\).
Here, subscripts denote partial derivatives: for example, \(F_{xy}\) means differentiate \(F\) first with respect to \(x\) and then with respect to \(y\). Every partial derivative in the formulas is evaluated at \((x,y(x))\). The first implicit derivative relation is \(F_x+F_y y'=0\). Differentiating it once gives the second-derivative relation.
The terms containing \(y'\) and \(y''\) are not constants when this equation is differentiated. Applying the chain and product rules to each term gives the third-derivative formula.
Why the Third-Derivative Formula Works
Differentiate the four terms in the second-derivative relation separately. The chain rule gives \(D(F_{xx})=F_{xxx}+F_{xxy}y'\). For the next term, use the product rule on \(F_{xy}y'\); its derivative is \((F_{xxy}+F_{xyy}y')y'+F_{xy}y''\). Including the coefficient 2 produces the contributions from that term.
For \(F_{yy}(y')^2\), both factors vary: \(D(F_{yy})=F_{xyy}+F_{yyy}y'\) and \(D((y')^2)=2y'y''\). Finally, differentiating \(F_y y''\) requires the product rule, with \(D(F_y)=F_{xy}+F_{yy}y'\).
Adding these four differentiated expressions gives the theorem's formula. The coefficients 3 arise by collecting terms that appear more than once: for example, \(F_{xy}y''\) appears twice from \(D(2F_{xy}y')\) and once from \(D(F_y y'')\). The term \(F_{yy}y'y''\) appears twice from differentiating \(F_{yy}(y')^2\) and once from differentiating \(F_y y''\). This accounts for both coefficients 3 and explains why omitting a product-rule contribution is a common source of error.
Worked Examples
Worked Example: The Third Derivative of a Circle Branch
Find \(y'''\) at \((3,4)\) on the curve \(x^2+y^2=25\). Since \(F_y=2y=8\ne0\) at the point, the curve defines a smooth local function \(y(x)\) there.
Differentiate the relation once:
Thus \(y'=-3/4\) at \((3,4)\). Differentiating the first relation again, or differentiating \(x+y y'=0\), gives
Substitute the point and slope to find the second derivative:
Differentiate the second-derivative relation. The derivative of \((y')^2\) is \(2y'y''\), and the derivative of \(y y''\) is \(y'y''+y y'''\). Therefore,
At the point, \(y'y''=(-3/4)(-25/64)=75/256\), so \(y'''=-3(75/256)/4=-225/1024\).
Check: Substitution into the differentiated relation gives \(3(-3/4)(-25/64)+4(-225/1024)=225/256-225/256=0\), as required.
Worked Example: A Relation with Mixed Terms
Find \(y'''\) at \((1,2)\) for \(x^2+xy+y^2=7\). Set \(F(x,y)=x^2+xy+y^2-7\). Here \(F_y=x+2y\), which equals \(5\) at the point, so division by \(F_y\) is permitted.
The first derivative relation is \(2x+y+(x+2y)y'=0\). At \((1,2)\), this gives \(4+5y'=0\), hence \(y'=-4/5\).
For the second derivative, the partial derivatives are \(F_{xx}=2\), \(F_{xy}=1\), \(F_{yy}=2\), and \(F_y=x+2y\). The second-derivative relation becomes
At the point, its terms not involving \(y''\) sum to \(2-8/5+32/25=(50-40+32)/25=42/25\). Thus \(42/25+5y''=0\), so \(y''=-42/125\).
Differentiate the second-derivative relation. The derivative of \(2y'\) is \(2y''\); that of \(2(y')^2\) is \(4y'y''\); and the derivative of \((x+2y)y''\) is \((1+2y')y''+(x+2y)y'''\). Therefore,
At the point, \(3+6y'=3-24/5=-9/5\). Hence \((-9/5)(-42/125)+5y'''=0\), which gives \(378/625+5y'''=0\) and \(y'''=-378/3125\).
Check: The differentiated relation evaluates to \((-9/5)(-42/125)+5(-378/3125)=378/625-1890/3125=0\), since \(1890/3125=378/625\).
Worked Example: A Cubic Term in y
Find \(y'''\) at \((1,2)\) on \(xy+y^3=10\). Let \(F(x,y)=xy+y^3-10\). At this point \(F_y=x+3y^2=13\ne0\), so the local branch is differentiable through the third derivative.
Differentiate once to obtain \(y+xy'+3y^2y'=0\), or \(y+(x+3y^2)y'=0\). At the point, \(2+13y'=0\), so \(y'=-2/13\).
Differentiate that first-derivative equation. Since \(D(x+3y^2)=1+6yy'\), the result is
Substituting the point and slope gives \(2(-2/13)+12(4/169)+13y''=-4/13+48/169+13y''=-4/169+13y''=0\). Therefore \(y''=4/2197\).
Now differentiate the second-derivative relation term by term. The derivative of \(2y'\) is \(2y''\). The derivative of \(6y(y')^2\) is \(6(y')^3+12y y'y''\). The derivative of \((x+3y^2)y''\) is \((1+6yy')y''+(x+3y^2)y'''\). Collecting terms gives
At the point, \(3+18yy'=3+36(-2/13)=-33/13\), and \(6(y')^3=6(-8/2197)=-48/2197\). The equation becomes \(-48/2197-(33/13)(4/2197)+13y'''=0\). Since \((33/13)(4/2197)=132/28561\) and \(48/2197=624/28561\), the sum of the first two terms is \(-756/28561\). Thus \(13y'''=756/28561\), giving \(y'''=756/371293\).
Check: Substitution into the differentiated relation gives \(-624/28561-132/28561+13(756/371293)= -756/28561+756/28561=0\), because \(371293=13\cdot28561\).
A Common Product-Rule Mistake
A frequent error is to differentiate \(y y''\) as though only its second factor varied. The incorrect calculation \(D(y y'')=y y'''\) drops the derivative of \(y\). Since \(y=y(x)\), the product rule instead gives
For instance, in the circle example the incorrect version would produce \(y y'''=0\), incorrectly predicting \(y'''=0\). The missing term is \(y'y''\); after including it, the correct equation is \(3y'y''+y y'''=0\). Always treat every occurrence of \(y\), \(y'\), or \(y''\) as a function of \(x\) when differentiating.
A Reliable Differentiation Routine
For a third implicit derivative, it helps to keep the calculation in stages rather than expanding everything at once.
For \(F(x,y)=0\), verify \(F_y\ne0\) at the point so the local function and the formulas solved for its derivatives are valid.
Differentiate \(F(x,y(x))=0\), then substitute the point to calculate \(y'\).
Differentiate the first relation, substitute known values, and solve for \(y''\).
Apply the chain rule to partial derivatives and the product rule to all products involving \(y'\) and \(y''\).
Substitute the point, \(y'\), and \(y''\), solve for \(y'''\), and insert the result back into the differentiated equation.
Why This Method Is Useful
Repeated implicit differentiation gives derivative information without requiring an explicit formula for \(y\). This is useful when an equation defines a local branch naturally but solving for \(y\) would be awkward or would obscure which branch is being considered. The second and third derivatives describe how the slope changes along that branch; the same process extends to higher derivatives when the relation is sufficiently smooth.
The main discipline is to preserve the dependence \(y=y(x)\) at every step. Before substituting numerical values, write the full differentiated equation. Doing so keeps chain-rule terms visible, makes coefficients easier to check, and helps distinguish a genuine derivative from an expression that has accidentally treated \(y\) as constant.
Check Your Understanding
For each question, keep all derivative terms until the relevant differentiation is complete.
- For \(x^2+y^2=c\), what condition on \(y\) allows the local implicit branch to be solved for its derivatives using division by \(F_y\)?
- When differentiating \(F_{xy}y'\), which three terms result after applying the chain and product rules?
- Explain why differentiating \(y(y')^2\) produces a term involving \((y')^3\) and another involving \(y y'y''\).
- For the relation \(x^2+xy+y^2=7\) at \((1,2)\), substitute \(y'=-4/5\), \(y''=-42/125\), and \(y'''=-378/3125\) into the differentiated third-derivative relation to verify the result.
- What term is omitted by the incorrect calculation \(D(y y'')=y y'''\), and what rule supplies it?