← Back to learning objective

Implicit differentiation of an inverse-tangent/logarithmic equation

Consider the curve defined implicitly by arctan⁡(yx)=ln⁡(x2+y2).\arctan\left(\frac{y}{x}\right) = \ln(x^2+y^2). Find dydx\dfrac{dy}{dx} in terms of xx and yy.

Hint

Differentiate both sides with respect to xx. On the left, use the chain rule with ddx[arctan⁡(u)]=11+u2 u′\frac{d}{dx}[\arctan(u)] = \frac{1}{1+u^2}\,u' where u=y/xu = y/x (and use the quotient rule to find u′u'). On the right, use the chain rule with ddx[ln⁡(v)]=1vv′\frac{d}{dx}[\ln(v)] = \frac{1}{v}v' where v=x2+y2v = x^2+y^2. Then collect all terms containing dy/dxdy/dx on one side and solve for it.

Step-by-step solution

Differentiate the left side: with u=y/xu = y/x, ddxarctan⁡(u)=11+u2⋅u′\frac{d}{dx}\arctan(u) = \frac{1}{1+u^2}\cdot u', and by the quotient rule u′=y′x−yx2u' = \frac{y'x - y}{x^2}. Since 1+u2=1+y2x2=x2+y2x21+u^2 = 1+\frac{y^2}{x^2} = \frac{x^2+y^2}{x^2}, the left side becomes x2x2+y2⋅xy′−yx2=xy′−yx2+y2\frac{x^2}{x^2+y^2}\cdot\frac{xy'-y}{x^2} = \frac{xy'-y}{x^2+y^2}.

Differentiate the right side using the chain rule: ddxln⁡(x2+y2)=2x+2yy′x2+y2\frac{d}{dx}\ln(x^2+y^2) = \frac{2x+2y y'}{x^2+y^2}. Setting the two derivatives equal and noting both sides share the denominator x2+y2x^2+y^2, we get xy′−y=2x+2yy′xy' - y = 2x + 2yy'. Solving for y′y': xy′−2yy′=2x+yxy' - 2yy' = 2x + y, so y′(x−2y)=2x+yy'(x-2y) = 2x+y, giving y′=2x+yx−2yy' = \dfrac{2x+y}{x-2y}.

Common denominator shared by both sides during differentiation

Hint
Step-by-step solution

The shared denominator was x squared plus y squared. This common factor is exactly why it could be cancelled from both sides, leaving the simpler equation xy prime minus y equals two x plus two y y prime, which was then solved for dy/dx.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap