Evaluate the following integral: $$\int \frac{\sqrt{x^2-4x+3}}{x^2+x+1} dx$$
I attempted by multiplying and dividing by the term $\sqrt{x^2-4x+3}$ in the numerator and the denominator and split the numerator $x^2-4x+3$ as follows: $$\frac{\sqrt{x^2-4x+3}}{x^2+x+1}$$ $$=\frac{x^2-4x+3}{\sqrt{x^2-4x+3}(x^2+x+1)}$$ $$=\frac{A(x^2+x+1)+B(x-\omega)+C(x-\omega^2)+D}{\sqrt{x^2-4x+3}(x^2+x+1)}$$ $$$$ where $\omega=e^\frac{2i\pi}{3}$. From here, I got:
$$A=1, B=C=\frac{-5}{2}, D=\frac{9}{2}$$
The integrals involving $A$ and $D$ are straightforward, but I am having problems in solving $B$ and $C$. I tried the substitution $x-\omega^2=\frac{1}{t}$ for the $B$ one and $x-\omega=\frac{1}{t}$ for the $C$ one, but I am getting tedious and lengthy expressions in complex numbers. Is there any shorter way to proceed further or any alternative way to approach this integral?