I am trying assignments of complex analysis and need help in this particular question.
Let $u(z)=\Im\frac{(1+z^2)^2}{(1-z^2)^2}$.
- Show that $u$ is harmonic in $U$, the unit disk centered at the origin.
- Show that $\lim\limits_{r\to 1} u(r e^{i\theta}) = 0$ for all $\theta$. Why doesn't this contradict the maximum modulus principle for harmonic functions?
For 1. I proved that it is harmonic by the definition that sum of partial derivatives wrt both $x$ and $y$ is $0$. But is there any other way to prove that it is harmonic as using the definition involves a lot of calculations?
For 2. I tried writing $z=r \sin\theta +i \cos\theta$ and putting $r = 1$ but I don't get zero; instead I get $\frac{i\sin\theta}{ 1+\cos\theta}$.
If I use the maximum modulus principle, I get LHS $=0$ and RHS $=\int_{0}^{2\pi} f(r e^{i\theta}$). I don't understand what contradiction one should expect if limit given above tends to $0$ and why there must be no contradiction?
I request you to kindly shed some light on this.
As $e^{i\theta}=\cos\theta+i\sin\theta$ (you seem to have swapped the two in your post), we have \begin{align}u(re^{i\theta})&=\Im\left(\frac{1+r^2\cos2\theta+ir^2\sin2\theta}{1-r^2\cos2\theta-ir^2\sin2\theta}\right)^2=\Im\left(\frac{(1+ir^2\sin2\theta)^2-(r^2\cos2\theta)^2}{(1-r^2\cos2\theta)^2+(r^2\sin2\theta)^2}\right)^2\\&=\Im\left(\frac{1+2ir^2\sin2\theta-r^4}{1-2r^2\cos2\theta+r^4}\right)^2=\frac{4(1-r^4)r^2\sin2\theta}{1-2r^2\cos2\theta+r^4}\stackrel{r\to1}\longrightarrow0.\end{align} This does not contradict the Maximum Modulus Principle as $u$ has no imaginary part and is not constant, so $u$ is not holomorphic on the unit disc.