← Back to learning objective

Implicit differentiation of tan(y) = x^2 + y

Consider the equation tan⁡(y)=x2+y\tan(y) = x^2 + y which defines yy implicitly as a function of xx. Use implicit differentiation to find dydx\dfrac{dy}{dx}.

Hint

Differentiate both sides with respect to xx. On the left, use the chain rule: ddx[tan⁡(y)]=sec⁡2(y)⋅dydx\dfrac{d}{dx}[\tan(y)] = \sec^2(y)\cdot \dfrac{dy}{dx}. Then collect all terms containing dydx\dfrac{dy}{dx} on one side and factor.

Step-by-step solution

Differentiate both sides of tan⁡(y)=x2+y\tan(y) = x^2 + y with respect to xx. The left side requires the chain rule since yy is a function of xx: ddx[tan⁡(y)]=sec⁡2(y)⋅dydx\dfrac{d}{dx}[\tan(y)] = \sec^2(y)\cdot \dfrac{dy}{dx}. The right side differentiates term by term: ddx[x2+y]=2x+dydx\dfrac{d}{dx}[x^2 + y] = 2x + \dfrac{dy}{dx}. This gives the equation sec⁡2(y)⋅dydx=2x+dydx\sec^2(y)\cdot \dfrac{dy}{dx} = 2x + \dfrac{dy}{dx}.

Now collect all terms containing dydx\dfrac{dy}{dx} on one side: sec⁡2(y)⋅dydx−dydx=2x\sec^2(y)\cdot \dfrac{dy}{dx} - \dfrac{dy}{dx} = 2x. Factor out dydx\dfrac{dy}{dx} to get dydx(sec⁡2(y)−1)=2x\dfrac{dy}{dx}\left(\sec^2(y) - 1\right) = 2x. Solving for dydx\dfrac{dy}{dx} gives dydx=2xsec⁡2(y)−1\dfrac{dy}{dx} = \dfrac{2x}{\sec^2(y) - 1}, which can also be written as 2xtan⁡2(y)\dfrac{2x}{\tan^2(y)} using the identity sec⁡2(y)−1=tan⁡2(y)\sec^2(y) - 1 = \tan^2(y).

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap