Question
Question: If we have the integral \(\int{{{x}^{5}}{{e}^{-{{x}^{2}}}}dx}=g\left( x \right){{e}^{-{{x}^{2}}}}+C\...
If we have the integral ∫x5e−x2dx=g(x)e−x2+C, then the value of g(-1) is
[a] 2−5
[b] 1
[c] 21
[d] -1
Solution
Put −x2=t and hence prove that ∫e−x2x5dx=−21∫t2etdt. Use integration by parts and hence evaluate the integral. Revert back to the original variable and equate the expression to e−x2g(x)+C. Compare like terms and hence find the value of g(x). Hence find the value of g(-1).
Complete step-by-step solution:
Let I=∫x5e−x2dx
Put −x2=t
Differentiating with respect to x, we get
−2xdx=dt⇒xdx=2−dt
Hence, we have
I=∫x5e−x2dx=∫e−x2(−x2)2xdx=∫ett2(2−dt)=−21∫t2etdt
We know that if ∫f(x)dx=u(x) and dxd(g(x))=v(x), then
∫f(x)g(x)dx=g(x)u(x)−∫v(x)u(x)dx. This is known as integration by parts rule. The function f(x) is called the second function and the function g(x) is called the first function.
Taking f(t)=et and g(t)=t2.
We have
∫f(t)dt=∫etdt=et and dtd(g(t))=2t
Hence, we have
I=2−1(t2et−2∫tetdt)
Again applying integration by parts taking f(x)=et and g(x)=t, we get
I=−2t2et+tet−∫etdt=−2t2et+tet−et+C=et(2−t2+t−1)+C
Reverting to original variable, we get
I=e−x2(2−x4−x2−1)+C
Hence, we have
g(x)e−x2=e−x2(2−x4−x2−1)⇒g(x)=(2−x4−x2−1)
Hence, we have
g(−1)=(2−1−1−1)=2−5
Hence option [a] is correct.
Note: Alternative Solution:
We can simplify the integral ∫t2etdt using the fact that ∫ex(f(x)+f′(x))=exf(x)+C
We have
∫t2etdt=∫et(t2+2t−2t−2+2)dt=∫et(t2+2t)dt+∫et(−2t−2)dt+2∫etdt=t2et−2tet+2et+C
Which is the same as obtained above.