Rebuilding curves (and physical laws) from their tangents: a gentle introduction to the the Legendre dual
In this post, we will explore an elegant mathematical idea that links geometry, calculus, and physics: the Legendre transform (sometimes called the Legendre dual ). The basic concept is that a smooth curve or function can be re-described entirely in terms of the slopes of its tangent lines. Even more remarkably, this process can be reversed to recover the original function. The same idea appears in classical mechanics and thermodynamics as a tool for switching between different physical variables, such as velocity and momentum or entropy and temperature. 1. Geometric Intuition with Tangent Lines Suppose we have a smooth, upward-curving function f(x) . At any point x = a , we can draw a tangent line. The tangent line can be written in slope-intercept form: y = p·x + b Here, p = f′(a) is the slope of the tangent line, and b is its y-intercept, which can be found by substituting x = 0 : b = f(a) − a·f′(a) So, every point a on the curve corresponds to a line with slope p a...