You are on page 1of 2

Math 113

The Weierstrass Substitution

The Weierstrass substitution enables any rational function of the regular six trigonometric functions to
be integrated using the methods of partial fractions. It uses the substitution of
x
u = tan . (1)
2
The full method are substitutions for the values of dx, sin x, cos x, tan x, csc x, sec x, and cot x. Using
the identity tan2 + 1 = sec2 , the derivative of (1) is
1 x 1h  x i 1
du = sec2 1 + tan2 1 + u2 dx.

dx = dx =
2 2 2 2 2
It follows that
2 du
dx = . (2)
1 + u2
To derive the substitutions for sin x and the b
other trigonometric substitutions, refer to figure b
b
1 and use the double angle identitities for sin x b
b
and cos x. The double angle identity for sin x is b 1 + u2
u b
b
x x b
sin x = 2 sin cos b
2 2 b
b
x b
and for cos x, the double angle identity is 2 bb
x x 1
cos x = cos2 sin2 . Figure 1: Reference triangle for u = tan( x2 )
2 2
The substitution for sin x is
x x   
u 1 2u
sin x = 2 sin cos =2 = (3)
2 2 1+u2 1+u 2 1 + u2
Similarly, for cos x, it is
2  2
1 u2
x x 
1 u
cos x = cos2 sin2 = = (4)
2 2 1 + u2 1 + u2 1 + u2
By using (3) and (4), the substitutions for tan x, csc x, sec x, and cot x is
2u
sin x 1+u2 2u 1 1 + u2
tan x = = 1u2
= csc x = =
cos x 1+u2
1 u2 sin x 2u
1 1 u2 1 1 + u2
cot x = = sec x = = (5)
tan x 2u cos x 1 u2
Note that the resulting equations for all 6 trigonometric functions, along with dx all are simple
polynomials in u. Hence, integrals of rational functions of trigonometric functions can be solved using
partial fractions. In summary,
x 2u 1 + u2 2u
u = tan sin x = csc x = tan x =
2 1 + u2 2u 1 u2
2 du 1 u2 1 + u2 1 u2
dx = cos x = sec x = cot x =
1 + u2 1 + u2 1 u2 2u
The Weierstrass Substitution, page 2

Example:
A short example can illustrate the power of the method. The integral of sec x is known to be
Z
sec x dx = ln | sec x + tan x| + C,

which is found by employing the trick of mutiplying the integrand by sec x+tan x
sec x+tan x and employing the u
substitutiton u = sec x + tan x. A straightforward solution can be found using the Weierstrass method.
It follows that
1 + u2 2
Z Z
sec x dx = dx
1 u2 1 + u2
Z
2
= du
1 u2
Z
1 1
= + du
1u 1+u
= ln |1 u| + ln |1 + u| + C

1 + u
= ln
+C
1 u

1 + tan x 
2
= ln +C

1 tan x2

Note that this does not look like ln | sec x + cos x|. However, using a bit of trickery (multiply by one)
always helps!
Z
1 + u
sec x dx = ln +C
1 u

1 + u 1 + u
= ln
+C
1 u 1 + u
(1 + u)2

= ln
+C
1 u2
1 + 2u + u2

= ln
+C
1 u2
1 + u2

2u
= ln
+ +C
1 u2 1 u2
= ln |sec x + tan x| + C

Hence, the two solutions are identical!

You might also like