Let $X_1, X_2$ be independent real random variables. Does there exist a non-zero measurable function $f:\mathbb{R}\to\mathbb{R}$ such that $$\frac{f(X_1)}{X_1+X_2}\text{ is independent of }X_1?$$
I am especially interested in the case when $X_1, X_2$ are continuous, but we do not assume anything else about them.
My ideas are the following: if $\frac{f(X_1)}{X_1+X_2 }$ does not depend on $X_1$, then $\frac{f(X_1)}{X_1+X_2}=g(X_2)$. Rewriting this we get $X_1+X_2 = f(X_1)g^{-1}(X_2)$. But on the left-hand side, we have a sum, and on the right side a product. Hence, that's a contradiction. However, these steps are not rigorous and I am not really sure if I can make them. Especially, the existence of $g$ probably does not hold.
e.g. suppose that $X_i$ are independent standard normal variables, and
– Yuval Peres Sep 24 '22 at 01:08$$ \Psi(X_1,X_2)=X_2 \cdot \text{sgn}(X_1) ,.$$