Context
Suppose $\mathbf{R}(q_1,q_2,q_3)=\mathbf{r}(x,y,z)$ represents a position vector in physical space in a curvilinear coordinate system defined by $q_i=q_i(x,y,z)$ for $i=1,2,3$. The reverse mapping $x=x(q_1,q_2,q_3)$ (similarly for $y$ and $z$) also exists.
The curvilinear system is orthogonal if, at the intersection point of the planes $q_i=\text{constant}$, the normals of these planes are mutually perpendicular. So, at any point $(x_0,y_0,z_0)$ \begin{align} \nabla q_1\cdot\nabla q_2=0=\nabla q_2\cdot\nabla q_3=\nabla q_3\cdot\nabla q_1. \tag{1} \end{align}
The unit vectors ($\mathbf{e}_i$) are defined as \begin{align} \mathbf{u}_i=&\ \frac{\partial \mathbf{r}}{\partial q_i},\\ \mathbf{e}_i=\frac{\mathbf{u}_i}{\lVert\mathbf{u}_i\rVert}=&\ \frac{\partial \mathbf{r}/\partial q_i}{\lVert\partial \mathbf{r}/\partial q_i\rVert}. \end{align}
Question
Prove that $\mathbf{e}_i\cdot\mathbf{e}_j=\delta_{ij}$ (Kronecker Delta).
Note
One can either prove
- $\mathbf{u}_i\times\nabla q_i=\mathbf{0}$ (i.e.; $\mathbf{u}_i$ is parallel to $\nabla q_i$) so that orthogonality follows from eq. (1),
- Or, prove that $\mathbf{u}_i\cdot\nabla q_j=0$ for $i\neq j$
Using method 2, one way could be to consider $$\text{d}q_1=1\,\text{d}q_1+0\,\text{d}q_2+0\,\text{d}q_3=\frac{\partial q_1}{\partial x}\text{d}x + \frac{\partial q_1}{\partial y}\text{d}y + \frac{\partial q_1}{\partial z}\text{d}z. \tag{2}$$ Expanding $\text{d}x$ as $$\text{d}x=\frac{\partial x}{\partial q_1}\text{d}q_1 + \frac{\partial x}{\partial q_2}\text{d}q_2 + \frac{\partial x}{\partial q_3}\text{d}q_3,$$ and substituting back in eq. (2) along with similar expansions for $\text{d}y$ and $\text{d}z$, it can be shown by equating coefficients of $\text{d}q_i$ in eq. (2) that $$1=\frac{\partial q_1}{\partial x}\frac{\partial x}{\partial q_1} + \frac{\partial q_1}{\partial y}\frac{\partial y}{\partial q_1} + \frac{\partial q_1}{\partial z}\frac{\partial z}{\partial q_1}=\nabla q_1\cdot\mathbf{u}_1,\\ 0=\frac{\partial q_1}{\partial x}\frac{\partial x}{\partial q_2} + \frac{\partial q_1}{\partial y}\frac{\partial y}{\partial q_2} + \frac{\partial q_1}{\partial z}\frac{\partial z}{\partial q_2}=\nabla q_1\cdot\mathbf{u}_2,\\ 0=\frac{\partial q_1}{\partial x}\frac{\partial x}{\partial q_3} + \frac{\partial q_1}{\partial y}\frac{\partial y}{\partial q_3} + \frac{\partial q_1}{\partial z}\frac{\partial z}{\partial q_3}=\nabla q_1\cdot\mathbf{u}_3.$$
Similarly proceeding with $\text{d}q_2$ and $\text{d}q_3$ proves the result. But this analysis could be done for any curvilinear system. Where was assumption of orthogonal curvilinear system (eq. (1)) invoked? What is wrong in this proof?
Edit
Thanks to Kenny Wong's answer for pointing out that
- The relation $\mathbf{u}_i\cdot\nabla q_j=\delta_{ij}$ holds true in any curvilinear coordinate system (need not be orthogonal). There is nothing wrong with the proof shown in the question. It only proves $\mathbf{u}_i\cdot\nabla q_j=\delta_{ij}$ but not that $\mathbf{u}_i\cdot\mathbf{u}_j=0$ for $i\neq j$.
- For an orthogonal curvilinear coordinate system, this result ($\mathbf{u}_i\cdot\nabla q_j=\delta_{ij}$) along with eq. (1) proves that $\mathbf{u}_i$ is parallel to $\nabla q_i$ and hence $\mathbf{u}_i\cdot\mathbf{u}_j=0$ for $i\neq j$.