Question: How can I suppress simplify factoring out -1?

I am going to simplify the following formula:


I wrote simplify(sqrt(a^2*p*(1-p)*(N-n)/(n^2*(N-1))),symbolic), the output was:


The command did a bit, but it factored -1 out, that is unexpected.

In current case, I*sqrt(-1+p)=sqrt(p-1), the I is unwanted.

How can I suppress the command factoring out the -1?

I tried other options of simplify such as size, they didn't help.

Please Wait...