This exercise asks me to take the derivative of
$$f(3x+1,3x-1)=4$$
where this equality is said to be valid for all $x$. The exercise specifically asks me to prove that
$$\frac{∂}{∂x}f(3x+1,3x-1)=-\frac{∂}{∂x}f(3x+1,3x-1)$$
The first thing I though was to apply the partial derivative operator to the both sides of the function:
$$\frac{∂}{∂x}f(3x+1,3x-1)=\frac{∂}{∂x}4 \implies \frac{∂}{∂x}f(3x+1,3x-1) = 0 \implies \\ \frac{∂}{∂x}f(3x+1,3x-1) = - \frac{∂}{∂x}f(3x+1,3x-1)$$
but the exercise uses the chain rule, so I'm assuming that this can't be made. Could someone clarify for me what am I doing wrong here?
Let $I \subset \mathbb{R}$ be open; let $\varphi: x \mapsto (3x+1, 3x-1)$ on $I$; let $f\circ \varphi (x) = 4$ on $I$; and let $g: x \mapsto \varphi(x) \mapsto f\circ \varphi(x) = 4$ on $I$. Then $g'(x) = 0 = \big( D_{1}f(3x+1,3x-1), D_{2}f(3x+1, 3x-1) \big) \cdot (3,3)$ on $I$, so $$ D_{1}f(3x+1, 3x-1) = -D_{2}f(3x+1, 3x-1) $$ on $I$.