Evaluate the following integral: $$\int\frac{\sqrt{x^2+2x+5}}{x^2-6x+5}\mathrm dx$$
Context: In my differential equations class, one of the questions we were given involved the integral $$\int\frac{\sqrt{x^2+1}}{x^2}\mathrm dx$$ My teacher evaluated it by rationalizing the numerator:
$$\int\frac{\sqrt{x^2+1}}{x^2}\mathrm dx$$ $$=\int\frac{x^2+1}{x^2\sqrt{x^2+1}}\mathrm dx$$ $$=\int\frac{\mathrm dx}{\sqrt{x^2+1}}+\int\frac{\mathrm dx}{x^2\sqrt{x^2+1}}$$
Now, it becomes doable. While going through this question, I started pondering about integrals of the type $\displaystyle\int\frac{\sqrt{Q_1}}{Q_2}\mathrm dx$ where $Q_1$ and $Q_2$ are quadratic functions in $x$. Hence, I took an example of such a form and thought of posting it on this site along with my approach, and inviting others' suggestions and strategies as well.
Kindly note that this is a self-answered post. Your comments and alternative methods are highly appreciated.