We want to find the integral of the function 2xcos(x2). We know the integral of the function cosx, but not that of cos(x2) or 2xcos(x2) We can see that the derivative of x2, i.e 2x, is also part of the given function. This is the hint for making the substitution x2=t. Differentiating this, we get ,
dt=2x dx⇒∫2xcos(x2)dx=∫cos(t)dt=sint+C.
We will now replace t with x2.
So we get, f(x)=sin(x2)+C
We are given,
f(0)=0⇒C=0
We want to find f(√π)
f(√π)=sin(√π)2=sinπ=0