Material by the IntegralPaso project. Conditions and limits are stated in each guide; external teaching review is pending.
Transform a rational function of sin x and cos x into a rational function of t. Use dx=2dt/(1+t²) and rational integration techniques. Work on intervals where tan(x/2) is defined.
Common mistake
The substitution is general for rational trigonometric functions but may produce a long fraction.
Step-by-step example
Introduce t and transform 1+cos x.
Substitute dx too.
Return to x and retain exclusions.