I need to derive the profit function for the following CES function: $$ f(z) = (\sqrt{z_{1}^{\rho} + z_{2}^{\rho}})^{1/ \rho}$$ where $\rho \leq 1$. This is the answer that I am supposed to be getting:
If $ \rho <1$ then $$ \pi(w) = \begin{cases} \infty \;\;\;\;\; \text{if} & w_{1}^{\rho/(\rho -1)} + w_{2}^{\rho/(\rho -1)} <1 \\ 0 \;\;\;\;\; \text{if} & w_{1}^{\rho/(\rho -1)} + w_{2}^{\rho/(\rho -1)} \geq 1\ \end{cases} $$
If $\rho = 1$, then:
$$ \pi(w) = \begin{cases} 0 & \text{if} \;\ Min\{w_{1},w_{2}\} \geq 1 \\ \infty & \text{if} \;\; Min\{w_{1},w_{2}\} < 1 \\ \end{cases} $$
Normally I simply use profit maximization or cost minimization FOCs to obtain the profit function, as well as the supply one. But I have been trying to get around this problem and I really cannot get around these results or (of particular importance) how to derive them. That being said any tips, intuition, or just help with the derivation if you're feeling particularly selfless would be greatly appreciated.
Thanks in advance!