The substitution is described in most integral calculus textbooks since the late 19th century, usually without any special name.[5] It is known in Russia as theuniversal trigonometric substitution,[6] and also known by variant names such ashalf-tangent substitution orhalf-angle substitution. It is sometimes misattributed as theWeierstrass substitution.[7]Michael Spivak called it the "world's sneakiest substitution".[8]
The tangent half-angle substitution relates an angle to the slope of a line.
Introducing a new variable sines and cosines can be expressed asrational functions of and can be expressed as the product of and a rational function of as follows:
Similar expressions can be written fortanx,cotx,secx, andcscx.
We can confirm the above result using a standard method of evaluating the cosecant integral by multiplying the numerator and denominator by and performing the substitution.
A naïve approach splits the interval and applies the substitution. However, this substitution has a singularity at, which corresponds to a vertical asymptote. Therefore, the integral must be split at that point and handled carefully:
Note: The substitution maps to and to. The point corresponds to a vertical asymptote in, so the integral is evaluated as a limit around this point.
Alternatively, we can compute the indefinite integral first:
The tangent half-angle substitution parametrizes theunit circle centered at (0, 0). Instead of +∞ and −∞, we have only one ∞, at both ends of the real line. That is often appropriate when dealing with rational functions and with trigonometric functions. (This is theone-point compactification of the line.)
Asx varies, the point (cos x, sin x) winds repeatedly around theunit circle centered at (0, 0). The point
goes only once around the circle ast goes from −∞ to +∞, and never reaches the point (−1, 0), which is approached as a limit ast approaches ±∞. Ast goes from −∞ to −1, the point determined byt goes through the part of the circle in the third quadrant, from (−1, 0) to (0, −1). Ast goes from −1 to 0, the point follows the part of the circle in the fourth quadrant from (0, −1) to (1, 0). Ast goes from 0 to 1, the point follows the part of the circle in the first quadrant from (1, 0) to (0, 1). Finally, ast goes from 1 to +∞, the point follows the part of the circle in the second quadrant from (0, 1) to (−1, 0).
Here is another geometric point of view. Draw the unit circle, and letP be the point(−1, 0). A line throughP (except the vertical line) is determined by its slope. Furthermore, each of the lines (except the vertical line) intersects the unit circle in exactly two points, one of which isP. This determines a function from points on the unit circle to slopes. The trigonometric functions determine a function from angles to points on the unit circle, and by combining these two functions we have a function from angles to slopes.
As with other properties shared between the trigonometric functions and the hyperbolic functions, it is possible to usehyperbolic identities to construct a similar form of the substitution,:
Similar expressions can be written fortanhx,cothx,sechx, andcschx. Geometrically, this change of variables is a one-dimensional stereographic projection of thehyperbolic line onto the real interval, analogous to thePoincaré disk model of the hyperbolic plane.
There are other approaches to integrating trigonometric functions. For example, it can be helpful to rewrite trigonometric functions in terms ofeix ande−ix usingEuler's formula.
^In 1966William Eberlein attributed this substitution toKarl Weierstrass (1815–1897):Eberlein, William Frederick (1966). "The Circular Function(s)".Mathematics Magazine.39 (4):197–201.doi:10.1080/0025570X.1966.11975715.JSTOR2688079.(Equations (3)[], (4)[], (5)[] are, of course, the familiar half-angle substitutions introduced by Weierstrass to integrate rational functions of sine, cosine.)Two decades later,James Stewart mentioned Weierstrass when discussing the substitution in his popular calculus textbook, first published in 1987:Stewart, James (1987)."§7.5 Rationalizing substitutions".Calculus. Brooks/Cole. p. 431.ISBN9780534066901.The German mathematician Karl Weierstrass (1815–1897) noticed that the substitutiont = tan(x/2) will convert any rational function ofsinx andcosx into an ordinary rational function.
Later authors, citing Stewart, have sometimes referred to this as theWeierstrass substitution, for instance:
Neither Eberlein nor Stewart provided any evidence for the attribution to Weierstrass. A related substitution appears in Weierstrass’sMathematical Works, from an 1875 lecture wherein Weierstrass creditsCarl Gauss (1818) with the idea of solving an integral of the form by the substitution