The problem as stated in R. Remmert's Theory of Complex Functions p. 62., is this:
Let $f = u + iv$ be holomorphic in the region $G \subseteq \mathbb{C}$ and satisfy $u = h \circ v$ for some differentiable function $h : \mathbb{R} \to \mathbb{R}$. Show that $f$ is constant.
I've attacked this computationally in each way I can think of. I've tried to show that $\frac{\partial f}{\partial z}$ is zero; played with the Laplace equation, knowing that $h \circ v$ and $v$ must be hamonically conjugate, etc. I even considered spinning an argument based on the maximum principle.
It seems obvious, but I have not succeeded in a proof yet. Perhaps I am missing a concept?
We have $$\frac{\partial v}{\partial y}=\frac{\partial u}{\partial x}=\frac{\partial v}{\partial x}\cdot(h'\circ v)$$ and $$-\frac{\partial v}{\partial x}=\frac{\partial u}{\partial y}=\frac{\partial v}{\partial y}\cdot(h'\circ v).$$ Hence $$ \frac{\partial v}{\partial y}\cdot (1+(h'\circ v)^2)=0$$ and the same with the other three partial derivatives. As the sum in parentheses is positive, we conclude tha tall partial derivatives are zero, hence $f$ is constant.