[Physics] Gradient is covariant or contravariant

covariancetensor-calculusVector Fieldsvectors

I read somewhere people write gradient in covariant form because of their proposes.
I think gradient expanded in covariant basis $i$, $j$, $k$, so by invariance nature of vectors, component of gradient must be in contravariant form. However we know by transformation properties and chain rule we find it is a covariant vector. What is wrong with my reasoning?

My second question is: if gradient has been written in covariant form, what is the contravariant form of gradient?

Best Answer

Most of the answers posted here are incorrect. The Wikipedia page for the gradient says

The gradient of $f$ is defined as the unique vector field whose dot product with any vector $v$ at each point $x$ is the directional derivative of $f$ along $v$.

A look at Theodore Frankel's The Geometry of Physics confirms this. Other posters have said that the components of the gradient of $f$ are given by $\partial_i f$; these are in fact the components of the differential of $f$, which is a covector. The gradient is this with the index raised.

Let's now calculate both sides of the expression from Wikipedia. The inner product of $\mathrm{grad}(f)$ with a vector $v$ is $$ \mathrm{grad}(f)^{i} g_{i j} v^j =\mathrm{grad}(f)^i v_i. $$ The directional derivative of $f$ along $v$ is $$ D_v f = v^i \partial_i f = g^{ij} \partial_i f ~v_j. $$ We can clearly identify $$ \mathrm{grad}(f)^{i} = g^{ij} \partial_j f $$ or $$ \mathrm{grad}f = g^{-1} \mathrm{d} f. $$