The integral is
.

From the pythagorean identity
.
Apply the sum and difference rule of integration :
.

Consider
.
Let
then
.

Power rule of integration :
.

Substitute
in the above equation.

Consider
.

Let
then
.

Substitute
in above equation.

Substitute equation (2) and equation (3) in equation (1).
\Thus,
.
.