The substitution method of integration is often tricky for students. Here we do a few examples involving trig functions. The trick is to choose a substitution in which the derivative of your chosen substitution can be found elsewhere in the integral. You'll know you have it right when all the x's are replaced by u's.