Question
Mathematics Question on integral
If ∫(1+x)2xexdx=exf(x)+c, then f(x) is equal to
A
(1+x)21
B
(1+x)x
C
(1+x)1
D
(1+x)2x
Answer
(1+x)1
Explanation
Solution
∫(1+x)2xexdx=∫ex(1+x)2(x+1−1)dx
=∫ex[x+11−(x+1)21]dx
This is a type of ∫ex(f(x)+f′(x))dx=exf(x)+c
∴∫ex[x+11−(x+1)21]dx=ex(x+11)+c
Hence, f(x)=x+11