Let
be smooth and write components with indices
. The
-th component of the left-hand side is
(since mixed partials commute for smooth
). The
-th component of the right-hand side is
which is the same expression (rename index
to
). Hence the identity holds:
(b) Derive unsteady Bernoulli for irrotational flow.
We are given an inviscid, incompressible fluid of constant density
under gravity with Euler equation
and assume the flow is irrotational:
. Thus there exists a velocity potential
such that
.
Substitute
into Euler. The left-hand side becomes
Using part (a) we write
So Euler becomes
Both
and the other terms are gradients, so combine into a single gradient:
Thus the scalar inside the gradient is spatially constant (but may depend on time). Hence
where
is an arbitrary function of time only. This is the unsteady Bernoulli equation for irrotational flow.