JEE Main 2021 Mathematics question — Integration by substitution
If ∫(x2+x+1)2dx=atan−1(32x+1)+b(x2+x+12x+1)+C,x>0 where C is the constant of integration, then the value of 9(3a+b) is equal to _________.
SOLUTION
We begin with the information that
∫(x2+x+1)2dx=atan−1(32x+1)+b(x2+x+12x+1)+C,
where C is the constant of integration.
If we denote the right-hand side (without the constant) by F(x), then by the Fundamental Theorem of Calculus we must have
F′(x)=dxd[F(x)]=(x2+x+1)21.
So let us differentiate F(x) term by term and equate the result to the required integrand.
To compare the two, multiply every term by (x2+x+1)2 so that denominators disappear:
233a(x2+x+1)+b(−2x2−2x+1)=1.
Because this identity must hold for every real x, the coefficients of the like powers of x on both sides must be identical.
Write the left-hand side explicitly as a polynomial:
(233a)x2+(233a)x+(233a)−2bx2−2bx+b=1.
Now equate coefficients.
Coefficient of x2:
233a−2b=0.
Coefficient of x:
233a−2b=0.
(This is the same equation again, as expected.)
Constant term:
233a+b=1.
From the first equation we obtain
233a=2b⟹3a=4b3.
Substitute 233a=2b into the constant term equation: