Gradient of a Dot Product
If
and
are vectors then
The ith component of the right hand side is
Hence in tensor notation