I know that the Euler Lagrange equation (here only in 1D)
$$ \left(\frac{d}{dt}\frac{\partial}{\partial\dot{x}}-\frac{\partial}{\partial x}\right)L\left(x,\dot{x},t\right)=0 $$
is invariant under (invertible) coordinate transformations of the kind $q=q\left(x,t\right)$. Most simply because the derivation using the principle of least action can be performed in any coordinate system. Suppose however that I wish to explicit show that if EL is satisfied for $x$ that it will also be satisfied for $q$ by actually changing variables in the equation.
I begin by rewriting $\frac{\partial}{\partial x}$ and $\frac{\partial}{\partial\dot{x}}$ as
\begin{eqnarray*} \frac{\partial}{\partial x} & = & \left(\frac{\partial q}{\partial x}\right)\frac{\partial}{\partial q}+\left(\frac{\partial\dot{q}}{\partial x}\right)\frac{\partial}{\partial\dot{q}}\\ \frac{\partial}{\partial\dot{x}} & = & \left(\frac{\partial q}{\partial\dot{x}}\right)\frac{\partial}{\partial q}+\left(\frac{\partial\dot{q}}{\partial\dot{x}}\right)\frac{\partial}{\partial\dot{q}} \end{eqnarray*} so that my EL now reads
$$ \left(\frac{d}{dt}\left[\left(\frac{\partial q}{\partial\dot{x}}\right)\frac{\partial}{\partial q}+\left(\frac{\partial\dot{q}}{\partial\dot{x}}\right)\frac{\partial}{\partial\dot{q}}\right]-\left[\left(\frac{\partial q}{\partial x}\right)\frac{\partial}{\partial q}+\left(\frac{\partial\dot{q}}{\partial x}\right)\frac{\partial}{\partial\dot{q}}\right]\right)L\left(q,\dot{q},t\right)=0 $$
I then let $\frac{d}{dt}$ act from the right and collect terms, at some point i should possibly use that $\dot{q}\left(x,\dot{x},t\right)=\frac{\partial q}{\partial t}+\frac{\partial q}{\partial x}\dot{x}$ and $\dot{x}\left(q,\dot{q},t\right)=\frac{\partial x}{\partial t}+\frac{\partial x}{\partial q}\dot{q}$ to in the end obtain
$$ \left(\mbox{some function}\right)\left(\frac{d}{dt}\frac{\partial}{\partial\dot{q}}-\frac{\partial}{\partial q}\right)L\left(q,\dot{q},t\right)=0 $$
However expanding the action of $\frac{d}{dt}$ gives a horrible mess that i will not reproduce for you.
The question then is: Is the setup I'm trying above correct (albeit ugly), or is there some neater way, without making use of the principle of least action?
Iv'e found some questions related to this, such as Euler Lagrange equation in different frames but i'm not sure how to make use of them.