# How and why is $\partial x^{i}/\partial\dot{q}^{j}=0$ in generalized coordinates

My question has to do with the justification for the assertion that $\partial x^{i}/\partial\dot{q}^{j}=0$ when working with generalized coordinates. The following is an example of where this appears, and why it is confusing to me. Summation on like, upper and lower index pairs is assumed.

We shall rewrite D'Alembert's following equation.

\begin{equation} \sum_{i=1}^{3N}\left(F^{i}-m^{i}\ddot{x}^{i}\right)\delta x^{i}=0 \tag{1}\label{1}\end{equation} The next two equations follow. The second requires our coordinate transformations to be time-independent.

\begin{equation} \delta x^{i}=\frac{\partial x^{i}}{\partial q^{j}}\delta q^{j} \tag{2}\label{2}\end{equation}

\begin{equation} \dot{x}^{i}=\frac{\partial x^{i}}{\partial q^{j}}\dot{q}^{j} \tag{3}\label{3}\end{equation} This next equivalence is a commonly promulgated assertion which I have never been comfortable with.

\begin{equation} \frac{\partial x^{i}}{\partial\dot{q}^{j}}=0 \tag{4}\label{4}\end{equation} It says the $x^{i}$ are independent of the $\dot{q}^{j}$. That implies that

\begin{equation} \frac{\partial\dot{q}^{j}}{\partial x^{i}}=0 \tag{5}\label{5}\end{equation} also holds.

We now make use of \eqref{4}

\begin{equation} \frac{\partial\dot{x}^{i}}{\partial\dot{q}^{j}}=\frac{\partial}{\partial\dot{q}^{j}}\left(\frac{\partial x^{i}}{\partial q^{k}}\dot{q}^{k}\right)=\frac{\partial^{2}x^{i}}{\partial\dot{q}^{j}\partial q^{k}}\dot{q}^{k}+\frac{\partial x^{i}}{\partial q^{k}}\frac{\partial\dot{q}^{k}}{\partial\dot{q}^{j}}=0+\frac{\partial x^{i}}{\partial q^{k}}\delta_{j}^{k}=\frac{\partial x^{i}}{\partial q^{j}} \tag{6}\label{6}\end{equation} to arrive at this useful relationship.

\begin{equation} \frac{\partial^{j}\dot{x}^{i}}{\partial\dot{q}^{j}}=\frac{\partial^{j}x^{i}}{\partial q^{j}} \tag{7}\label{7}\end{equation}

We replace $\delta x^{i}$ in D'Alembert's equation \eqref{1} with the hight-hand side of \eqref{2}

\begin{equation} \sum_{i=1}^{3N}\left(F^{i}-m^{i}\ddot{x}^{i}\right)\frac{\partial x^{i}}{\partial q^{j}}\delta q^{j}=0 \tag{8}\label{8}\end{equation}

Now we shall find an alternative form for the following terms which appear in \eqref{8}.

\begin{equation} m^{i}\ddot{x}^{i}\frac{\partial x^{i}}{\partial q^{j}}\delta q^{j} \tag{9}\label{9}\end{equation}

Use the product rule for differentiation.

\begin{equation} \ddot{x}^{i}\frac{\partial x^{i}}{\partial q^{j}}=\frac{d}{dt}\left[\dot{x}^{i}\frac{\partial x^{i}}{\partial q^{j}}\right]-\dot{x}^{i}\frac{d}{dt}\left[\frac{\partial x^{i}}{\partial q^{j}}\right] \tag{10}\label{10}\end{equation}

Using \eqref{7} we find the following form for the first term on the right-hand side of \eqref{10}.

\begin{equation} \frac{d}{dt}\left[\dot{x}^{i}\frac{\partial x^{i}}{\partial q^{j}}\right]=\frac{d}{dt}\left[\dot{x}^{i}\frac{\partial\dot{x}^{i}}{\partial\dot{q}^{j}}\right]=\frac{d}{dt}\left[\frac{1}{2}\frac{\partial\left(\dot{x}^{i}\right)^{2}}{\partial\dot{q}^{j}}\right] \tag{11}\label{11}\end{equation}

Use the chain rule and reverse the order of mixed partial differentiation.

\begin{equation} \frac{d}{dt}\left[\frac{\partial x^{i}}{\partial q^{j}}\right]=\frac{\partial^{2}x^{i}}{\partial q^{k}\partial q^{j}}\dot{q}^{k}=\frac{\partial}{\partial q^{j}}\left[\frac{\partial x^{i}}{\partial q^{k}}\dot{q}^{k}\right]=\frac{\partial\dot{x}^{i}}{\partial q^{j}} \tag{12}\label{12}\end{equation}

This provides an equivalent form for the second term on the right-hand side of \eqref{10}.

\begin{equation} \dot{x}^{i}\frac{d}{dt}\left[\frac{\partial x^{i}}{\partial q^{j}}\right]=\frac{\partial}{\partial q^{j}}\left[\frac{1}{2}\left(\dot{x}^{i}\right)^{2}\right] \tag{13}\label{13}\end{equation}

We can now express \eqref{9} in this very suggestive form.

\begin{equation} m^{i}\ddot{x}^{i}\delta x^{i}=\left(\frac{d}{dt}\frac{\partial}{\partial\dot{q}^{j}}\left[\frac{1}{2}m^{i}\left(\dot{x}^{i}\right)^{2}\right]-\frac{\partial}{\partial q^{j}}\left[\frac{1}{2}m^{i}\left(\dot{x}^{i}\right)^{2}\right]\right)\delta q^{j} \tag{14}\label{14}\end{equation}

If we compare \eqref{5} with \eqref{12} we see that they are symmetrical opposites of one another. The coordinate transformations to and from generalized coordinates are typically given as $q^{i}=q^{i}[x^{1},x^{2},\ldots,x^{n}]$ and $x^{i}=x^{i}[q^{1},q^{2},\ldots,q^{m}]$. The $x^{i}$ are rectangular Cartesian coordinates, and the $q^{i}$may be any suitable coordinate system. There is nothing that says the $q^{i}$ are not also rectangular Cartesian coordinates. Even the identity transformation $q^{i}=x^{i}$ would satisfy this definition. How is it possible that \eqref{5} and \eqref{12} could both hold if the coordinate systems are both rectangular Cartesian? Is one coordinate system given special status which the others lack?

• I think the short answer to my question is "Yes. We really did tear apart your concept of reality by asserting (5) as a definition." The long answer is "Go fish V.I. Arnold's Ordinary Differential Equations out of your storage unit." – Steven Thomas Hatton Oct 29 '16 at 15:49
• One way to justify the title eq. (4) is to assume that all the constraints are holonomic. – Qmechanic Oct 29 '16 at 16:14
• Now that I think about it, I was mistaken in believing that $\frac{\partial x^{i}}{\partial\dot{q}^{j}}=0$ implies $\frac{\partial\dot{q}^{j}}{\partial x^{i}}=0$, because $0\neq1/0$. My deeper failure to fully understand how this works has to do with the concept of dependent and independent variables. I shall soldier on through the fog in pursuit of the Light. – Steven Thomas Hatton Nov 1 '16 at 17:14
• A particle confined to a circle, its speed increasing constantly. The geometric constraints are $x_{3}=0$ and $\sqrt{x_{1}^{2}+x_{2}^{2}}-r=0$. Express $x_{i}$ in terms $\dot{q}_{j}$. $$x_{1}=r\cos[\theta]=q_{1}\cos[q_{2}]$$ $$x_{2}=r\sin[\theta]=q_{1}\sin[q_{2}]$$ $$q_{1}=r$$ $$q_{2}=\theta=\frac{1}{2}\alpha t^{2}$$ $$\dot{q}_{1}=0$$ $$\dot{q}_{2}=\omega=\alpha t$$ $$t=\frac{\omega}{\alpha}=\frac{\dot{q}_{2}}{\alpha}$$ $$q_{2}=\theta=\frac{1}{2\alpha}\dot{q}_{2}^{2}$$ $$x_{1}=q_{1}\cos[\frac{1}{2\alpha}\dot{q}_{2}^{2}]$$ $$x_{2}=q_{1}\sin[\frac{1}{2\alpha}\dot{q}_{2}^{2}]$$ – Steven Thomas Hatton Nov 2 '16 at 18:32

I'm pretty sure this is the same kind of problem as that which led to covariant differentiation. In generalized coordinates our coordinate transformations are position dependent. Assuming our constraints are time-independent, we can think of the (differential) coordinate transformations as persisting in time. At each point along the configuration path, we use the pre-existing coordinate differential (derivative matrix) at that point. The tangent vectors to the coordinate curves form a coordinate basis of the tangent plane at that point. The differential matrix of the coordinate transformation maps infinitesimal displacements linearly to the "embedding" rectangular Cartesian system.

At the point of evaluation, the velocity vector lies in the tangent plane. From the perspective of the Cartesian system, the configuration point is instantaneously moving in a straight line lying in the tangent plane. It is true that the tangent plane at the configuration point is changing as the point moves, but this amounts to a second order derivative since it is the directional derivative of the coordinate differential with respect to velocity. Since velocity is a first order derivative, the effect of the changing tangent plane vanishes when taking the limit as $$\Delta t$$ goes to zero.

And now I will stop waving my hands vigorously.

Well, not just yet.

There has to be more to this, since we have the situation where

$$\frac{d}{dt}\left[\frac{\partial x^{i}}{\partial q^{j}}\right]=\frac{\partial^{2}x^{i}}{\partial q^{k}\partial q^{j}}\dot{q}^{k}=\frac{\partial}{\partial q^{j}}\left[\frac{\partial x^{i}}{\partial q^{k}}\dot{q}^{k}\right]=\frac{\partial\dot{x}^{i}}{\partial q^{j}}.$$

This means we are varying the $$q^{j}$$ while holding the $$\dot{q}^{k}$$ fixed, and finding the amount by which the $$\dot{x}^{i}$$ vary as a result. That is, we are “hypothetically” varying the path and asking what the consequences of doing so are. For example, we might ask how $$\dot{x}$$ changes if angular velocity is held fixed while the radius is changed.

For a real mythical point mass, all of the dynamic and kinematic values are determined at each point in the path. All we can ask is how these quantities change along the path. In analytical dynamics we are investigating vector fields formed over a congruence of possible paths. This break from the mythical reality of a lone point mass happens when we decouple generalized position and generalized velocity.

I believe this is an extremely important distinction to understand if we are to properly interpret the statements of quantum mechanics.