Proofs of the product and quotient rules, which also extend the power rule to negative powers; the chain rule, which differentiates a function of a function by multiplying the two derivatives; and higher derivatives, with their notations, from u″ to dⁿu/dxⁿ, and the fact that the n-th derivative of xⁿ is n!.
Lecture 4 completes the toolkit for differentiating combinations of functions. (The recorded lecture was given by Haynes Miller, substituting for David Jerison.) It proves the product and quotient rules stated at the end of Lecture 3, adds the most powerful rule of all, the chain rule for a function of a function, and ends with derivatives of derivatives.
Longer products can be done one factor at a time. To see why the rule holds, look at how much the product changes when x changes by Δx. Adding and subtracting u(x)v(x+Δx) splits the change into a change of u and a change of v:
capital delta (u v) equals u of the quantity x plus capital delta x, v of the quantity x plus capital delta x, minus u(x) v(x) equals ( capital delta u) v of the quantity x plus capital delta x, plus u(x) ( capital delta v)
capital delta (u v) over the quantity capital delta x, equals capital delta u over the quantity capital delta x, times v the quantity x plus capital delta x, all plus u capital delta v over the quantity capital delta x, goes to d u over d x, times v plus u d v over d x
(The Lecture 3 page gives the notes' version, which splits the same change the other way round, with u(x+Δx) in the second term, and the rectangle picture; either works.)
For a quotient, write the new values as u+Δu and v+Δv and put the difference over a common denominator. The terms uv cancel:
Change of a quotient
Δ(vu)=v+Δvu+Δu−vu=(v+Δv)v(Δu)v−u(Δv)
In words
capital delta ( u over v ) equals the quantity u plus capital delta u, all over the quantity v plus capital delta v, minus u over v equals the quantity ( capital delta u) v minus u ( capital delta v), all over the quantity the quantity v plus capital delta v, v
and with v=xn this gives the derivative of a negative power:
Negative powers
dxdx−n=−x−2n⋅nxn−1=−nx−n−1
In words
d over d x x to the power minus n equals minus x to the power minus 2 n times n x to the power n minus 1, end of power, equals minus n x to the power minus n minus 1, end of power
This is exactly the old power rule, dxdxm=mxm−1, with m=−n: the rule holds for negative exponents as well as positive ones. The notes reach the same result in two ways (notes, p. 2): writing x−n=(1/x)n and using the chain rule below with the derivative of 1/x from Lecture 1, and writing it as 1/u with u=xn, as here.
Many functions are made by doing one function and then another: a composition. For instance y=(sint)10, also written sin10t, means "take the sine of t, then the tenth power". The trick is to name the intermediate result:
Now y depends on x, and x on t. For a small change Δt, the change in the intermediate variable cancels algebraically:
Proof of the chain rule
ΔtΔy=ΔxΔyΔtΔx→dtdy=dxdydtdx
In words
capital delta y over the quantity capital delta t, equals capital delta y over the quantity capital delta x, times capital delta x over the quantity capital delta t, goes to d y over d t equals d y over d x, times d x over d t
As Δt→0, also Δx→0, because x is a continuous function of t (notes, p. 1). [This short argument divides by Δx, so it assumesΔx=0 for small Δt; a careful proof also covers the case Δx=0, and the rule holds in general.] So the derivative of a composition is the product of the two derivatives: the "dx's cancel". In function notation, with y=f(x) and x=g(t):
Chain rule in function notation
dtdf(g(t))=f′(g(t))g′(t)
In words
d over d t f(g(t)) equals f prime (g(t)) g prime (t)
Order matters in a composition: with f(x)=sinx and g(x)=x2, f(g(x))=sin(x2) but g(f(x))=sin2x, two different functions (notes, p. 1).
Back to the example: the outside function is the tenth power, the inside one the sine. Differentiate the outside, keeping the inside as it is, then multiply by the derivative of the inside, and finally substitute x=sint back:
First example
dtd(sint)10=10x9⋅cost=10sin9tcost
In words
d over d t ( sine t) to the power 10 equals 10 x to the power 9 times cos t equals 10 sine to the power 9 t cos t
sin(x2) and its derivative from the chain rule, 2xcos(x2), both computed from their formulas. The straight line is the tangent at x=a (slider); its slope equals the height of the dashed curve there (at a=1.5, about −1.88). The inside function x2 makes sin(x2) wiggle faster and faster, and the factor 2x makes the slopes grow.
The derivative of a function is a new function, so it can be differentiated again. Doing that over and over gives the higher derivatives: u′′ is the second derivative, the third has three primes (also written u(3)), and after a while one writes u(4) instead of four primes. For the sine:
Derivatives of the sine
u=sinx,u′=cosx,u′′=−sinx,u(3)=−cosx,u(4)=sinx
In words
u equals sine x, u prime equals cos x, u double prime equals minus sine x, u to the power (3) equals minus cos x, u to the power (4) equals sine x
The derivative can be seen as an operator: something applied to a function to make a new function. It is written dxd, or simply D. The second derivative is that operator applied twice, and the notations reflect it:
Notations for the second derivative
u′′=dxddxdu=(dxd)2u=dx2d2u=dx2d2u=D2u
In words
u double prime equals d over d x d u over d x equals ( d over d x ) squared u equals d squared over d x squared u equals d squared u over d x squared equals capital D squared u
The last notation is the strangest. Its denominator is (dx)2, part of the symbol for the second derivative; it does not mean d(x2). The third derivative is d3u/dx3=D3u, and the n-th is written u(n), Dnu or dnu/dxn (notes, p. 3).
Differentiatexn again and again, for n=1,2,3,…. Each time the exponent comes down as a factor and drops by one:
Repeated derivatives of a power
Dxn=nxn−1,D2xn=n(n−1)xn−2,D3xn=n(n−1)(n−2)xn−3,…
In words
capital D x to the power n equals n x to the power n minus 1, end of power, capital D squared x to the power n equals n the quantity n minus 1, x to the power n minus 2, end of power, capital D cubed x to the power n equals n the quantity n minus 1, the quantity n minus 2, x to the power n minus 3, end of power, and so on
the number called n factorial. The notes prove it by induction: it is true for n=1, since Dx=1; and if it holds for n, then Dn+1xn+1=Dn((n+1)xn)=(n+1)Dnxn=(n+1)⋅n!, which is the factorial of n+1 (notes, p. 3). One derivative more, Dn+1xn, is the derivative of a constant: 0.
Quotient rule: (u/v)′=(u′v−uv′)/v2; with u=1, (1/v)′=−v′/v2, so dxdx−n=−nx−n−1: the power rule holds for negative powers too.
Chain rule: for y=f(x), x=g(t), dtdy=dxdydtdx, or (f(g(t)))′=f′(g(t))g′(t); differentiate the outside, keep the inside, multiply by the derivative of the inside.
In the cosmology note, the parameter (development angle) of the closed universe's cycloid. Unit: rad.Say it: “theta” (sounds like “thay-ta or thee-ta”).
A function of x: in the product and quotient rules and the higher derivatives (u = sin x in the example); in the notes' third example the inside function u = 1/x, in the polynomial example u = 3x² + 1. Say it: “u”.
Having a derivative: at that point the graph has a single, definite, non-vertical tangent line, with no corner or break. Explained in The mean value theorem and inequalities.
Without breaks, gaps or jumps: a continuous graph can be drawn without lifting the pen; a continuous quantity can take every value in a range. Explained in The rocket equation.
A universe with more than the critical density, whose space curves back on itself like a sphere, so it is finite. Explained in Open, closed and flat universes.
The value a quantity gets closer and closer to, as near as we like, as its input approaches some value, without having to reach it. Explained in Rates of change and area under a graph.
A system of symbols used to write ideas down briefly, such as dy/dx for a derivative.
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).