Calculus
Chapters
Implicit Differentation
Implicit Differentation
Introduction
Sometimes functions are explicit about their definitions:
Other functions are a little more coy about how you evaluate them. For example, although
implicitly
defined functions. This article talks about
how to differentiate them, using a technique that's, oddly enough, called implicit differentiation.
Let's start by thinking about a useful real world problem that you probably won't find in your maths textbook.
Alice the cow is a bit of a pig. She's decided to see how quickly she can guzzle grass from Farmer Hogg's field.
Alice has worked out that the amount of grass she can guzzle at time \(t\) minutes is determined by the implicitly defined formula
\(x^2t + 2tx = 19\),
and wants to find her rate of grass consumption after \(t = 3 \text{ minutes}\).To find this rate, Alice will need to differentiate her function. But there's a problem: the function is defined implicitly, and standard differentiation techniques won't work. Let's find out how Alice can differentiate her function. We'll start out with some other examples, and come back to Alice later.
How Do We Implicitly Differentiate?
- Differentiate both sides of the equation with respect to \(x\). Remember: \(y\) is a function of \(x\), and its derivative is \(\dfrac{dy}{dx}\).
- Pull all the \(\dfrac{dy}{dx}\)s onto one side of the equation (doesn't matter which).
- Solve for \(\dfrac{dy}{dx}\).
Example:
Find \(\dfrac{dy}{dx}\) if \(x^3 + \sin(y) = 17\).
Walk along the equation, differentiating as you go, remembering that \(y\) is a function of \(x\), and its derivative is \(\dfrac{dy}{dx}\):
- \(\dfrac{d}{dx} (x^3) = 3x^2 \) by the Power Rule.
- \(\dfrac{d}{dx}(\sin (y)) = \cos(y)\;\dfrac{dy}{dx}\) by the Chain Rule (see the explanation below).
- \(\dfrac{d}{dx}(17) = 0\) as \(17\) is a constant.
Using the Chain Rule to Differentiate Functions of \(y\)
One thing you absolutely have to remember is that \(y\) is a function of \(x\), with derivative \(\dfrac{dy}{dx}\), so you need to use the chain rule to differentiate functions of \(y\).
Let's work through how \(\sin(y)\) becomes \(\cos(y)\;\dfrac{dy}{dx}\) in the above example.
We'll start by recalling the chain rule using Leibniz's notation:
To oversimplify things (but it works): differentiate with respect to \(y\), and multiply the result by \(\dfrac{dy}{dx}\).
Another Example
Sometimes we need to use the product rule when we're differentiating implicitly. Let's try differentiating the function
Walk along the equation, differentiating as you go, remembering that \(y\) is a function of \(x\), and its derivative is \(\dfrac{dy}{dx}\):
Now we know enough to help Alice.
Let's Solve Alice's Problem
Remember, Alice wants to know how quickly she can guzzle grass from Farmer Hogg's field. Her grass consumption at time \(t\) is given by the equation \(x^2 t + 2tx = 19\), and Alice wants to know how quickly she'll be guzzling grass after \(t = 3\) minutes. This looks like a job for implicit differentiation.
Walk along the equation, differentiating as you go, remembering that \(x\) is a function of \(t\), and its derivative is \(\dfrac{dx}{dt}\):
Another application of the derivative
Example
What is the slope of the tangent to the circle, \(x^2 + y^2 = 4 \) at the point \((1,\sqrt{3})\)?
We need to find \(\dfrac{dy}{dx}\). Start by differentiating implicitly:
\( \begin{align*} \dfrac{d}{dx}(x^2) + \dfrac{d}{dx}(y^2) &= \dfrac{d}{dx}(4)\\ 2x + 2y \;\dfrac{dy}{dx} &= 0\\ 2x &= - 2y \;\dfrac{dy}{dx}\\ \dfrac{dy}{dx} &= -\dfrac{2x}{2y}\\ &= -\dfrac{x}{y}. \end{align*} \)
Now substitute our point into the equation for the derivative to yield:
\( \begin{align*} \dfrac{dy}{dx} = -\dfrac{1}{\sqrt{3}}. \end{align*} \)
Now, plug the point \((1,\sqrt{3})\) into the equation \(y = -\dfrac{1}{\sqrt{3}} \;x + b\) to find \(b = \dfrac{4}{\sqrt{3}}\).
So, the equation of the tangent line is \(y = -\dfrac{1}{\sqrt{3}}\;x + \dfrac{4}{\sqrt{3}}\).
Using Implicit Differentiation to Differentiate Inverse Functions
We follow the following steps:
- Start with the inverse function in explicit form, e.g. \(y = \cos^{-1}(x)\)
- Rewrite it in implicit form, e.g. \(x = \cos(y)\). In other words, get rid of the inverse function.
- Differentiate implicitly (e.g. see below)
- Solve for \(\dfrac{dy}{dx}\)
- Simplify, if necessary.
Example:
Find the derivative of \(y = \cos^{-1}(x)\)
- Start with \(y = \cos^{-1}(x)\)
- Get rid of the inverse: \(x = \cos(y)\)
- Differentiate implicitly:
\(\begin{align*} \dfrac{d}{dx}(x) &= \dfrac{d}{dx}(\cos(y))\\ 1 &= -\sin(y)\; \dfrac{dy}{dx} \text{ by the chain rule}\\ \end{align*} \) - Solve for \(\dfrac{dy}{dx}\): \(\dfrac{dy}{dx}= -\dfrac{1}{\sin(y)}\)
We can simplify this further, using \(\sin^2 y + \cos^2 y = 1\), which gives \(\sin(y)= \sqrt{1 - \cos^2 y} = \sqrt{1 - x^2}\).
Plugging this in gives:
\( \dfrac{dy}{dx} = - \dfrac{1}{\sqrt{1 - x^2}},\)
which should look familiar from our rules of derivatives article.
One last example:
Example:
Find the derivative of \(y = \ln(x)\)
- Start with \(y = \ln(x)\)
- Get rid of the inverse: \(x = e^y\)
- Differentiate implicitly: \(\begin{align*} \dfrac{d}{dx}(x) &= \dfrac{d}{dx}(e^y)\\ 1 &= e^{y}\; \dfrac{dy}{dx} \text{ by the chain rule}\\ \end{align*} \)
- Solve for \(\dfrac{dy}{dx}\): \(\dfrac{dy}{dx}= \dfrac{1}{e^y} = \dfrac{1}{x},\)
which should also be very familiar from our rules of derivatives article.
Things to Remember
To differentiate implicitly defined functions:
- Differentiate both sides of the equation with respect to \(x\). Remember: \(y\) is a function of \(x\), and its derivative is \(\dfrac{dy}{dx}\).
- Solve for \(\dfrac{dy}{dx}\).
To find the derivatives of inverse functions, rewrite \(x\) as a function of \(y\) and differentiate implicitly.
Description
Calculus is the branch of mathematics that deals with the finding and properties of derivatives and integrals of functions, by methods originally based on the summation of infinitesimal differences. The two main types are differential calculus and integral calculus.
Environment
It is considered a good practice to take notes and revise what you learnt and practice it.
Audience
Grade 9+ Students
Learning Objectives
Familiarize yourself with Calculus topics such as Limits, Functions, Differentiability etc
Author: Subject Coach
Added on: 23rd Nov 2017
You must be logged in as Student to ask a Question.
None just yet!