Section 2.5 – Implicit Differentiation Explicit Equations The functions that we have differentiated and handled so far can be described by expressing one variable explicitly in terms of another variable. For example: y x 1 3 Or, in general, y = f(x). y x sin x Implicit Equations Some functions, however, are defined implicitly ( not in the form y = f(x) ) by a relation between x and y such as: Can we take the derivative of these functions? x y 25 2 2 It is possible to solve some Implicit Equations for y, then differentiate: x y 25 y 2 25 x 2 2 y 25 x 2 2 x y 6xy 3 3 Yet, it is difficult to rewrite most Implicit Equations explicitly. Thus, we must be introduced to a new technique to differentiate these implicit functions. White Board Challenge Solve for y: xy y x 3 y 6 x 8 2 y x 6 x 8 x4 2 *Reminder* Technically the Chain Rule can be applied to every derivative: 3 dy dx yx 3 d dx x f u u u x 2 f ' u 3u u' 1 3 dy dx 3u 1 2 3x 2 Derivatives Involving the Dependent Variable (y) Find the derivative of each expression y a. d dx y y' dy dx b. The derivative of y with respect to x is… y 3 The Chain Rule is Required. d dx y 3 y u u f u of the derivative dy 2 y. f ' u 3u u' dx 3 2 dy d This is another dx y 3u dx way to write y 2 dy prime. 3y dx 3 Instructions for Implicit Differentiation If y is an equation defined implicitly as a differentiable function of x, to find the derivative: 1. Differentiate both sides of the equation with respect to x. (Remember that y is really a function of x for part of the curve and use the Chain Rule when differentiating terms containing y) 2. Collect all terms involving dy/dx on the left side of the equation, and move the other terms to the right side. 3. Factor dy/dx out of the left side 4. Solve for dy/dx Example 1 If y f x is a differentiable function of x such that x 2 y 2y 3 3x 2y find dy . dx 2 3 d Differentiate x y 2y dxd 3x 2y dx both sides. Product AND Constant Multiple Rules 2 3 d x y 2y dx 3x dxd 2y x 2 dxd y y dxd x 2 2 dxd y 3 3 dxd x 2 dxd y d dx Chain Rule 3 u f u f ' u 3u 2 d dx uy u' dy dx dy dy dy x 2 dx y 2x 2 3u2 dx 3 1 2 dx dy 2 dy 2 dy x 2xy 6y 3 2 dx dx dx dy dy dy 2 2 Solve for dy/dx x 6y dx 2 dx 3 2xy dx dy 2 2 x 6y 2 3 2xy dx dy 32xy dx x 6y 2 2 2 Example 2 Find y' if sin x y y 2 cos x . Differentiate both sides Chain Rule Twice Product Rule f1 u1 sin u1 f ' u cosu 1 1 1 d dx d dx sin x y d dx 2 y cos x sin x y y 2 dxd cos x cos x dxd y 2 u1 x y dy u1'1 dx f 2 u2 u22 u2 y dy f 2 ' u2 2u2 u2 ' dx dy y 2 sin x cos x 2u2 dx cos x 2y sinx cosx y 1 y dy cosu1 1 dx 2 dx dy cosx y cosx y dx y 2 sin x 2y cos x dy dy dx dy dy cosx y dx 2y cos x dx y 2 sin x cosx y dy 2 dx cosx y 2y cos x y sin x cosx y dy dx y 2 sin x cosx y cosx y 2y cosx dy dx Example 3 Find d 2y dx 2 if x 2 y 2 10. d 2y dx Find the first derivative by Differentiating both sides. x y x y d dx Chain Rule d dx 2 2 2 d dx 2 f u u f1' u 2u Quotient Rule dx 2 d 2y u' x y Now Find the Second Derivative dx 2 dy dx 2x 2u 0 2x 2y 0 2y 2x 2x 2y d 2y d dx uy 2 dy dx dy dx dy dx dy dx dy dx 10 d dx 10 2 d 2y Remember: dy dx x y dx 2 d 2y dx 2 2 Remember: x y 10 2 2 d y dx 2 dy dx dy dx dy dx d dx x y d d y dx y xx dx y2 dy y1x dx y2 dy y x dx y2 y x x y y2 y yx 2 y2 y 2 x 2 y3 y2 x2 y3 10 y3 y y Example 4 Find the slope of a line tangent to the circle x 2 y 2 5x 4 y at the point P5,4. 2 2 d Find the x y dxd 5x 4 y dx derivative by differentiating both sides. 2 2 d x y dx 5x dxd4 y dxd x 2 dxd y 2 5 dxd x 4 dxd y Chain Rule d dx f u u 2 f ' u 2u d dx uy u' dy dx dy dy 2x 2u dx 5 4 dx dy dy 2x 2y 5 4 dx dx dy dy 2y 4 dx 5 2x dx dy dx 2y 4 5 2x dy dx 52x 2y 4 Evaluate the derivative at x=5 and y=4. dy dx 5,4 525 24 4 5 4 White Board Challenge Find the derivative of: 3x 4 y 4 2 2 dy dx 3x 4y Example 5 If x f x xf x 6 and f 3 1 , find f ' 3. 3 Find the derivative by differentiating both sides. x d dx x f x xf x x f x xf x 3 d dx d dx 3 d dx x f x dxd x f x f x dxd x x dxd f 3 Chain Rule f u u 3 f ' u 3u 2 3 6 d dx 6 d dx d dx 6 u f x u' f ' x 3 x 3u 2 f ' x f x 1 x f ' x f x 1 0 2 3 3 x f x f ' x f x xf ' x f x 0 2 3 3 x f x f ' x xf ' x f x f x 2 3 f ' x 3x f x x f x f x f ' x f x f x 3 3x f x x 2 Example 5 (continued) If x f x xf x 6 and f 3 1 , find f ' 3. 3 f ' x f x f x 3 3x f x x 2 Evaluate the derivative with the given information. f ' 3 3 f 3 f 3 33 f 3 3 2 3 1 1 2 91 3 11 93 2 12 1 6 Example 6 Find an equation of the tangent to the circle x 2 y 2 25 at the point 3,4 . Find the derivative by differentiating both sides. 2 2 x y 25 2 2 d d d x y dx dx dx 25 d dx 2 u f u Chain Rule f ' u 2u d dx dy dx 3,4 uy u' dy dx dy dx x y 3 4 Use the Point-Slope Formula to find the equation of the tangent line dy 2x 2u dx 0 dy 2x 2y dx 0 dy 2y dx 2x dy 2x dx 2y Now evaluate the derivative at x=3 and y=4. y 4 3 4 x 3 White Board Challenge Find the second derivative of: 3x 4 y 4 2 2 dy dx 2 d y dx 2 3x 4y 3 3 4y