Lably
Skip to content

Tangent half-angle substitution

Change of variable for integrals involving trigonometric functions

  • 3 min read
  • 5 chapters

Related on Lably

Through Antiderivative, Trigonometric functions and Unit circle

∫f(sin⁡x,cos⁡x)dx=∫f(2t1+t2,1−t21+t2)2dt1+t2.

The tangent of half an angle is important in spherical trigonometry and was sometimes known in the 17th century as the half tangent or semi-tangent. Leonhard Euler used it to evaluate the integral ∫dx/(a+bcos⁡x) in his 1768 integral calculus textbook, and Adrien-Marie Legendre described the general method in 1817.

The substitution is described in most integral calculus textbooks since the late 19th century, usually without any special name. It is known in Russia as the universal trigonometric substitution, and also known by variant names such as half-tangent substitution or half-angle substitution. It is sometimes misattributed as the Weierstrass substitution. Michael Spivak called it the "world's sneakiest substitution".

The substitution

Introducing a new variable t=tan⁡x2, sines and cosines can be expressed as rational functions of t, and dx can be expressed as the product of dt and a rational function of t, as follows: sin⁡x=2t1+t2,cos⁡x=1−t21+t2,anddx=21+t2dt.

Similar expressions can be written for tan x, cot x, sec x, and csc x.

Derivation

Using the double-angle formulas sin⁡x=2sin⁡x2cos⁡x2 and cos⁡x=cos2⁡x2−sin2⁡x2 and introducing denominators equal to one by the Pythagorean identity 1=cos2⁡x2+sin2⁡x2 results in

sin⁡x=2sin⁡x2cos⁡x2cos2⁡x2+sin2⁡x2=2tan⁡x21+tan2⁡x2=2t1+t2,cos⁡x=cos2⁡x2−sin2⁡x2cos2⁡x2+sin2⁡x2=1−tan2⁡x21+tan2⁡x2=1−t21+t2.

Finally, since t=tan⁡x2, differentiation rules imply

dt=12(1+tan2⁡x2)dx=1+t22dx, and thus dx=21+t2dt.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Calculus and analysis