Implicit Differentiation (College Board AP® Calculus AB): Revision Note

Jamie Wood

Written by: Jamie Wood

Reviewed by: Dan Finlay

Updated on

Derivatives of implicit functions

What is an implicit function?

  • An equation in the form y=f(x) or x=f(y)is said to be written explicitly

    • E.g. y=3x2+2x3

  • Equations in terms of both x and y which cannot be written as y in terms of x are referred to as implicit functions

    • E.g. 3x27xy2=3 or x2+y2=25

    • For such an equation

      • We cannot write the relationship between x and y explicitly by expressing y as a function of x

      • But values of y satisfying the equation still depend implicitly on the values of x

What is implicit differentiation?

  • The method by which implicit functions are differentiated is known as implicit differentiation

  • To differentiate an implicit function with respect to x, each term is differentiated with respect to x

  • For terms only involving x, this is straightforward

  • However, if an expression is in terms of y, then to differentiate it with respect to x, we apply the chain rule

    • ddxf(y)=f'(y)·y'=f'(y)·dydx

    • In short, this means:

      • Differentiate the function that is in terms of y, with respect to y,

      • and then multiply it by the term dydx

  • This could also be written as

    • dudx=dudy·dydx where u is a function in terms of y

  • Once each term has been differentiated with respect to x,

    • rearrange to make dydx the subject

    • you may have to factor out dydx to do this

  • The final expression for dydx will often be in terms of both x and y

    • To then find the value of the derivative at a point, you would need the coordinates of a point (x, y) to substitute in

      • And substitute in both the x and y values

    • This is only valid if the point (x, y) lies on the curve in question

      • To check this, substitute the x and y values into the original equation of the curve, and check that the equation is satisfied

        • If it is then the point lies on the curve

        • If it is not, then the point does not lie on the curve

How do I use implicit differentiation?

  • For example, to differentiate x2+y2=4x

  • The derivative would be ddx(x2)+ddx(y2)=ddx(4x)

  • The terms that are only in terms of x are straight forward

    • 2x+ddx(y2)=4

  • Then apply the result ddxf(y)=f'(y)·dydx to the remaining term, which is in terms of y

    • 2x+(2y·dydx)=4

  • Rearrange to find an expression for dydx

    • dydx=42x2y=2xy

Worked Example

A curve is defined by the equation

4x3+2x+2y3+6y=44

(a) Verify that the point (2, 1) lies on the curve.

(b) Find the value of the derivative dydxat the point (2, 1).

Answer:

(a)

Substitute x=2 and y=1 into the left-hand side of the equation and show that the result is 44

4(2)3+2(2)+2(1)3+6(1)=32+4+2+6=44

The equation is satisfied, so the point lies on the curve

(2, 1) lies on the curve

(b)

Differentiate each term individually with respect to x

Use the result ddxf(y)=f'(y)·dydx for the y-terms

Remember that the constant 44 on the right-hand side of the equation will differentiate to zero

12x2+2+6y2·dydx+6·dydx=0

Factor out the dydx term

12x2+2+dydx(6y2+6)=0

Rearrange to make dydx the subject and simplify

dydx=12x226y2+6dydx=6x213y2+3

To find the value of the derivative at (2, 1) substitute in x=2 and y=1

dydx=6(22)13(12)+3=2416=256

The value of the derivative at (2, 1) is 256 

How can I use the chain rule and product rule with implicit differentiation?

  • Implicit differentiation may be combined with other skills including

    • Chain rule

    • Product rule

    • Quotient rule

  • If a term involves y then remember to multiply its derivative by dydx

    • For example, consider ddx(xy)

      • The product rule gives ddx(xy)=ddx(x)·y+xddx(y)

      • Which simplifies to ddx(xy)=y+xdydx

    • For example, consider ddx(sin(x+y))

      • The chain rule gives ddx(sin(x+y))=cos(x+y)·ddx(x+y)

      • Which simplifies to ddx(sin(x+y))=cos(x+y)·(1+dydx)

Worked Example

Given that x4+y3=12xy, find an expression for dydx.

Answer:

Differentiate each term individually with respect to x

Use the result ddxf(y)=f'(y)·dydx for the terms with y

4x3+3y2·dydx=ddx(12xy)

To differentiate 12xy with respect to x, use the product rule

u=12x and v=y

u'=12 and v'=1·dydx

u'v+uv'=12y+12x·dydx

So the differentiated expression is

4x3+3y2·dydx=12y+12x·dydx

Rearrange to make dydx the subject

3y2·dydx12x·dydx=12y4x3dydx(3y212x)=12y4x3dydx=12y4x33y212x

dydx=12y4x33y212x

Equivalent answers would also be correct, for example:

dydx=4x312y12x3y2

Worked Example

Find dydx given that cos(x+y)=2x2.

Answer:

Differentiate both sides with respect to x

Use the chain rule for the term cos(x+y)

The chain rule states that f(g(x)) differentiates to f'(g(x))·g'(x)

When differentiating y, remember to multiply by dydx

sin(x+y)·(ddx(x+y))=4xsin(x+y)·(1+1·dydx)=4x

Rearrange to make dydx the subject

1+dydx=4xsin(x+y)dydx=14xsin(x+y)

dydx=(1+4xsin(x+y))

Derivatives of inverse functions using implicit differentiation

How can I differentiate inverse functions using implicit differentiation?

  • Implicit differentiation provides an alternative method for finding the derivative of inverse functions

  • Consider differentiating y=sin1x

    • This can be rewritten as x=sin y

  • Differentiate using implicit differentiation

    • ddx(x)=ddx(sin y)

    • 1=cos y·dydx

  • Rearrange to make dydx the subject

    • dydx=1cos y

  • Use the identity sin2y+cos2y=1, rearranged to make cosy the subject

    • cos2y=1sin2y

    • cosy=±1sin2y

  • Therefore

    • dydx=±11sin2y

  • But x=siny, so

    • dydx=±11x2

Examiner Tips and Tricks

dydx=±11x2 is the general form of dydx when x=siny

When sin1x is defined so as to be the inverse function of sinx (in which case it is also written as arcsinx), its range is restricted to the interval [π2, π2].

With that restricted range, the derivative of the function is always positive. This is why no '±' is needed when stating the standard result

ddx(sin1x)=11x2

  • A similar method can be used to show why the derivative of ax is axln a

    • If y=ax

      • then ln y=x ln a

    • Differentiate using implicit differentiation

      • Remember that ddx(ln x)=1x and that ln a is a constant

      • 1y·dydx=ln a

    • Rearrange

      • dydx=y ln a

    • Recall that y=ax

      • dydx=ax ln a

Worked Example

Given that y=arctan x, use implicit differentiation to show that dydx=1x2+1.

Answer:

Rewrite the equation in terms of tan rather than arctan

tan y=x

Differentiate using implicit differentiation

tan y differentiates to sec2y, and remember to multiply by dydx as we are differentiating with respect to x

ddx(tan y)=ddx(x)sec2y·dydx=1

Make dydx the subject

dydx=1sec2y

Use the identity tan2y+1=sec2y

dydx=1tan2y+1

But tany=x, so

dydx=1x2+1

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Jamie Wood

Author: Jamie Wood

Expertise: Curriculum Expert

Jamie graduated in 2014 from the University of Bristol with a degree in Electronic and Communications Engineering. He has worked as a teacher for 8 years, in secondary schools and in further education; teaching GCSE and A Level. He is passionate about helping students fulfil their potential through easy-to-use resources and high-quality questions and solutions.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.