We have been told that the antiderivative can be written in the form
∫x5e−x2dx=g(x)e−x2+c,
where c is the constant of integration.
In order to determine the value of g(−1) we will first find an explicit expression for the function g(x).
Differentiate both sides with respect to x.
The derivative of the left-hand side is obviously the integrand itself, while on the right-hand side we must apply the product rule:
dxd[g(x)e−x2]=g′(x)e−x2+g(x)dxd(e−x2).
Since dxd(e−x2)=e−x2⋅(−2x), we obtain
g′(x)e−x2−2xg(x)e−x2=x5e−x2.
Because the common factor e−x2 is never zero, we can divide it out, giving the first-order linear differential equation
g′(x)−2xg(x)=x5.−(1)
This equation can be solved either by the integrating-factor method or by an intelligent guess that g(x) should be a polynomial.
A direct polynomial approach is quicker here.
Assume that g(x) is a polynomial in x.
The right-hand side of (1) is of degree 5, so let us seek g(x) of the form
g(x)=Ax4+Bx2+C,
where A,B,C are constants to be determined.
Compute the derivative:
g′(x)=4Ax3+2Bx.
Next, compute the term −2xg(x) explicitly:
−2xg(x)=−2x(Ax4+Bx2+C)=−2Ax5−2Bx3−2Cx.
Add the two results to get the left side of (1):
g′(x)−2xg(x)=(4Ax3+2Bx)+(−2Ax5−2Bx3−2Cx).
Collect like powers of x:
x5x3x1:;;−2A,:;;4A−2B,:;;2B−2C.$
Equation (1) requires this polynomial to equal x5, i.e. to have coefficient 1 for x5 and coefficient 0 for every other power.
Thus we get the system of equations
−2A4A−2B2B−2C=1,=0,=0.$
Solve one by one:
From −2A=1 we obtain A=−21.
Substituting A=−21 in 4A−2B=0 gives
4(−21)−2B=0⟹−2−2B=0⟹B=−1.
Using B=−1 in 2B−2C=0 yields
2(−1)−2C=0⟹−2−2C=0⟹C=−1.
Therefore
g(x)=Ax4+Bx2+C=−21x4−x2−1.\
Now evaluate this expression at x=−1:
g(−1)=−21(−1)4−(−1)2−1=−21(1)−1−1=−21−2=−25.$
Hence, the correct answer is Option A.