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 college admissions English MD/PhD admissions strategy writing LSAT GMAT GRE physics chemistry math biology graduate admissions academic advice ACT interview prep law school admissions test anxiety language learning premed MBA admissions career advice personal statements homework help AP exams creative writing MD study schedules computer science test prep Common Application summer activities history mathematics philosophy organic chemistry secondary applications economics supplements research 1L PSAT admissions coaching grammar law psychology statistics & probability legal studies ESL CARS SSAT covid-19 dental admissions logic games reading comprehension engineering USMLE calculus PhD admissions Spanish mentorship parents Latin biochemistry case coaching verbal reasoning DAT English literature STEM excel medical school political science skills AMCAS French Linguistics MBA coursework Tutoring Approaches academic integrity chinese letters of recommendation Anki DO Social Advocacy admissions advice algebra artificial intelligence astrophysics business cell biology classics diversity statement gap year genetics geometry kinematics linear algebra mechanical engineering mental health presentations quantitative reasoning study abroad technical interviews time management work and activities 2L DMD IB exams ISEE MD/PhD programs Sentence Correction adjusting to college algorithms amino acids analysis essay art history athletics business skills careers cold emails data science dental school finance first generation student functions information sessions international students internships logic networking poetry resume revising science social sciences software engineering tech industry trigonometry writer's block 3L AAMC Academic Interest EMT FlexMed Fourier Series Greek Health Professional Shortage Area Italian Lagrange multipliers London MD vs PhD MMI Montessori National Health Service Corps Pythagorean Theorem Python Shakespeare Step 2 TMDSAS Taylor Series Truss Analysis Zoom acids and bases active learning architecture argumentative writing art art and design schools art portfolios bacteriology bibliographies biomedicine brain teaser campus visits cantonese capacitors capital markets central limit theorem centrifugal force chemical engineering chess chromatography class participation climate change clinical experience community service constitutional law consulting cover letters curriculum dementia demonstrated interest dimensional analysis distance learning econometrics electric engineering electricity and magnetism escape velocity evolution executive function freewriting genomics graphing harmonics health policy history of medicine history of science hybrid vehicles hydrophobic effect ideal gas law immunology induction infinite institutional actions integrated reasoning intermolecular forces intern investing investment banking lab reports linear maps mandarin chinese matrices mba medical physics meiosis microeconomics mitosis mnemonics music music theory nervous system neurology neuroscience object-oriented programming office hours operating systems