Calculus · real student question

Use implicit differentiation to find dy/dx for x^3 + x^2*y + y^3 = 7.

Question

Use implicit differentiation to find dydx\dfrac{dy}{dx} for x3+x2y+y3=7.x^{3}+x^{2}y+y^{3}=7.

Step-by-step solution

  1. Decide why implicit differentiation is needed. The relation cannot be solved cleanly for yy, so instead differentiate both sides with respect to xx while treating yy as an unknown function y(x)y(x). Every appearance of yy then produces a factor dydx\frac{dy}{dx} through the chain rule.

  2. Differentiate the mixed term with the product rule. The term x2yx^{2}y is a product of two functions of xx, so ddx(x2y)=x2dydx+2xy.\frac{d}{dx}\left(x^{2}y\right)=x^{2}\frac{dy}{dx}+2xy . Forgetting the 2xy2xy half here is the most common error in this problem.

  3. Differentiate the remaining terms. The pure power gives ddx(x3)=3x2\frac{d}{dx}(x^{3})=3x^{2}; the chain rule gives ddx(y3)=3y2dydx\frac{d}{dx}(y^{3})=3y^{2}\frac{dy}{dx}; and the constant gives ddx(7)=0\frac{d}{dx}(7)=0. Putting everything together, 3x2+x2dydx+2xy+3y2dydx=0.3x^{2}+x^{2}\frac{dy}{dx}+2xy+3y^{2}\frac{dy}{dx}=0 .

  4. Collect the dy/dx terms on one side. Grouping, (x2+3y2)dydx=3x22xy.\left(x^{2}+3y^{2}\right)\frac{dy}{dx}=-3x^{2}-2xy .

  5. Solve and note where the formula fails. Dividing gives dydx=3x2+2xyx2+3y2.\frac{dy}{dx}=-\frac{3x^{2}+2xy}{x^{2}+3y^{2}} . This is valid wherever x2+3y20x^{2}+3y^{2}\ne 0, i.e. everywhere except the origin, which does not lie on the curve since 070\ne 7; so the formula holds at every point of the curve.

Answer

dydx=3x2+2xyx2+3y2\frac{dy}{dx}=-\frac{3x^{2}+2xy}{x^{2}+3y^{2}}

Need to solve a different problem like this? Open the solver →