Let $z = x + iy$, where $x, y \in \mathbb{R}$. Then, we have $\text{Im}(z) = y$ and we want to find all analytic functions $f(z)$ such that $\text{Re}(f(2)) = y$.
Since $f(z)$ is analytic, it satisfies the Cauchy-Riemann equations. Let $f(z) = u(x, y) + iv(x,
Show more…