Lesson 14: Implicit Differentiation and Inverse Functions
Differentiating Without Solving
Some curves cannot be written as y equals a function of x, such as the circle x squared plus y squared equals 25, or the curve x cubed plus y cubed equals 6xy. Implicit differentiation finds dy/dx anyway: differentiate both sides with respect to x, treating y as a function of x, so every y term gains a factor of dy/dx by the chain rule. Then collect the dy/dx terms and solve for it. The result is a formula for the slope at any point on the curve, in terms of x and y.
Worked example: for x squared plus y squared equals 25, differentiating gives 2x plus 2y dy/dx equals 0, so dy/dx equals minus x over y. At the point (3, 4), the slope is minus 3 over 4. At (3, minus 4), the slope is 3 over 4. The formula needs both coordinates, which makes sense: the slope of a circle depends on where you are on it, and the same x can have two different slopes on the upper and lower halves.
Worked example with a harder curve: find dy/dx for x cubed plus y cubed equals 6xy at the origin (0, 0). Differentiating gives 3x squared plus 3y squared dy/dx equals 6y plus 6x dy/dx. At (0, 0) this becomes 0 equals 0, which is true for any value of dy/dx: the curve crosses itself at the origin, and there are two tangents there, the x-axis and the y-axis, one for each branch. The implicit differentiation has not failed; it has told you that the slope is not unique at that point, because two branches of the curve pass through it. That is a useful thing to learn: when the algebra gives an identity instead of a value, the geometry usually has a crossing or a cusp, and the question is testing whether you notice.
Second Derivatives and Tangent Lines
The second derivative of an implicitly defined curve is found by differentiating dy/dx again, remembering that y is still a function of x, so any y in the expression for dy/dx must be differentiated with the chain rule. For the circle, differentiating dy/dx equals minus x over y gives a second derivative of minus y squared plus x squared, all over y cubed, after simplifying with the circle equation. The algebra is heavier than for explicit functions, and the usual error is to forget that a y in the first derivative is itself a function of x.
Tangent lines to implicit curves are found the same way as always: find the slope at the point, then use point-slope form. Worked example: the tangent to the circle x squared plus y squared equals 25 at (3, 4) has slope minus 3 over 4, so its equation is y minus 4 equals minus 3 over 4 times x minus 3. A normal line, perpendicular to the tangent, has slope 4 over 3 at that point, and for a circle the normal passes through the centre, which is a useful check.
Inverse Functions and Their Derivatives
If f and g are inverse functions, their graphs are reflections in the line y equals x, and the derivative of the inverse at a point is the reciprocal of the derivative of the original at the corresponding point. In symbols, if g is the inverse of f, then g prime of a equals 1 over f prime of g(a). You do not need a formula for the inverse to find its derivative: you need the value of the inverse at the point, and the derivative of the original there.
Worked example: f(x) equals x cubed plus 2x, and g is its inverse. What is g prime of 3? First find where f equals 3: f(1) is 3, so g(3) is 1. Then f prime of x is 3x squared plus 2, so f prime of 1 is 5, and g prime of 3 is 1 over 5. The chain rule behind this is the same one that gives implicit differentiation: differentiating f(g(x)) equals x gives f prime of g(x) times g prime of x equals 1.
Key Terms
- Implicit differentiation
- Differentiating an equation without solving for y, treating y as a function of x.
- Implicit curve
- A curve defined by an equation in x and y together, such as a circle.
- Normal line
- The line perpendicular to a tangent line at a point of contact.
- Inverse function
- The function that undoes another; its graph is the reflection in the line y equals x.
- Point-slope form
- The equation y minus y1 equals m times x minus x1 for a line through a point with slope m.
- Chain rule (implicit)
- The rule that differentiating a y term with respect to x gives dy/dx as a factor.
Discussion Questions
- Why does the slope of a circle need both x and y, not just x?
- Why is the normal to a circle at a point a line through the centre?
- How can you find the derivative of an inverse function without a formula for it?
Practice Questions
- For x squared plus y squared equals 25, what is dy/dx?
- What is the slope of that circle at (3, 4)?
- What is the tangent line to the circle at (3, 4)?
- f(x) equals x cubed plus 2x, and g is its inverse. What is g prime of 3?
- Why must every y term gain a factor of dy/dx when differentiating implicitly?
Show answers
- Minus x over y.
- Minus 3 over 4.
- y minus 4 equals minus 3 over 4 times x minus 3.
- 1 over 5, because g(3) is 1 and f prime of 1 is 5.
- Because y is a function of x, so the chain rule applies to it.