The correct option is A Both Assertion and Reason are correct and Reason is the correct explanation for Assertion
∫ex(tanx+sec2x)dx
=∫extanxdx+∫exsec2xdx
=tanx∫exdx−∫(ddx(tanx)∫exdx)dx+∫exsec2xdx
=extanx−∫exsec2xdx+∫exsec2xdx
=extanx+C
∫ex(tanx+sec2x)dx=extanx+C
Hence, assertion is correct.
Reason:∫ex(f(x)+f′(x))dx=exf(x)+C
∫ex(f(x)+f′(x))dx=∫exf(x)dx+∫exf′(x)dx
=exf(x)−∫exf′(x)dx+∫exf′(x)dx
=exf(x)+C
Hence, reason is correct and also the explanation for assertion