<s>[INST] Integral: $I=\int\limits_{0}^{1}\dfrac{x^2dx}{\sqrt{3+2x-x^2}}$ Evaluate: $\displaystyle I=\int\limits_{0}^{1}\dfrac{x^2dx}{\sqrt{3+2x-x^2}}$
 [/INST] As $\displaystyle\frac{x^2}{3+2x-x^2}=\frac{x^2}{2^2-(x-1)^2}$ and we are dealing with definite integral
I would like to use Trigonometric substitution $\displaystyle x-1=2\sin u$ from the very start as we don't need to get back to $x$ again
When $\displaystyle x=0,\sin u=-\frac12\implies u=-\frac\pi6$ and when $\displaystyle x=1,\sin u=0\implies u=0$ based on the definition of the principal value of sine inverse
$\displaystyle\implies\cos u>0 $
$$\int_0^1\frac{x^2}{\sqrt{3+2x-x^2}}dx=\int_0^{-\frac\pi6}\frac{(1+2\sin u)^2}{+2\cos u}2\cos udu=\int_0^{-\frac\pi6}(1+2\sin u)^2du$$
Now, $\displaystyle(1+2\sin u)^2=1+4\sin u+4\sin^2u=1+4\sin u+2(1-\cos2u)$ (using $\cos2A=1-2\sin^2A$)
$\displaystyle\implies(1+2\sin u)^2=3+4\sin u-2\cos2u$
Can you take it home from here?
</s>