Mathematics 265 Introduction to Calculus I

Study Guide :: Unit 4

Differentiation

Implicit Differentiation

Prerequisites

To complete this section, you must be able to

  1. apply the vertical line test. See page 13 of the textbook.
  2. apply the relations between the slopes of parallel lines and the slopes of perpendicular lines. See the section titled “Parallel and Perpendicular Lines,” pages 348-349 of the textbook. Do Exercises 35, 36 and 58 on pages 349-350.

At this point, we want to consider curves that do not correspond to a function. By the vertical line test, such curves can be circles, ellipses or cardiods (see Exercise 27 on page 189 of the textbook). These curves are given by equations; for example the equation ( x - k ) 2 + ( y - l ) 2 = r 2 corresponds to a circle with centre at ( k , l ) and radius r . Such curves have tangent lines at some points, and we want to find the slopes of these tangent lines. But the slopes of tangent lines are given by the derivative, and differentiation is defined only for functions. One way to overcome this problem would be to decompose the curve into parts or pieces such that each piece corresponds to a function, and then differentiate.

Observe, on page 182 of the textbook, how by solving for y in the equation x 2 + y 2 = 2 5 , we can decompose the circle into an upper and a lower half-circle, each represented by a function:

f ( x ) = 2 5 - x 2 and  g ( x ) = - 2 5 - x 2 .

Then,

x 2 + ( f ( x ) ) 2 = 2 5  and  x 2 + ( g ( x ) ) 2 = 2 5 .

We can differentiate these functions:

f ( x ) = - x 2 5 - x 2  and  g ( x ) = x 2 5 - x 2 .

The slope of the tangent line at the point ( 3 , 4 ) in the upper half-circle is

f ( 3 ) = - 3 4 ;

and the tangent at the point ( 3 , - 4 ) in the lower half-circle is

g ( 3 ) = 3 4 .

We can see that f ( 5 ) and f ( - 5 ) are undefined; that is, the tangent lines at ( 5 , 0 ) and ( - 5 , 0 ) are vertical.

Figures 2 and 3 on page 183 of the textbook show the graph of the curve x 3 + y 3 = 6 x y , and its decomposition into different pieces, each of which corresponds to a function.

The problem here is that, explicitly to find the functions that correspond to each piece, we would have to solve for y in the equation x 3 + y 3 = 6 x y , and this is not an easy task. However, we can assume that it can be done, since we have the pieces that show that there are functions corresponding to these curves.

So we say that these functions are implicit in the equation; that is, we can interpret the equation to mean that y = f ( x ) for some function f ( x ) , and x 3 + ( f ( x ) ) 3 = 6 x ( f ( x ) ) .

To differentiate with respect to x , we can apply the differentiation rules, so that

3 x 2 + 3 ( f ( x ) ) 2 f ( x ) = 6 x ( f ( x ) ) + 6 f ( x ) = 6 ( x f ( x ) + f ( x ) ) .

Since y = f ( x ) and y = f ( x ) , we conclude that

3 x 2 + 3 y 2 y = 6 ( x y + y ) ,

and we can solve for y :

3 y 2 y - 6 x y = 6 y - 3 x 2  and  y ( 3 y 2 - 6 x ) = 3 ( 2 y - x 2 ) .

Therefore,

y = 2 y - x 2 y 2 - 2 x .

The point ( 3 , 3 ) is on the curve, because 3 3 + 3 3 = 6 ( 3 ) ( 3 ) , and for x = 3 , y = 3 , the derivative at ( 3 , 3 ) is

y = 2 ( 3 ) - 3 2 3 2 - 2 ( 3 ) = - 1 ,

so the slope of the tangent line at the point ( 3 , 3 ) is - 1 .

In the same manner, you can verify that

  • the point 8 3 , 4 3 is on the curve, and
  • for x = 8 3  and  y = 4 3 ,

    y = 2 4 3 - 8 3 2 4 3 2 - 2 8 3 = 5 4 .

The slope of the tangent line at the point 8 3 , 4 3  is  5 4 .

So, by implicitly differentiating the equation (by assuming that y = f ( x ) ), we solved the problem without having to find explicitly the function that corresponds to the curve that passes through the designated point.

Example 4.58. An astroid is shown in Exercise 28 on page 187 of the textbook; its equation is x 2 3 + y 2 3 = 4 .

As before, if we assume that y = f ( x ) , then the equation is

x 2 3 + ( f ( x ) ) 2 3 = 4 ,

and by the differentiation rules,

2 3 x - 1 3 + 2 3 ( f ( x ) ) - 1 3 f ( x ) = 0 .

Replacing y = f ( x ) and y = f ( x ) , we obtain

2 3 x - 1 3 + 2 3 y - 1 3 y = 0 ,

and solving for y yields

y = - y 1 3 x 1 3 = - y x 3 .

The points ( 0 , 8 ) and ( 8 , 0 ) are on the curve. For x = 0 and y = 8 , we know that y is undefined, because there is no tangent line at this point. For x = 8 and y = 0 , we know that y = 0 , so the tangent line is horizontal. Examine the curve and convince yourself that this is indeed the case.

Example 4.59. If we are careful to remember that y = f ( x ) , we may not need to replace y by f ( x ) in an equation, and we may be able to differentiate without mistakes.

In the equation x 4 + x y 4 = x  sin  y ,  we differentiate, obtaining

4 x 3 + y 4 + 4 x y 3 y = sin  y + x y cos  y .

Solving for y yields

y = sin  y - 4 x 3 - y 4 4 x y 3 - x  cos  y .

Families of similar curves are represented by equations that differ only by a constant. For example, circles with centre at the origin ( 0 , 0 ) , and radii 1 and 2 have equations x 2 + y 2 = 1 and x 2 + y 2 = 4 , respectively. In general, the family of circles with centre at the origin and different radii r is represented by the equation x 2 + y 2 = r 2 for any positive real number r .

Definition 4.9. Two curves are orthogonal if at each point of intersection their tangent lines are perpendicular.

Two families of curves have orthogonal trajectories if each curve in one family is orthogonal to every curve in the other family.

Example 4.60. To show that the curves represented by the equations 3 x 2 + 2 y 2 = 5 and y 3 = x 2 are orthogonal, we must first find their points of intersection by solving the two equations simultaneously.

Substituting x 2 = y 3 into the other equation, we obtain 3 y 3 + 2 y 2 = 5 ; hence, y 2 ( 3 y + 2 ) = 5 . Since 5 = 3 + 2 , we find that y = 1 is a solution of this equation (there might be others, but we do not need them at this time).

So, if y = 1 then x 2 = y 3 = 1 ; and therefore, x = 1 and x = - 1 . The points of intersection are ( 1 , 1 ) and ( - 1 , 1 ) .

Now we have to see whether the slopes of the tangent lines at these points are perpendicular. Implicitly differentiating both equations and solving for y :

6 x + 4 y y = 0  and  y = - 6 x 4 y = - 3 x 2 y . (1)

3 y 2 y = 2 x  and  y = 2 x 3 y 2 . (2)

For x = 1 and y = 1 , the slope of the tangent line of the curve in ( 1 ) is y = - 3 2 , and the slope of the tangent line of the curve in ( 2 ) is y = 2 3 . Therefore, the tangent lines are perpendicular at ( 1 , 1 ) .

For x = - 1 and y = 1 , we have y = 3 2 in ( 1 ) and y = - 2 3 in ( 2 ).

Therefore, the tangent lines are also perpendicular at ( - 1 , 1 ) , and the curves are orthogonal.

Example 4.61. To see if the families of parabolas x = a y 2 and ellipses 2 x 2 + y 2 = 2 b have orthogonal trajectories, we need to see if the slopes of the tangent lines are perpendicular. Implicitly differentiating both equations and solving for y yields

1 = 2 a y y  and  y = 1 2 a y . (1)

4 x + 2 y y = 0  and  y = - 2 x y . (2)

Now observe that from the equation x = a y 2 = ( a y ) y , we have a y = x y ; hence, in ( 1 ), we have y = y ( 2 x ) .

The slopes of the tangent lines of the curves are y = y ( 2 x ) and y = - 2 x y ; hence, the tangent lines are perpendicular, and the curves have orthogonal trajectories.

Exercises
  1. Do the odd-numbered exercises from 5 to 19 on pages 186-187 of the textbook.
  2. Read Examples 1 and 2 on pages 183-184.
  3. Do Exercises 25 and 27 on page 187.
  4. Use Definition 4.9, above, to do Exercise 41 on page 187.
  5. Read Example 4 on page 186 of the textbook.
  6. Do Exercises 45 and 47 on page 188.

Answers to Exercises