Problem Statement
I have a partial differential equation given by
$$\frac{\partial f}{\partial x}=0\tag{1}\label{1}$$
where $f=f(x,y)$. If we introduce a new set of coordinates $q_1$ and $q_2$ such that
$$ \begin{array}{c} q_1=q_1(x,y) \\ q_2=q_2(x,y) \\ \end{array}\tag{2}\label{2} $$
and $g(q_1,q_2)$ corresponds to $f(x,y)$, how do I convert Eq. $\ref{1}$ which is in terms of $f$, $x$, and $y$ to an equation in terms of $g$, $q_1$, and $q_2$?
Solution Attempt
Taking
$$f(x,y) = f(x(q_1,q_2),y(q_1,q_2))=g(q_1,q_2)\tag{3}\label{3}$$
I can substitute equation $\ref{3}$ into equation $\ref{1}$. I think my problem starts when I try to take $\frac{\partial g}{\partial x}$ because the following seems wrong:
$$ \frac{\partial f}{\partial x}=\frac{\partial g}{\partial x}=\frac{\partial g}{\partial q_1}\frac{\partial q_1}{\partial x}\tag{4}\label{4}$$
I think I'm missing some form of the chain rule and believe $\ref{4}$ should really be something like
$$ \frac{\partial f}{\partial x}=\frac{\partial g}{\partial x}=\frac{\partial g}{\partial q_1}\frac{\partial q_1}{\partial x}+\frac{\partial g}{\partial q_2}\frac{\partial q_2}{\partial x}\tag{5}\label{5}$$
because if I make a small change in x, it may cause small changes in $q_1$ and $q_2$, but I don't know how to prove this or if it is true.
Hopefully, this question here will help me answer this question I asked previously. Any help appreciated and thanks in advance!
$$f(x,y)=g(q_1(x,y),q_2(x,y))=g(q_1,q_2)$$
where both $q_1(x,y)$ and $q_2(x,y)$ are functions of the variable $x$. This implies by the chain rule that
$$\frac{\partial g(q_1,q_2)}{\partial x}=\frac{\partial g}{\partial q_1}\frac{\partial q_1}{\partial x}+\frac{\partial g}{\partial q_2}\frac{\partial q_2}{\partial x}$$
therefore
$$\frac{\partial f(x,y)}{\partial x}=\frac{\partial g(q_1,q_2)}{\partial x}=\frac{\partial g}{\partial q_1}\frac{\partial q_1}{\partial x}+\frac{\partial g}{\partial q_2}\frac{\partial q_2}{\partial x}$$
– Axion004 Mar 18 '20 at 23:30