Integration by Parts — Question 8

PDF ↗

Question 8

Reverse engineer an antiderivative by finding a quadratic polynomial P(x)P(x) such that ddx[exP(x)]=ex(x2+1).\frac{d}{dx}\left[e^xP(x)\right]=e^x(x^2+1). Determine P(x)P(x) and verify that it satisfies the equation.

Original worksheet page 1: question and worked solution for 1-1-008
Show solutionHide solution

Question 8 – Solution

We want to choose P(x)P(x) so that differentiating exP(x)e^xP(x) produces the given expression. By the product rule, ddx[exP(x)]=exP(x)+exP′(x)=ex(P(x)+P′(x)).\begin{align*} \frac{d}{dx}\left[e^xP(x)\right] &=e^xP(x)+e^xP'(x) \\ &=e^x\bigl(P(x)+P'(x)\bigr). \end{align*} Thus, the required identity ddx[exP(x)]=ex(x2+1)\frac{d}{dx}\left[e^xP(x)\right]=e^x(x^2+1) will hold if P(x)+P′(x)=x2+1.P(x)+P'(x)=x^2+1. \tag{1}

Because PP is quadratic, write P(x)=ax2+bx+c,P(x)=ax^2+bx+c, where aa, bb, and cc are constants. Then P′(x)=2ax+b.P'(x)=2ax+b. Adding P(x)P(x) and P′(x)P'(x) gives P(x)+P′(x)=(ax2+bx+c)+(2ax+b)=ax2+(b+2a)x+(c+b).\begin{align*} P(x)+P'(x) &=(ax^2+bx+c)+(2ax+b) \\ &=ax^2+(b+2a)x+(c+b). \end{align*} Equation (1) requires this polynomial to equal x2+1=1x2+0x+1.x^2+1=1x^2+0x+1. Matching coefficients of like powers of xx yields a=1,coefficient of x2,b+2a=0,coefficient of x,c+b=1,constant term.\begin{array}{rcll} a&=&1, & \text{coefficient of }x^2,\\ b+2a&=&0, & \text{coefficient of }x,\\ c+b&=&1, & \text{constant term}. \end{array} Solve the equations in order. Since a=1a=1, b+2(1)=0⇒b=−2.b+2(1)=0 \qquad\Longrightarrow\qquad b=-2. Then c+(−2)=1⇒c=3.c+(-2)=1 \qquad\Longrightarrow\qquad c=3. Therefore, P(x)=x2−2x+3.\boxed{P(x)=x^2-2x+3}.

Finally, verify the result. Since P′(x)=2x−2P'(x)=2x-2, ddx[ex(x2−2x+3)]=ex(x2−2x+3)+ex(2x−2)=ex(x2−2x+3+2x−2)=ex(x2+1),\begin{align*} \frac{d}{dx}\left[e^x(x^2-2x+3)\right] &=e^x(x^2-2x+3)+e^x(2x-2) \\ &=e^x\bigl(x^2-2x+3+2x-2\bigr) \\ &=e^x(x^2+1), \end{align*} which is the required expression.

Original worksheet page 2: question and worked solution for 1-1-008

Original worksheet layout. Use Enlarge or open the PDF for a closer view.