Consider the following intergal: $$\int_{0}^{1/2}\frac{e^x(2-x^2)}{(1-x)^{3/2}(1+x)^{1/2}}dx$$
I have tried this by trying to write the numerator as 1 + the product of the below-given functions and then using partial fractions. I've also thought of trying to do some trig substitutions but then that simply gives an exponential raised to a trig ratio etc.
All in all, this integral has beaten me. An online calculator gives the following indefinite value: $$-\frac{\sqrt{1-x}\sqrt{1+x}e^x}{(x-1)} + C$$ While the definite value is: $$\sqrt{3e}-1$$
With the solution, can the answerer also add what came to his mind when he looked at the integral, in the sense of how did he think to approach this problem?
There must obviously be some features of this expression that more experienced people can see and hence can guess the method which might work. I want to know what such features have been identified while solving this. On the other hand, if there is just a normal standard way of solving this. I would love to know that too!