How do I make sums full size in cases?

Jul 2006
364
44
I.e. in the following, the sums are inline, but I'd like them larger.

\(\displaystyle f(z)=\begin{cases}-\frac{1}{z-2}\sum_{n=0}^\infty \left(\frac{z-2}{2}\right)^2, & \text{for}~ |z-2|<2

\\ \frac{2}{(z-2)^2} \sum_{n=0}^\infty \left(-\frac{2}{z-2}\right)^2, &\text{for}~|z-2|>2
\end{cases}\)

Is it possible?
 
Jul 2009
555
298
Zürich
I.e. in the following, the sums are inline, but I'd like them larger.

\(\displaystyle f(z)=\begin{cases}-\frac{1}{z-2}\sum_{n=0}^\infty \left(\frac{z-2}{2}\right)^2, & \text{for}~ |z-2|<2

\\ \frac{2}{(z-2)^2} \sum_{n=0}^\infty \left(-\frac{2}{z-2}\right)^2, &\text{for}~|z-2|>2
\end{cases}\)

Is it possible?
If you add \displaystyle to the two cases, you get this:

\(\displaystyle f(z)=\begin{cases}\displaystyle-\frac{1}{z-2}\sum_{n=0}^\infty \left(\frac{z-2}{2}\right)^2, & \text{for}~ |z-2|<2

\\ \displaystyle\frac{2}{(z-2)^2} \sum_{n=0}^\infty \left(-\frac{2}{z-2}\right)^2, &\text{for}~|z-2|>2
\end{cases}\)