Let
f be twice differentiable on
[0,1] with
f(0)=1,
f(1)=4 and
∫01f(x)dx=613. Then
∫01(x2−x)f′′(x)dx equals
Show answer and solution
Answer: (D) −32
Integrate by parts twice, treating
f′′ as the derivative. First,
∫01(x2−x)f′′dx=[(x2−x)f′]01−∫01(2x−1)f′dx. The boundary term vanishes since
x2−x=0 at both ends. Next,
∫01(2x−1)f′dx=[(2x−1)f]01−2∫01fdx=(f(1)+f(0))−2⋅613=5−313=32. Hence the required integral is
−32. Check with
f=1+x+2x2:
f′′=4 and
4∫01(x2−x)dx=−32. The idea is that integrating by parts moves derivatives off
f′′ onto the polynomial weight, and choosing the weight
x2−x kills the boundary terms, so only the given data on
f(0),
f(1) and the integral of
f are needed.