Implicit Differentiation

I discovered in doing next week’s post that I apparently never wrote about implicit differentiation. So here goes – an extra post this week!

Implicit Differentiation

The technique of implicit differentiation allows you to find slopes of relations given by equations that are not written as functions, or may even be impossible to write as functions.

Example 1: A good way to start investigating this idea is to give your class the equation of a circle, say {{x}^{2}}+{{y}^{2}}=25 and ask them to find the slope of the tangent line (the derivative) where x = 3. No hints, just let them try.

Most students will hit upon solving for y and then differentiating:

y=\pm \sqrt{{25-{{x}^{2}}}}

\displaystyle \frac{{dy}}{{dx}}=\frac{{-2x}}{{\pm 2\sqrt{{25-{{x}^{2}}}}}}=\frac{{-x}}{{\pm \sqrt{{25-{{x}^{2}}}}}}

There are two points where x = 3: (3, 4) and (3, –4) at the first point the slope is – ¾ and at the second ¾.

Then show them another way – implicit differentiation.

To use this technique, assume that y is a function of x, but do not bother to find that function. Then using the chain rule on any terms containing a y. For{{x}^{2}}+{{y}^{2}}=25 , we have

\displaystyle 2x+2y\frac{{dy}}{{dx}}=0

Then solve for the derivative

\displaystyle \frac{{dy}}{{dx}}=-\frac{x}{y}

We see that this is the same as we found the first time, since y=\pm \sqrt{{25-{{x}^{2}}}}! There is a slight advantage here: we can now find the slopes from the coordinates without solving or dealing with the plus/minus sign. *


Example 2:Now let’s consider a more difficult example. Find the derivative of {{x}^{2}}+4{{y}^{2}}=7+3xy. To solve for y here is possible but somewhat difficult (Hint: use the quadratic formula). We can continue writing {y}' for dy/dx.


Note that the last term on the right is differentiated using the product rule.  Since this happens fairly often, students need to be reminded of it.

Now solving for {y}'gives

\displaystyle {y}'=\frac{{3y-2x}}{{8y-3x}}

Then we can find the derivatives at specific points by substituting the coordinates of the point. At the point (3,2) on the curve, the slope is \displaystyle {y}'=\frac{{3\left( 2 \right)-2\left( 3 \right)}}{{8\left( 2 \right)-3\left( 3 \right)}}=\frac{0}{7}=0

Note: the derivative of an implicit relation usually involves both the x and y coordinates.

Second Derivatives

This idea can be repeated to find second and higher derivatives.

Example 1 continued:In the first example with \displaystyle \frac{{dy}}{{dx}}=\frac{{-x}}{y}  we differentiate using the quotient rule:

\displaystyle  {{y}'}'=\frac{{y(-1)-(-x){y}'}}{{{{y}^{2}}}}

The second derivative is a function, not just of x and y, but also of {y}'. We can replace it with the first derivative and simplify.

\displaystyle  {{y}'}'=\frac{{-y+x\left( {\frac{{-x}}{y}} \right)}}{{{{y}^{2}}}}=\frac{{-{{y}^{2}}-{{x}^{2}}}}{{{{y}^{3}}}}=-\frac{{25}}{{{{y}^{3}}}}

(This might be a good time to do a quick review of simplifying complex fractions; they occur often in implicit differentiation problems.)

To find the value of the second derivative at a given point we can substitute into either of the two expressions above. At (3, –4) where the derivative has been previously found to be ¾ we have \displaystyle  {{y}'}'=\frac{{y(-1)-(-x){y}'}}{{{{y}^{2}}}}=\frac{{\left( {-4} \right)\left( {-1} \right)-\left( {-3} \right)\left( {\frac{3}{{-4}}} \right)}}{{{{{\left( {-4} \right)}}^{2}}}}=-\frac{{-16-9}}{{-48}}=\frac{{25}}{{48}}

Or we can use the second form

\displaystyle {{y}'}'=-\frac{{25}}{{{{y}^{3}}}}=-\frac{{25}}{{{{{\left( {-4} \right)}}^{3}}}}=\frac{{25}}{{48}}

Example 2 continued: The second example was taken from an AB Calculus exam (2004 AB 4). The first part gave the first derivative and asked students to show that it was correct. This was done (instead of just asking the students to find the first derivative) so that students would be sure to have the correct derivative to use later in the question.

The second part asked student to show that the tangent line is horizontal at the point where x = 3. This included finding the coordinates of the point, (3, 2) and showing that it is on the curve.

The third part of the question asked students to determine whether the point from part (b) was a relative maximum, a relative minimum or neither, and to justify their answer. Since there is no way to determine how the sign of the first derivative changes at the point the First Derivative Test cannot be used. Likewise, the Candidates’ Test (a/k/a the closed interval test) cannot be used without solving for y, and determining the domain of each part. That leaves the Second Derivative Test as the easiest choice.

\displaystyle {y}'=\frac{{3y-2x}}{{8y-3x}}  at (3,2) \displaystyle {y}'=\frac{{3\left( 2 \right)-2\left( 3 \right)}}{{8\left( 2 \right)-3\left( 3 \right)}}=0

\displaystyle {{y}'}'=\frac{{\left( {8y-3x} \right)\left( {3{y}'-2} \right)-\left( {3y-2x} \right)\left( {8{y}'-3} \right)}}{{{{{\left( {8y-3x} \right)}}^{2}}}}

Substituting the values into this without doing the algebra to remove the first derivative gives

\displaystyle \begin{array}{l}{{y}'}'=\frac{{\left( {8\left( 2 \right)-3\left( 3 \right)} \right)\left( {0-2} \right)-\left( {3\left( 2 \right)-2\left( 3 \right)} \right)\left( {8\left( 0 \right)-3} \right)}}{{{{{\left( {8\left( 2 \right)-3\left( 3 \right)} \right)}}^{2}}}}=\frac{{\left( {16-9} \right)\left( {-2} \right)-0}}{{{{{\left( {16-9} \right)}}^{2}}}}=-\frac{2}{7}\\\end{array}

So, the point (3, 2) is a relative maximum.

The graph of the relation, an ellipse is shown below.


* Incidentally, there is another clever way of doing example 1: The radius to any point on a circle centered at the origin has a slope of y/x.  Since tangents to circles are perpendicular to the radii drawn to the point of tangency, the slope of the tangent must be –x/y.








Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s