I don't have any experience working with radicals, but I'm working on a function that requires products of nth roots to be positive or negative, depending on the number of negative factors.
I've done some initial research, and reviews these Stack questions: Square roots — positive and negative and The Product Rule of Square Roots with Negative Numbers but I couldn't find the information I was seeking (or am not fully understanding the answers.)
Are the following expressions true? If not, how can I produce the those results?
$\sqrt[2]{1*-1} = -1$
$\sqrt[3]{1*1*-1} = -1$
$\sqrt[3]{1*-1*-1} = 1$
[update] This is what the function does:
$\sqrt[n]{\overline{\Delta_1}*\overline{\Delta_2} *...*\overline{\Delta_n}} \text{ }*\text{ } \frac{\overline{\Delta_1}*\overline{\Delta_2} *...*\overline{\Delta_n}}{\Delta_1*\Delta_2*...*\Delta_n}$
such that if there are an odd number of negative factors, the product is negative, otherwise positive.
- Is there a more compact way to express this?
also, any tips on notation are appreciated.