I'm trying to solve the following
Show that there is no non constant analytic function in the unit disc such that $f(z)=f(2z)$.
My try: let $f$ be an analytic function in the unit disk such that $f(z)=f(2z)$.
Now, we can write $\displaystyle f\left(\frac{z}{2}\right)=f(z)$. The function is analytic, hence we can write $f(z)=\sum_{n=0}^{\infty}a_n z^n$. We have $\displaystyle \left|\frac{z}{2}\right|\le \left|z\right|<R$ where $R$ is the radius of convergence, thus $\displaystyle f\left(\frac{z}{2}\right)=\sum_{n=0}^{\infty}\frac{a_n}{2^n}z^n$.
Equating coefficients we get $\displaystyle \forall n: \frac{a_n}{2^n}=a_n$, thus we have $\forall n>0:a_n=0$, i.e $f(z)=a_0$, i.e $f$ is constant.
Is my reasoning correct? Why should we notice the unit disk?
Thank you!