The correct option is B Both Assertion and Reason are correct but Reason is not the correct explanation for Assertion
Given ∫sec(logx)(1+tan(logx))dx=f(x)+C ....(1)
Consider, I=∫sec(logx)(1+tan(logx))dx
Putting logx=t
dx=etdt
I=∫et(sect+secttant)dt
=etsect+C (∵∫ex(f(x)+f′(x))=ef(x)+C)
=xsec(logx)+C
So, by (1), we get
f(x)=xsec(logx)
∴ Assertion (A) is true.
Reason(R): ∫{f(x)+xf′(x)}dx
=∫f(x)dx+∫xf′(x)dx
=f(x)+xf(x)−∫1.f(x)dx
=xf(x)+C
∴ Reason (R) is also true but not the proper explanation for Assertion (A).