An interesting way to evaluate would be to consider trying to evaluate in two different ways (just for convenience I'll leave out the integration constants).

Obviously, a substitution of the form is appropriate, giving

Now let's suppose we didn't know that this substitution is appropriate, we could attempt using integration by parts, with and , giving

So equating the two answers gives

and thus we can conclude