(a) When x=3,
F(3)Using the Fundamental Theorem of Calculus Part 2,=∫0333sin(t) dt=27∫03sint dt=27[−cost]t=0t=3=27[−cos3−(−cos0)]=27(1−cos3)
(b) Since the integration is with respect to t, the x3 term can be moved outside the integral. That is: for the purposes of the integral, x3 is a constant (although for the purposes of the derivative, it certainly is not).
F(x)Using the product rule and the Fundamental Theorem of Calculus Part 1,F′(x)=∫0xx3sin(t) dt=x3∫0xsin(t) dt=x3⋅sin(x)+3x2∫0xsin(t) dt=x3sin(x)+3x2[−cos(t)]t=0t=x=x3sin(x)+3x2[−cos(x)−(−cos(0))]=x3sin(x)+3x2[1−cos(x)]
Remark: Since x and t play different roles in our problem, it's crucial that they have different names. This is one reason why we should avoid the common mistake of writing ∫axf(x)dx when we mean ∫axf(t)dt.