I was studying about the divergence of a smooth vector field in the book "Calculus of variations and harmonic maps"by Urakawa. For a smooth vector field $X$, the divergence is defined by $div(X)(p) := g(e_i,\nabla_{e_i}X)(p) ; p \in M$ wher $\{e_i\}_{i=1}^n$ is a local orthonormal frame field.
Further, it was written that the definition does not depend on the choice of $\{e_i\}$but i am not able to prove that $g(e_i,\nabla_{e_i}X)(p)= g(f_i,\nabla_{f_i}X)(p)$ if $\{e_i\}$ and $\{f_i\}$ are two local orthonormal frame fields.Can someone tell me how to prove this?
Thanks!