The integral is .
Subustiute .
Apply derivative on each side.
.
Change of integral limits :
If then .
Limits of integration will change from to .
Pythagorean identity : .
Double angle identity : .