Evaluate the following integral:



2x = A(x2 + x + 1) + (Bx + C)(x – 1)


= (A + B)x2 + (A – B + C)x + (A – C)


Equating constants,


A – C = 0


Equating coefficients of x


2 = A – B + C


Equating coefficients of x2


0 = A + B


On solving,


We get








40