Integral $\int \arcsin \left(\sqrt{\frac{x}{1-x}}\right)dx$ $$\int \arcsin\left(\sqrt{\frac{x}{1-x}}\right)dx$$
I'm trying to solve this integral from GN Berman's Problems on a course of mathematical analysis (Question number 1845)
I tried substituting $x$ for $t^2$:
$$2\int t\arcsin\left(\frac{t}{\sqrt{1-t^2}}\right) dt$$
And then evaluating it by parts, which made it very complicated.
So how do I go about solving this?

Here is a nice solution that utilizes symmetry instead of $u$ susbsitution. Notice that the domain of this function is at most $\left[0,\frac{1}{2}\right]$, so for the moment let's define
$$F(x) \equiv \int_0^x \arcsin\left(\sqrt{\frac{t}{1-t}}\right)\:dt$$
We could do this integral directly, or since the integrand has a fixed point at $0$, note that the integral is the same as the area of the box $x \cdot \arcsin\left(\sqrt{\frac{x}{1-x}}\right)$ minus the integral of the inverse function:
$$F(x) = x \arcsin\left(\sqrt{\frac{x}{1-x}}\right)  - \int_0^{\arcsin\left(\sqrt{\frac{x}{1-x}}\right)} 1 - \frac{1}{1+\sin^2 y}\:dy$$
$$= (x-1) \arcsin\left(\sqrt{\frac{x}{1-x}}\right)  + \int_0^{\arcsin\left(\sqrt{\frac{x}{1-x}}\right)}\frac{1}{\cos^2y+2\sin^2 y}\:dy$$
The integral reduces to
$$\int_0^{\arcsin\left(\sqrt{\frac{x}{1-x}}\right)}\frac{\sec^2y}{1+2\tan^2 y}\:dy = \frac{1}{\sqrt{2}}\arctan\left(\sqrt{2}\tan y\right)\Biggr|_0^{\arcsin\left(\sqrt{\frac{x}{1-x}}\right)}$$ 
$$ = \frac{1}{\sqrt{2}}\arctan\left(\sqrt{\frac{2x}{1-2x}}\right)$$
which gives us a final answer of 
$$F(x) = (x-1) \arcsin\left(\sqrt{\frac{x}{1-x}}\right)+\frac{1}{\sqrt{2}}\arctan\left(\sqrt{\frac{2x}{1-2x}}\right)$$
making the most general antiderivative
$$\int \arcsin\left(\sqrt{\frac{x}{1-x}}\right)\:dx = (x-1) \arcsin\left(\sqrt{\frac{x}{1-x}}\right)+\frac{1}{\sqrt{2}}\arctan\left(\sqrt{\frac{2x}{1-2x}}\right) + C$$
This solution has the benefit of not having complicated substitutions to undo, like the other solutions have, but we got lucky since this technique will not always work (what are the odds of the inverse function being more easily integrable than the original?)
