Given that
2x2−x+1x+1≡Ax+B+Cx+1\displaystyle \frac{2x^2 - x + 1}{x + 1} \equiv Ax + B + \frac{C}{x + 1}x+12x2−x+1≡Ax+B+x+1C, x≠−1x \neq -1x=−1
find the values of the constants AAA, B B\,B and CCC.
Hence, using algebraic integration, find the exact value of
∫072x2−x+1x+1 dx\displaystyle\int_0^7 \frac{2x^2 - x + 1}{x + 1}\,dx∫07x+12x2−x+1dx
giving your answer in the form a+bln2a + b\ln 2a+bln2, where a a\,a and b b\,b are integers to be found.