What is implicit differentiation and how does it work?

calculus High School math
By Jane

Math-4One topic that seemed a bit mysterious and magic to me when I first learned calculus was implicit differentiation. In this post, we’ll start by reviewing some examples of implicit differentiation and then discuss why implicit differentiation works.

An example

In an implicit differentiation problem, you’re generally given an equation involving x and y such as

Screen Shot 2020-02-06 at 4.21.35 PM

Then, you’re asked to find the derivative of y with respect to x. One way to do this is to solve for y with respect to x and then take the derivative normally. Another way is via implicit differentiation by differentiating both sides with respect to x.

Doing so, we get:

Screen Shot 2020-02-06 at 4.22.16 PM

What happened here? On the right-hand side, the derivative of x with respect to x is just 1. Using the chain rule on the left-hand side, the derivative of sin(x + y) is cos(x + 1) • (d/dx)(x + y). The derivative of x with respect to x is 1, while the derivative of y with respect to x is unknown, so we just leave it as dy/dx.

Then, we solve for dy/dx to get that:

When might we want to use implicit differentiation? Implicit differentiation is super useful when you want to find the derivative dy/dx, but x and y are not related in a simple manner like y = ƒ(x). Rather, x and y might be related by some more complicated expression like sin(x + y) = x where it might be tricky to write y in terms of x.

This is the prime time to use implicit differentiation because it allows us to go straight to differentiating both sides rather than worry about isolating y, which could be difficult.

What is the intuition behind implicit differentiation?

Let’s explore the idea behind implicit differentiation via an example. Suppose that we have the equation of a circle of radius 5,

Screen Shot 2020-02-06 at 4.24.02 PM
Further suppose that we're trying to find the slope of the tangent line of the circle at a point (x,y) on the circle. How might we do this? Well, the slope of the tangent line at (x,y) is exactly dy/dx at (x,y).
 
To find dy/dx, we're going to use implicit differentiation. The idea here is that we want dy/dx, the rate of change of y with respect to x. In our equation for the circle, x and y are not independent. As x changes, y must also change for the equation x2 + y2 = 25 to continue to hold. dy/dx measures the rate at which y changes when x changes, and will vary depending on what point (x,y) we are currently at.
 
The key behind implicit differentiation is to remember that having an equation like x2 + y2 = 25 means that the left-hand and right-hand sides are always equal. Therefore, if we ask for how much the left-hand side changes when we vary x versus how much the right-hand side changes when we vary x, they must be the same.
 

In other words, we can take the derivatives of both sides with respect to x and these derivatives must always be the same.

When we take (d/dx)(x2 + y2), we're seeing our first glimpses of multivariable calculus. That is, we're thinking of x2 + y2 as a function of both x and y and taking the derivative of this multivariable function with respect to x. In other words, we are asking: how does the function x2 + y2 change as we vary x?

The one complicating factor is that we also have to remember that y has a dependence on x when we take the derivative. Let's try taking this derivative. Breaking up x2 + y2 into parts, we see by ordinary differentiation that take (d/dx)(x2) = 2x. To find (d/dx)(y2), we need to remember that y is secretly a function of x. This is like writing y = ƒ(x) and finding the derivative of (ƒ(x))2 with the chain rule to be 2(ƒ(x))ƒ'(x). Thus, we get the following:

The derivative of the right-hand side with respect to x is (d/dx)(25) = 0. Putting this all together, we get:
 
 
And rearranging gives us:
 

So if we wanted the slope of the tangent line of the circle of radius 5 at the point (3,4) for example, we could use the derivative that we just found to get that the slope of the tangent line there is -4/3.

In conclusion

Implicit differentiation is a super important tool when finding derivatives when x and y are related not by y=f(x) but by a more complicated equation. By remembering that two sides of an equation are always equal and therefore their derivatives with respect to x must be equation, and remembering that y depends on x, we can carefully take derivatives of both sides with respect to x, rearrange, and then solve for

Screen Shot 2020-02-06 at 4.28.39 PM

This allows us to find derivatives even in cases when it’s hard to write y as a function of x.

Comments

topicTopics
academics study skills MCAT medical school admissions SAT expository writing English college admissions GRE MD/PhD admissions GMAT LSAT chemistry strategy math writing physics ACT biology language learning graduate admissions law school admissions test anxiety MBA admissions homework help creative writing interview prep AP exams MD study schedules summer activities history academic advice career advice philosophy premed personal statements secondary applications computer science organic chemistry ESL PSAT economics grammar admissions coaching law statistics & probability psychology SSAT covid-19 legal studies 1L CARS logic games Spanish USMLE calculus dental admissions parents reading comprehension research Latin engineering verbal reasoning DAT excel political science French Linguistics Tutoring Approaches chinese mathematics DO MBA coursework Social Advocacy academic integrity case coaching classics diversity statement genetics geometry kinematics medical school skills Common Application IB exams ISEE MD/PhD programs PhD admissions algebra athletics biochemistry business business skills careers data science letters of recommendation mental health mentorship social sciences software engineering test prep trigonometry work and activities 2L 3L Anki EMT English literature FlexMed Fourier Series Greek Italian Pythagorean Theorem STEM Sentence Correction Zoom algorithms amino acids analysis essay architecture art history artificial intelligence astrophysics cantonese capital markets cell biology central limit theorem chemical engineering chromatography climate change clinical experience cold emails constitutional law curriculum dental school distance learning enrichment european history finance first generation student fun facts functions gap year harmonics health policy history of medicine history of science information sessions institutional actions integrated reasoning intern international students internships investing investment banking logic mandarin chinese mba meiosis mitosis music music theory neurology operating systems phrase structure rules plagiarism poetry pre-dental presentations proofs pseudocode quantitative reasoning school selection simple linear regression sociology software study abroad teaching tech industry transfer typology units virtual interviews writing circles