I am a physicist so please excuse my lack of formal mathematical language. In my studies I have stumbled across this identity that needs to be true in order for the uniqueness of my physical solution, but I am unable to prove it. Help is very much appreciated.
Assume you have two Gaussian random variables $X_1$ and $X_2$, which are in general correlated, i.e. $\kappa_2({X_1,X_2})=\langle X_1 X_2\rangle -\langle X_1\rangle\langle X_2\rangle\neq 0 $. I would like to prove that \begin{align} \frac{ \langle X_1 f(X_1) \rangle -\langle X_1 \rangle \langle f(X_1) \rangle }{\kappa_2(X_1)} = \frac{ \langle X_2 f(X_1) \rangle -\langle X_2 \rangle \langle f(X_1) \rangle }{\kappa_2(X_1,X_2)}; \end{align} $f$ is a continuous function. If it helps, you can also assume that it is a finite polynomial function.