Problem 977: (2012 AIME II, 6)
Let $z=a+bi$ be the complex number with $\vert z \vert = 5$ and $b > 0$ such that the distance between $(1+2i)z^3$ and $z^5$ is maximized, and let $z^4 = c+di$. Find $c+d$.
- $|(1+2i)z^3-z^5|=|z|^3\,|(1+2i)-z^2|=125\,|(1+2i)-z^2|$, with $|z^2|=25$.
- This is largest when $z^2$ points opposite to $1+2i$, so $z^2=-\frac{25}{\sqrt5}(1+2i)$.
- $z^4=125(1+2i)^2=-375+500i$, so $c+d=125$. The answer is $\boxed{125}$.
Let $z=a+bi$ be the complex number with $\vert z \vert = 5$ and $b > 0$ such that the distance between $(3+4i)z^3$ and $z^5$ is maximized, and let $z^4 = c+di$. Find $c+d$.