The total differential df = f_x dx + f_y dy + f_z dz records how changes in x, y, z affect f. It is not a number like Δf, but it can be used in two ways: replace dx, dy, dz by small changes to get the approximation formula, or divide by dt to get the chain rule df/dt = f_x dx/dt + f_y dy/dt + f_z dz/dt. The chain rule gives the product and quotient rules, and extends to new variables: ∂f/∂u = f_x x_u + f_y y_u. Partial derivatives cannot be 'simplified' like fractions.
After partial derivatives and extremes, the next step is to describe how a function of several variables changes in every way at once. The tool is the differential (transcript, p. 1).
In one variable, y=f(x) gives dy=f′(x)dx, relating small changes in y and x; this is implicit differentiation (transcript, p. 1). It finds dy/dx and also its reciprocal. For y=sin−1x: x=siny, so dx=cosydy, and (p. 1; notes, p. 1):
Derivative of the inverse sine
dxdy=cosy1=1−x21
In words
d y over d x equals 1 over the quantity cos y, equals 1 over the square root of 1 minus x squared, end of root
For a function of several variables, the total differential collects all the contributions that can make f change (transcript, p. 1; notes, p. 1):
Total differential
df=fxdx+fydy+fzdz=∂x∂fdx+∂y∂fdy+∂z∂fdz
In words
d f equals f sub x d x plus f sub y d y plus f sub z d z equals partial f over partial x, times d x plus partial f over partial y, times d y plus partial f over partial z, times d z
Differentials are a new kind of object: not numbers, not vectors, not matrices, with their own rules. In particular df is not the same as Δf: Δf is a number once Δx, Δy, Δz are, while df can only be expressed in terms of other differentials (p. 1; notes, p. 1). (Auroux warns that the course textbook mixes d and Δ in a few formulas, and says not to, p. 1.) A differential records how changes in x, y, z affect f, and it can be used in two ways (p. 1; notes, p. 1):
First argument:dx=x′(t)dt, dy=y′(t)dt, dz=z′(t)dt; substituting into df gives df=(fxx′(t)+fyy′(t)+fzz′(t))dt, and the coefficient of dt is df/dt (transcript, p. 2; notes, p. 1). But that uses differentials before we trust them (p. 2).
Better: start from the approximation formula, which we trust, for the changes in a short time Δt, and divide by the number Δt (p. 2; notes, p. 1):
Dividing the approximation by Δt
ΔtΔf≈fxΔtΔx+fyΔtΔy+fzΔtΔz
In words
capital delta f over the quantity capital delta t, is approximately f sub x capital delta x over the quantity capital delta t, plus f sub y capital delta y over the quantity capital delta t, plus f sub z capital delta z over the quantity capital delta t
Check on an example. The lecture takes w=x2y+z with x=t, y=et, z=sint (p. 2; notes, p. 1). The chain rule gives dw/dt=2xy⋅1+x2⋅et+1⋅cost=2tet+t2et+cost. Substituting first, w=t2et+sint, and the one-variable product rule gives the same (p. 2). Here both ways are equally long; when f is complicated, or only its partial derivatives are known, the chain rule is the way (p. 2).
The chain rule explains the rules of single-variable calculus (transcript, p. 2; notes, p. 1). Take f=uv as a function of two variables, with u and v functions of t. Since fu=v and fv=u (p. 2):
Product rule from the chain rule
dtd(uv)=fudtdu+fvdtdv=vdtdu+udtdv
In words
d(u v) over d t equals f sub u d u over d t plus f sub v d v over d t equals v d u over d t plus u d v over d t
Likewiseg=u/v has gu=1/v and gv=−u/v2, so dtdvu=v1dtdu−v2udtdv, which over the common denominator v2 is the usual quotient rule (pp. 2–3; notes, p. 1).
Now let w=f(x,y) where x and y are themselves functions of two variables u and v, as when switching between rectangular and polar coordinates. To find ∂w/∂u without substituting (possibly messy) formulas, we need fx, fy and the partials xu, xv, yu, yv (transcript, p. 3; notes, p. 1). Differentials do it (p. 3; notes, p. 1):
d w equals f sub x d x plus f sub y d y equals f sub x the quantity x sub u d u plus x sub v d v, all plus f sub y the quantity y sub u d u plus y sub v d v, equals the quantity f sub x x sub u plus f sub y y sub u, d u plus the quantity f sub x x sub v plus f sub y y sub v, d v
partial f over partial u equals partial f over partial x, times partial x over partial u plus partial f over partial y, times partial y over partial u, partial f over partial v equals partial f over partial x, times partial x over partial v plus partial f over partial y, times partial y over partial v
The structure is easy to remember: f depends on x and y, which depend on u. Changing u changes x at the rate ∂x/∂u, which changes f at ∂f/∂x times that; y changes at the same time, and the two effects add (p. 3). More variables just mean more terms, and repeated substitutions can be done one chain rule at a time (pp. 3–4).
Do not "simplify". Cancelling the ∂x's and ∂y's would give ∂f/∂u=∂f/∂u+∂f/∂u, which is absurd. Partial derivatives are not fractions, because each holds different variables fixed; the curly ∂ is there to warn against this (p. 3; notes, p. 1). And "∂f" alone means nothing; only ∂f/∂(a variable) does, while df is the total change (p. 4).
Polar coordinates. With x=rcosθ, y=rsinθ, a function of x and y becomes a function of r and θ, and (p. 4; notes, p. 1):
The r-derivative in polar coordinates
fr=fxxr+fyyr=cosθfx+sinθfy
In words
f sub r equals f sub x x sub r plus f sub y y sub r equals cos theta f sub x plus sine theta f sub y
(a) Let w=xy2 with x=cost, y=sint. Find dw/dt at t=π/4 by the chain rule and by substitution. (b) For f=x2+y2, find fr from the polar formula and check it directly.
(a) Chain rule
wx=y2, wy=2xy, dx/dt=−sint, dy/dt=cost. At t=π/4, x=y=2/2≈0.7071, so dw/dt=y2(−sint)+2xycost=0.5(−0.7071)+2(0.5)(0.7071)=−0.3536+0.7071≈0.354.
(a) Substitution
w=costsin2t, so dw/dt=−sin3t+2sintcos2t. At t=π/4: −0.3536+0.7071≈0.354. The same.
(b) Polar coordinates
fx=2x, fy=2y, so fr=cosθ⋅2rcosθ+sinθ⋅2rsinθ=2r. Directly, f=r2 in polar coordinates, and df/dr=2r.
Density: mass (or energy divided by c²) per unit volume. ρ_c is the critical density, ρ̄ the mean density. Unit: kg/m³ (on some pages an energy density in natural units: GeV⁴, eV/cm³).Say it: “rho”.
A tiny change in a variable, such as dx, or the matching change in a function along its tangent line, dy = f′(x) dx. Explained in Differentials and antiderivatives.
A rectangular table of numbers, which acts on vectors to give new ones and so describes a linear change of coordinates. Explained in Planes through three points, and matrices.
How fast one quantity changes compared with another, often time: the change in the first divided by the change in the second. Explained in Rates of change and area under a graph.
The vector of a function's partial derivatives; it points the way the function increases fastest, and its length is that fastest rate. Explained in Graphs, straight lines and slope.
The number a(t) that tells how much distances in the universe have stretched: when it doubles, every distance between galaxies doubles. Explained in Towards the universe: an expanding gas cools.
How much of something (mass, charge, energy, particles or probability) there is in each unit of volume, area, length or other variable. Explained in Density and pressure.
A constant term Einstein added to his equations of gravity, equivalent to an energy density of empty space that never changes. Explained in Dark energy and the accelerating universe.
To obtain a result by reasoning or calculation from other known results.
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).