Implicit differentiation and the derivatives of inverse functions
Implicit differentiation finds dy/dx from an equation that defines y only indirectly: differentiate the whole equation, using the chain rule on every y, then solve for y′. It extends the power rule to fractional powers, gives slopes on curves like a circle without solving for y, and gives the derivatives of inverse functions: d/dx arctan x = 1/(1 + x²) and d/dx arcsin x = 1/√(1 − x²).
With the chain rule from Lecture 4 in hand, Lecture 5 uses it in a clever algebraic way. Many functions are easier to describe by an equation they satisfy than by a formula. Implicit differentiation gets their derivatives straight from that equation.
So far the power ruledxdxa=axa−1 is proved for whole numbers a, positive and negative. The first example extends it to rational exponents a=m/n, with m and n integers; with m=1 these are the n-th roots. Start from
A rational power
y=xm/n⟺yn=xm
In words
y equals x to the power m over n, end of power, is equivalent to y to the power n equals x to the power m
d over d x y to the power n equals d over d y (y to the power n ) d y over d x equals n y to the power n minus 1, end of power, d y over d x equals m x to the power m minus 1, end of power
d y over d x equals m over n, times x to the power m minus 1, end of power, over y to the power n minus 1, end of power, equals m over n, times x to the power m minus 1, end of power, over the quantity x to the power the quantity m over n, the quantity n minus 1, end of power, equals m over n, times x to the power m minus 1 minus m plus m over n, end of power
just what we hoped. [At the end of this step the transcript has "axn−1"; the exponent is a−1, as the notes have.] Everything after the substitution is arithmetic of exponents; the calculus is in the one chain-rule step.
The equation x2+y2=1 is a circle. It does not give y as a single function of x, but it can be solved, y=±1−x2; take the upper half. The explicit route rewrites the square root as a power and uses the chain rule with a=21 (the case just proved):
Explicit derivative
y=(1−x2)1/2,y′=21(1−x2)−1/2(−2x)=1−x2−x
In words
y equals the quantity 1 minus x squared, all to the power one half, y prime equals one half the quantity 1 minus x squared, all to the power minus one half, end of power, (-2 x) equals minus x over the square root of 1 minus x squared, end of root
The two agree, since y=1−x2. The implicit answer is even better: it also holds on the lower half, where y is negative. For x>0 the slope is negative on top (the circle tilts down) and positive at the bottom (it tilts up), exactly as −x/y says.
It happens to be quadratic in y2, so it can be solved, but the result is a tangle of up to four branches:
Explicit solution
y2=2−x±x2+8,y=±2−x±x2+8
In words
y squared equals the quantity minus x plus or minus the square root of x squared plus 8, end of root, all over 2, y equals plus or minus the square root of the quantity minus x plus or minus the square root of x squared plus 8, end of root, all over 2, end of root
At another x, such as x=2, you would have to find y first (from the explicit formula, or numerically), but you never have to differentiate that formula: once the point is known, the slope comes from simple algebra. As the lecturer puts it, we can differentiate any function we can describe, but not one we cannot find at all. (The notes work a similar example, y3+xy2+1=0, which gives y′=−y2/(3y2+2xy); notes, p. 2.)
Worked example
A slope on an ellipse
Find the slope of the ellipse4x2+y2=1 at the point (2,22).
The most important use of implicit differentiation is for inverse functions. If y=x (for x>0), squaring gives y2=x; the function g(y)=y2 undoes f(x)=x. In general, if y=f(x) and g(y)=x, then g(f(x))=x, and g is called the inverse of f, written f−1:
Inverse function
y=f(x),g(y)=x,g(f(x))=x,g=f−1
In words
y equals f(x), g(y) equals x, g(f(x)) equals x, g equals f to the power minus 1
To draw both on the same axes, write the inverse with x as its variable again. That swaps the roles of x and y: each point (a,b) on the graph of f becomes (b,a), so the graph of f−1 is the graph of freflected in the liney=x (notes, p. 4). The square root and the square are such a pair.
d over d y (f to the power minus 1 (y) ) d y over d x equals 1 which gives d over d y f to the power minus 1 (y) equals 1 over the quantity d y over d x
That is correct but clumsy. A right triangle simplifies it: tany=x means an angle y with opposite side x and adjacent side 1, so the hypotenuse is 1+x2 and cosy=1/1+x2. Hence
Derivative of arctan
dxdarctanx=1+x21
In words
d over d x arc tangent x equals 1 over the quantity 1 plus x squared
The arctangent, computed with atan, is the tangent (between −π/2 and π/2, dashed) reflected in the line y=x. Its slope 1/(1+x2) is 1 at x=0 and falls to 0 far out, where arctanx levels off towards ±π/2≈±1.57.
using cosy=1−sin2y=1−x2. A warning: these formulas need a choice of branch. For the arcsine, y is taken between −π/2 and π/2, where cosy≥0; drawing the graph shows where the formula makes sense.
Worked example
Using the new derivatives
Find (a) the slope of y=x2/3 at x=8; (b) the slopes of arctanx at x=1 and of arcsinx at x=0.5.
From yn=xm it proves the power rule for rational exponents, dxdxm/n=nmxm/n−1.
On the circle x2+y2=1: y′=−x/y, valid on both halves; on y4+xy2−2=0: y′=−y2/(4y3+2xy), which is −1/6 at (1,1). The slope needs the point, not a formula for y.
The inversef−1 undoes f; its graph is the reflection in y=x, and dydf−1(y)=dy/dx1.
dxdarctanx=1+x21 and dxdarcsinx=1−x21; choose the branch with care.
The exponent in the power rule, a = m/n; in the reflection picture, the first coordinate of a point (a, b); in the cosmology note, the scale factor. Say it: “a”.
Today: the present time, about 13.8 billion years after the Big Bang in the real universe (simple models on some pages give other ages). Unit: s (usually billions of years).Say it: “t nought”.
The variable; for the inverse functions, the value whose arctangent or arcsine is taken; in the cosmology note, the size of the universe relative to today, x = a/a(t₀). Say it: “x”.
The thing that undoes another: a matrix times its inverse gives the identity matrix, as a function followed by its inverse gives back the start. Explained in Planes through three points, and matrices.
Of a relation or equation: using only first powers of the unknowns, so doubling the cause doubles the effect and effects simply add. Explained in Solving and rearranging formulas.
True or correctly applicable under the stated conditions.
Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).