
William W. answered 01/30/20
Experienced Tutor and Retired Engineer
To find the antiderivative, first replace the denominator (using the Pythagorean Identity sin2(x) + cos2(x) = 1) with cos2(x). Then do a "u" substitution by letting u = cos(x). Then du = -sin(x) dx or dx = du/-sin(x). The integral becomes:
The sin(x) on top and bottom cancel and you can bring the negative out front to get
-∫u-2 du and the antiderivative of that is u-1 or 1/u. Now replace u with cos(x) to get 1/cos(x) + C = sec(x) + C