WeSearch

Why the gradient is a list of partial derivatives

Michał Prządka· ·8 min read · 0 reactions · 0 comments · 10 views
#calculus#mathematics#gradient
Why the gradient is a list of partial derivatives
⚡ TL;DR · AI summary

The article explores the concept of the gradient in multivariate calculus, highlighting its significance in determining the direction of steepest ascent. It explains how partial derivatives can be combined into a vector that indicates the fastest change in a function's value. The author emphasizes the intuitive nature of this mathematical concept through relatable examples, such as navigating a ski slope.

Key facts
Original article
Hacker News (Newest) · Michał Prządka
Read full at Hacker News (Newest) →
Opening excerpt (first ~120 words) tap to expand

If there is one thing that keeps me awake at night, it is multivariate calculus. The gradient formula always struck me as suspicious in how plain it looks: ∇f=(∂f∂x, ∂f∂y)\nabla f = \left(\frac{\partial f}{\partial x},\ \frac{\partial f}{\partial y}\right)∇f=(∂x∂f​, ∂y∂f​) You could practically guess it. Partial derivatives are numbers, there is one per coordinate, so you stack them in a list and see what comes out. The thing that comes out happens to point in the direction of fastest change, with a length equal to that maximum rate. Run that recipe on a real landscape — the two hills below. The formula for their height fff is a bit of a mess, but the recipe only ever needs its two partial derivatives. You are here — the spot where we read the two slopes.

Excerpt limited to ~120 words for fair-use compliance. The full article is at Hacker News (Newest).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments