Prove: gradient is a vector $\perp^r$ to level surface $\phi(x,y,z)=c$.
Kush Motwani, AIR 11, 2023
$\odot$ def [?] $f(t)=\phi(\vec r(t))=\phi(x(t),y(t),z(t))=c.$ $\to$ ①
At any $t=t_0$:
$\frac{d\phi}{dt}$ [?]
$\frac{df}{dt}=0$ ($\because$ $c$ is const) $\to$ ②
But:
$\to$ $\frac{df}{dt}=(\phi_x,\phi_y,\phi_z)\cdot\frac{d\vec r}{dt}$ [?] $\to$ ③
(Using chain rule).
from ① and ②:
$(\phi_x,\phi_y,\phi_z)\cdot\frac{d\vec r}{dt}=0.$
But $\nabla\phi=(\phi_x,\phi_y,\phi_z)$ and $\frac{d\vec r}{dt}$ is vector along the level surface (tangential).
Thus: $\nabla\phi\perp$ tangent along level surface
$\to$ $\nabla\phi$ is along the $\perp^r$ to level surface, i.e. along the normal.