TeX source:
q_z = \left\{\begin{matrix} 1 \; \mathrm{if \; p \leq q} \\ (q/p)^z \; \mathrm{if \; p > q} \end{matrix}\right.