Partial Derivatives and the Gradient

coptic, french dembow

Listen on 93

Lyrics

[Verse 1]
Picture a mountain landscape spread before your eyes
Function f maps every point to its height in the skies
When you want the slope heading east while north stays the same
Partial derivative's the tool, that's the mathematical game
Hold y frozen like a statue, let only x move free
Limit as h approaches zero shows the rate you'll see

[Chorus]
Partial d-f d-x, one direction at a time
Gradient vector gathers all the slopes in perfect rhyme
Del f equals partial x, partial y, partial z
Points toward the steepest climb, your mathematical key
Like a compass in your pocket, tells you which way leads up high
Gradient is your faithful guide beneath the calculus sky

[Verse 2]
Take f of x plus h and y, subtract f of x and y
Divide by h then watch it shrink as h waves goodbye
That's partial with respect to x, the eastward rate of change
While every other variable stays locked within its range
Repeat for y and z directions, build your gradient tower
Three components strong and true, unleashing vector power

[Chorus]
Partial d-f d-x, one direction at a time
Gradient vector gathers all the slopes in perfect rhyme
Del f equals partial x, partial y, partial z
Points toward the steepest climb, your mathematical key
Like a compass in your pocket, tells you which way leads up high
Gradient is your faithful guide beneath the calculus sky

[Bridge]
Level curves run perpendicular to where the gradient flows
Walk against the gradient's pull, to valleys down you go
Machine learning rides this trick, gradient descent by name
Optimization's beating heart, playing the minimum game

[Outro]
Every hilltop, every valley, gradient shows the way
Multivariable calculus in action every day
When functions have more variables than fingers on your hand
Let partial derivatives help you understand

← The Integral as Accumulation and Area | The Chain Rule (Multivariable) →