Let's say I have a complex-valued function $f(z) = \sqrt{z}$. When I plug $z = 1$ into it, it returns 1. I need it to return a list $\{-1,1\}$. Is it possible to force Mathematica to do that? I know it's possible to do that by solving $z^2 = 1$, but it involves finding inverse function to $\sqrt{z}$ first. And I don't want to do that.
f[x_, y_] := x^(1/2) + y^(1/3)
. What I would like to get then, is a list of six values (two possible square roots combined with each of the three possible cubic roots). $\endgroup$ – LLlAMnYP Aug 11 '15 at 14:08±Sqrt
. So the answer would simply bef[z_] := {-1, 1} Sqrt[z]
. If that is not the answer, then the Q is unclear. $\endgroup$ – Michael E2 Aug 11 '15 at 16:33