Here is the question I am trying to solve:
Let $f$ be an entire function and suppose $|f(z)| = |z|$ for $|z| < 1.$ Prove that $f(z) = \lambda z$ for some $\lambda \in \mathbb C$ with $|\lambda = 1.|$
And a solution is given in the following link:
Prove that an entire function $f$ is of the form $f(z)=\lambda z$, where $|\lambda| =1$
I am pasting it below:
Let's use nothing special.
With $f$ entire, suppose $U\subset\Bbb C$ is open and $|f(z)|=|z|$ for all $z\in U$. For $0\ne z_0\in U$, write $$ f(z_0+h)=uz_0+\lambda h + h^2g(h)$$ where $u=\frac{f(z_0)}{z_0}\in S^1$, $\lambda =f'(z_0)$, and $g$ is continuous and therefore bounded in a neighbourhood of $z_0$. Let $h=tz_0$ with $t\in(-1,1)$. Then $$\begin{align}(1+t)|z_0|&=|z_0+h| \\&=|f(z_0+h)|\\&=|uz_0+\lambda tz_0+t^2z_0^2g(h)|\\&\approx |u_0+\lambda t||z_0|\\&=\left|1+\frac\lambda ut\right||z_0|\end{align}$$ (where "$\approx$" means "up to $O(t^2)$"). This is possible only when $\lambda=u$.
This means $f(z)=zf'(z)$ for all $z\in U$, so $$(\ln f(z))'=\frac{f'(z)}{f(z)}=\frac 1z=(\ln z)'$$ $$\ln f(z)=\ln z+\textit{const} $$ $$\tag1 f(z)= z\cdot\textit{const} $$ and the last constant is clearly of modulus $1$.
As $f$ is entire, $(1)$ must hold throughout.
Here are my questions:
1- What is the intuition behind defining $f$ like this $ f(z_0+h)=uz_0+\lambda h + h^2g(h)$?
2- I do not understand what exactly the author of the solution is trying to do to prove the required, can someone tell me the general idea?