← Back to all lessons
Class 12Calculus10:43Published 4 Aug 2024

Derivatives of Implicit Functions

Learn how to differentiate implicit functions, where x and y are mixed together in one equation, and find dy/dx step by step.

This Class 12 lesson explains how to find the derivative of an implicit function, an equation that mixes x and y together rather than giving y on its own. It walks through the general method: differentiate every term with respect to x, add dy/dx wherever you differentiate a y term, then gather the dy/dx terms and solve. Three worked examples build up from a simple polynomial to a problem that needs algebraic simplification before differentiating.

What you'll learn

  • What makes a function implicit and how it differs from an explicit one
  • The step by step method for finding dy/dx by differentiating both sides
  • How to use the product rule and chain rule on mixed x and y terms
  • How to simplify a tricky equation with square roots before differentiating

Lesson chapters

0:06What implicit functions are
1:09The steps for finding dy/dx
3:12Example: polynomial in x and y
4:57Example: fractional powers
8:05Example: square roots, simplify first

Lesson notes

This lesson covers how to differentiate implicit functions, equations where xx and yy appear mixed together, and find dydx\tfrac{dy}{dx}. It works through the general method and three examples of increasing difficulty.

What is an implicit function

An implicit function is one whose equation contains terms in both xx and yy, rather than yy written on its own. For example:

x2+xy+y2=100x^2 + xy + y^2 = 100

x+2y=y2+3x3x + 2y = y^2 + 3x^3

The method

To find dydx\tfrac{dy}{dx} for an implicit function:

  • Differentiate each term with respect to xx, and whenever you differentiate a term in yy, multiply by dydx\tfrac{dy}{dx}.
  • Collect all the dydx\tfrac{dy}{dx} terms on the left and transpose the remaining terms to the right.
  • Solve for dydx\tfrac{dy}{dx}.

Example 1: a polynomial in x and y

Find dydx\tfrac{dy}{dx} for x2+xy+y2=100x^2 + xy + y^2 = 100.

Differentiate each term with respect to xx, using the product rule on xyxy:

2x+(y+xdydx)+2ydydx=02x + \left(y + x\tfrac{dy}{dx}\right) + 2y\tfrac{dy}{dx} = 0

Collect the dydx\tfrac{dy}{dx} terms on the left:

dydx(x+2y)=(2x+y)\tfrac{dy}{dx}(x + 2y) = -(2x + y)

So:

dydx=2x+yx+2y\frac{dy}{dx} = -\frac{2x + y}{x + 2y}

Example 2: fractional powers

Given x2/3+y2/3=a2/3x^{2/3} + y^{2/3} = a^{2/3}, find dydx\tfrac{dy}{dx}. Here aa is a constant.

Differentiate with respect to xx:

23x1/3+23y1/3dydx=0\tfrac{2}{3}x^{-1/3} + \tfrac{2}{3}y^{-1/3}\tfrac{dy}{dx} = 0

Divide through by 23\tfrac{2}{3} and keep the dydx\tfrac{dy}{dx} term on the left:

y1/3dydx=x1/3y^{-1/3}\tfrac{dy}{dx} = -x^{-1/3}

So:

dydx=x1/3y1/3=y1/3x1/3=yx3\frac{dy}{dx} = -\frac{x^{-1/3}}{y^{-1/3}} = -\frac{y^{1/3}}{x^{1/3}} = -\sqrt[3]{\frac{y}{x}}

Example 3: square roots, simplify first

Given x1+y+y1+x=0x\sqrt{1+y} + y\sqrt{1+x} = 0 with xyx \neq y, prove that dydx=1(1+x)2\tfrac{dy}{dx} = -\tfrac{1}{(1+x)^2}.

The key idea is to simplify and find yy in terms of xx before differentiating. Move one term to the right:

x1+y=y1+xx\sqrt{1+y} = -y\sqrt{1+x}

Square both sides to remove the roots:

x2(1+y)=y2(1+x)x^2(1+y) = y^2(1+x)

Expand and bring everything to one side:

x2y2+x2yxy2=0x^2 - y^2 + x^2 y - x y^2 = 0

Factorise. Write x2y2=(xy)(x+y)x^2 - y^2 = (x-y)(x+y) and take xyxy out of the remaining pair:

(xy)(x+y)+xy(xy)=0(x-y)(x+y) + xy(x-y) = 0

(xy)(x+y+xy)=0(x-y)(x + y + xy) = 0

Since xyx \neq y, the factor xy0x - y \neq 0, so:

x+y+xy=0x + y + xy = 0

Solve for yy by taking yy common from the last two terms:

y(1+x)=xy=x1+xy(1 + x) = -x \quad\Rightarrow\quad y = -\frac{x}{1+x}

Now differentiate using the quotient rule (denominator times derivative of numerator, minus numerator times derivative of denominator, all over the denominator squared):

dydx=(1+x)(1)x(1)(1+x)2=1(1+x)2\frac{dy}{dx} = -\frac{(1+x)(1) - x(1)}{(1+x)^2} = -\frac{1}{(1+x)^2}

as required.

Key takeaways

  • Differentiate every term with respect to xx and attach dydx\tfrac{dy}{dx} to each differentiated yy term, then solve for dydx\tfrac{dy}{dx}.
  • Use the product rule on terms like xyxy and the chain rule on powers of yy.
  • Sometimes it is easier to simplify the equation first, for instance squaring to clear roots, so you can write yy explicitly before differentiating.