$$\int \frac{x+3}{\sqrt{-x^2-4x+5}} \, dx$$
first $-x^2-4x+5=-(x+2)^2+9$
$$\int \frac{x+3}{\sqrt{9-(x+2)^2}}\, dx =\frac{1}{3}\int \frac{x+3}{\sqrt{1-(\frac{x+2}{3})^2}} \, dx$$
How should I continue from here?
$$\int \frac{x+3}{\sqrt{-x^2-4x+5}} \, dx$$
first $-x^2-4x+5=-(x+2)^2+9$
$$\int \frac{x+3}{\sqrt{9-(x+2)^2}}\, dx =\frac{1}{3}\int \frac{x+3}{\sqrt{1-(\frac{x+2}{3})^2}} \, dx$$
How should I continue from here?
On
Put $x+2=3t$ and then the integral becomes $$\int{\frac{3t+1}{\sqrt{1-{{t}^{2}}}}\,dt}=\int{\frac{3t\,dt}{\sqrt{1-{{t}^{2}}}}}+\int{\frac{dt}{\sqrt{1-{{t}^{2}}}}}.$$
I'm sure you can take it from there.
On
Arrange it so you have the derivative of the square-rooted expression on the top line, leaving a numerical remainder as the numerator of a second integral.
Note that $$\int\frac{f'(x)}{\sqrt{f(x)}}dx=2\sqrt{f(x)}$$ is useful here.
Therefore $$I=-\frac 12\int\frac{-2x-4}{\sqrt{-x^2-4x+5}}dx+\int\frac{1}{\sqrt{9-(x+2)^2}}dx$$ $$=-\sqrt{-x^2-4x+5}+\arcsin\left(\frac{x+2}{3}\right)+c$$
$$\frac{1}{3}\int \frac{x+3}{\sqrt{1-(\frac{x+2}{3})^2}} \, dx$$ Let $ u = (x+2)/3 $ and $ du = (1/3) dx$ then we have $$\int \frac{3u + 1}{\sqrt{1-(u)^2}} \, du.$$
Now what happens if you substitute $u = \sin(v)$?