Note that √((1 - x)/x) is defined only as long as 0 < x ≤ 1.
Consider a right triangle with reference angle θ such that

In other words, on an appropriate domain,

In such a triangle, you would find that

so f(x) reduces a bit to

Now consider another triangle with reference angle ɸ such that

In this triangle, you would find

Recalling the double angle identity for cosine, it follows that

Differentiating with respect to x yields

while

It follows that

so B is the correct choice.