If we convert the denominator of the integral into a perfect square, ∫1x2 − x + 1dx then the correct integral will be
∫1(x − 1/2)2 + 3/4dx
We know that ax2 + bx + c can also be written as a [(x + b/2a)2 + c/a − b2/4a2] by completing squares, which we learnt in quadratic equations. We'll apply the same formula here. In the question given here, a = 1, b = -1, c = 1
So, x2 − x + 1 = 1[(x − 1/2)2 + 1 − 1/4]
or x2 − x + 1 = [(x − 1/2)2 + 3/4]
The given integral ∫1x2 − x + 1dx can be written as ∫1(x − 1/2)2 + 3/4dx