Reduction formulae Recurrences that replace repeated integration by parts.
A reduction formula replaces repeated integration by parts with a single recurrence. The integral ∫ x e x d x \int x e^x \, dx ∫ x e x d x takes one integration by parts and ∫ x 5 e x d x \int x^5 e^x \, dx ∫ x 5 e x d x takes five of the same step; a reduction formula does the step once, in general, by writing I n I_n I n in terms of I n − 1 I_{n-1} I n − 1 or I n − 2 I_{n-2} I n − 2 . Trigonometric integrands also need a Pythagorean identity. For low trigonometric powers, the direct identities in trigonometric integrals are quicker.
[ DEFINITION ] A reduction formula expresses an integral I n I_n I n in terms of I n − k I_{n-k} I n − k for a
smaller index, typically by integration by parts.
Here and below, power indices are non-negative integers. The step k k k is 1 1 1
for x n e x x^n e^x x n e x . For trigonometric powers it is 2 2 2 , because
sin 2 x + cos 2 x = 1 \sin^2 x+\cos^2 x=1 sin 2 x + cos 2 x = 1 or sec 2 x = 1 + tan 2 x \sec^2 x=1+\tan^2 x sec 2 x = 1 + tan 2 x returns a copy of I n I_n I n that is
then collected.
[RIGHT CLICK] [ASK AI]
[ THEOREM ] For an integer n ≥ 0 n\ge0 n ≥ 0 , choose compatible representatives
I n I_n I n of the antiderivatives of x n e x x^n e^x x n e x . Then
I n = x n e x − n I n − 1 , n ≥ 1. I_n=x^n e^x-n I_{n-1},\qquad n\ge 1. I n = x n e x − n I n − 1 , n ≥ 1. Each application lowers the power of x x x by one. Two antiderivatives can
differ by a constant, so use the recurrence to construct one representative
and add a single arbitrary constant when the reduction stops.
[RIGHT CLICK] [ASK AI]
[ PROOF ] Integrate by parts with u = x n u=x^n u = x n and d v d x = e x \frac{dv}{dx}=e^x d x d v = e x , so d u = n x n − 1 d x du=n x^{n-1} \, dx d u = n x n − 1 d x and v = e x v=e^x v = e x . Then
I n = x n e x − n ∫ x n − 1 e x d x = x n e x − n I n − 1 . I_n=x^n e^x-n\int x^{n-1} e^x \, dx=x^n e^x-n I_{n-1}. I n = x n e x − n ∫ x n − 1 e x d x = x n e x − n I n − 1 . [RIGHT CLICK] [ASK AI]
[ EXAMPLE ] The recurrence with n = 3 n=3 n = 3 , then n = 2 n=2 n = 2 , then n = 1 n=1 n = 1 and I 0 = ∫ e x d x I_0=\int e^x \, dx I 0 = ∫ e x d x , gives
I 3 = x 3 e x − 3 I 2 = x 3 e x − 3 ( x 2 e x − 2 I 1 ) = x 3 e x − 3 x 2 e x + 6 I 1 = x 3 e x − 3 x 2 e x + 6 ( x e x − I 0 ) = x 3 e x − 3 x 2 e x + 6 x e x − 6 ∫ e x d x = x 3 e x − 3 x 2 e x + 6 x e x − 6 e x + C . \begin{aligned}
I_3&=x^3 e^x-3 I_2 \\
&=x^3 e^x-3\bigl(x^2 e^x-2 I_1\bigr) \\
&=x^3 e^x-3x^2 e^x+6 I_1 \\
&=x^3 e^x-3x^2 e^x+6\bigl(x e^x-I_0\bigr) \\
&=x^3 e^x-3x^2 e^x+6x e^x-6\int e^x \, dx \\
&=x^3 e^x-3x^2 e^x+6x e^x-6e^x+C.
\end{aligned} I 3 = x 3 e x − 3 I 2 = x 3 e x − 3 ( x 2 e x − 2 I 1 ) = x 3 e x − 3 x 2 e x + 6 I 1 = x 3 e x − 3 x 2 e x + 6 ( x e x − I 0 ) = x 3 e x − 3 x 2 e x + 6 x e x − 6 ∫ e x d x = x 3 e x − 3 x 2 e x + 6 x e x − 6 e x + C . [RIGHT CLICK] [ASK AI]
On [ 0 , π 2 ] \bigl[0,\frac{\pi}{2}\bigr] [ 0 , 2 π ] the boundary term from parts vanishes, so parts and a Pythagorean identity give a multiple of the integral two powers lower.
[ THEOREM ] Let I n = ∫ 0 π / 2 sin n x d x I_n=\int_0^{\pi/2}\sin^n x \, dx I n = ∫ 0 π /2 sin n x d x and J n = ∫ 0 π / 2 cos n x d x J_n=\int_0^{\pi/2}\cos^n x \, dx J n = ∫ 0 π /2 cos n x d x . Then
I n = n − 1 n I n − 2 , J n = n − 1 n J n − 2 , I_n=\frac{n-1}{n} I_{n-2},\qquad J_n=\frac{n-1}{n} J_{n-2}, I n = n n − 1 I n − 2 , J n = n n − 1 J n − 2 , for n ≥ 2 n\ge 2 n ≥ 2 .
The recurrence stops at I 0 = π 2 I_0=\frac{\pi}{2} I 0 = 2 π when n n n is even and at I 1 = 1 I_1=1 I 1 = 1 when n n n is odd and likewise for J n J_n J n . In the proof, collect the reintroduced copy of I n I_n I n before dividing by n n n .
[RIGHT CLICK] [ASK AI]
[ PROOF ] For I n I_n I n , integrate by parts with u = sin n − 1 x u=\sin^{n-1}x u = sin n − 1 x and d v d x = sin x \frac{dv}{dx}=\sin x d x d v = sin x , so d u = ( n − 1 ) sin n − 2 x cos x d x du=(n-1)\sin^{n-2}x\cos x \, dx d u = ( n − 1 ) sin n − 2 x cos x d x and v = − cos x v=-\cos x v = − cos x . Then
I n = [ − sin n − 1 x cos x ] 0 π / 2 + ( n − 1 ) ∫ 0 π / 2 sin n − 2 x cos 2 x d x . I_n=\bigl[-\sin^{n-1}x\cos x\bigr]_0^{\pi/2}+(n-1)\int_0^{\pi/2}\sin^{n-2}x\cos^2 x \, dx. I n = [ − sin n − 1 x cos x ] 0 π /2 + ( n − 1 ) ∫ 0 π /2 sin n − 2 x cos 2 x d x . The boundary term is 0 0 0 , since cos π 2 = 0 \cos\frac{\pi}{2}=0 cos 2 π = 0 and sin 0 = 0 \sin 0=0 sin 0 = 0 . Replace cos 2 x = 1 − sin 2 x \cos^2 x=1-\sin^2 x cos 2 x = 1 − sin 2 x :
I n = ( n − 1 ) ∫ 0 π / 2 sin n − 2 x ( 1 − sin 2 x ) d x = ( n − 1 ) ( I n − 2 − I n ) . \begin{aligned}
I_n&=(n-1)\int_0^{\pi/2}\sin^{n-2}x\bigl(1-\sin^2 x\bigr) \, dx \\
&=(n-1)\bigl(I_{n-2}-I_n\bigr).
\end{aligned} I n = ( n − 1 ) ∫ 0 π /2 sin n − 2 x ( 1 − sin 2 x ) d x = ( n − 1 ) ( I n − 2 − I n ) . Hence I n = ( n − 1 ) I n − 2 − ( n − 1 ) I n I_n=(n-1)I_{n-2}-(n-1)I_n I n = ( n − 1 ) I n − 2 − ( n − 1 ) I n , so n I n = ( n − 1 ) I n − 2 n I_n=(n-1)I_{n-2} n I n = ( n − 1 ) I n − 2 and therefore
I n = n − 1 n I n − 2 , n ≥ 2. I_n=\frac{n-1}{n} I_{n-2},\qquad n\ge 2. I n = n n − 1 I n − 2 , n ≥ 2. For J n J_n J n , take u = cos n − 1 x u=\cos^{n-1}x u = cos n − 1 x and d v d x = cos x \frac{dv}{dx}=\cos x d x d v = cos x , so d u = − ( n − 1 ) cos n − 2 x sin x d x du=-(n-1)\cos^{n-2}x\sin x \, dx d u = − ( n − 1 ) cos n − 2 x sin x d x and v = sin x v=\sin x v = sin x . Then
J n = [ cos n − 1 x sin x ] 0 π / 2 + ( n − 1 ) ∫ 0 π / 2 cos n − 2 x sin 2 x d x . J_n=\bigl[\cos^{n-1}x\sin x\bigr]_0^{\pi/2}+(n-1)\int_0^{\pi/2}\cos^{n-2}x\sin^2 x \, dx. J n = [ cos n − 1 x sin x ] 0 π /2 + ( n − 1 ) ∫ 0 π /2 cos n − 2 x sin 2 x d x . The boundary term is 0 0 0 . Replace sin 2 x = 1 − cos 2 x \sin^2 x=1-\cos^2 x sin 2 x = 1 − cos 2 x :
J n = ( n − 1 ) ( J n − 2 − J n ) . J_n=(n-1)\bigl(J_{n-2}-J_n\bigr). J n = ( n − 1 ) ( J n − 2 − J n ) . The same rearrangement yields J n = n − 1 n J n − 2 J_n=\frac{n-1}{n} J_{n-2} J n = n n − 1 J n − 2 for n ≥ 2 n\ge 2 n ≥ 2 .
[RIGHT CLICK] [ASK AI]
[ EXAMPLE ] I 5 = 4 5 I 3 = 4 5 ⋅ 2 3 I 1 = 8 15 ∫ 0 π / 2 sin x d x = 8 15 [ − cos x ] 0 π / 2 = 8 15 . I_5=\frac{4}{5} I_3=\frac{4}{5}\cdot\frac{2}{3} I_1=\frac{8}{15}\int_0^{\pi/2}\sin x \, dx=\frac{8}{15}\bigl[-\cos x\bigr]_0^{\pi/2}=\frac{8}{15}. I 5 = 5 4 I 3 = 5 4 ⋅ 3 2 I 1 = 15 8 ∫ 0 π /2 sin x d x = 15 8 [ − cos x ] 0 π /2 = 15 8 . [RIGHT CLICK] [ASK AI]
[ EXAMPLE ] J 7 = 6 7 J 5 = 6 7 ⋅ 4 5 J 3 = 24 35 ⋅ 2 3 J 1 = 16 35 ∫ 0 π / 2 cos x d x = 16 35 [ sin x ] 0 π / 2 = 16 35 . J_7=\frac{6}{7} J_5=\frac{6}{7}\cdot\frac{4}{5} J_3=\frac{24}{35}\cdot\frac{2}{3} J_1=\frac{16}{35}\int_0^{\pi/2}\cos x \, dx=\frac{16}{35}\bigl[\sin x\bigr]_0^{\pi/2}=\frac{16}{35}. J 7 = 7 6 J 5 = 7 6 ⋅ 5 4 J 3 = 35 24 ⋅ 3 2 J 1 = 35 16 ∫ 0 π /2 cos x d x = 35 16 [ sin x ] 0 π /2 = 35 16 . [RIGHT CLICK] [ASK AI]
On [ 0 , π 4 ] \bigl[0,\frac{\pi}{4}\bigr] [ 0 , 4 π ] the boundary term from parts does not vanish: tan π 4 = 1 \tan\frac{\pi}{4}=1 tan 4 π = 1 and sec π 4 = 2 \sec\frac{\pi}{4}=\sqrt{2} sec 4 π = 2 leave a power of 2 2 2 in the recurrence for sec n x \sec^n x sec n x . Tangent powers need no parts at all.
[ THEOREM ] Let I n = ∫ 0 π / 4 sec n x d x I_n=\int_0^{\pi/4}\sec^n x \, dx I n = ∫ 0 π /4 sec n x d x . Then
I n = 1 n − 1 ( 2 ( n − 2 ) / 2 + ( n − 2 ) I n − 2 ) I_n=\frac{1}{n-1}\bigl(2^{(n-2)/2}+(n-2)I_{n-2}\bigr) I n = n − 1 1 ( 2 ( n − 2 ) /2 + ( n − 2 ) I n − 2 ) for n ≥ 2 n\ge 2 n ≥ 2 .
The base values are
I 0 = ∫ 0 π / 4 1 d x = π 4 I_0=\int_0^{\pi/4}1\,dx=\frac{\pi}{4} I 0 = ∫ 0 π /4 1 d x = 4 π and
I 1 = ∫ 0 π / 4 sec x d x = ln ( 1 + 2 ) I_1=\int_0^{\pi/4}\sec x\,dx=\ln(1+\sqrt{2}) I 1 = ∫ 0 π /4 sec x d x = ln ( 1 + 2 ) .
Without the limits, the same splitting sec n x = sec n − 2 x sec 2 x \sec^n x=\sec^{n-2}x\sec^2 x sec n x = sec n − 2 x sec 2 x produces the antiderivative of sec 3 x \sec^3 x sec 3 x .
[RIGHT CLICK] [ASK AI]
[ PROOF ] Integrate by parts with u = sec n − 2 x u=\sec^{n-2}x u = sec n − 2 x and d v d x = sec 2 x \frac{dv}{dx}=\sec^2 x d x d v = sec 2 x , so
d u d x = ( n − 2 ) sec n − 2 x tan x , v = tan x . \frac{du}{dx}=(n-2)\sec^{n-2}x\tan x,\qquad v=\tan x. d x d u = ( n − 2 ) sec n − 2 x tan x , v = tan x . Then
I n = [ sec n − 2 x tan x ] 0 π / 4 − ( n − 2 ) ∫ 0 π / 4 sec n − 2 x tan 2 x d x . I_n=\bigl[\sec^{n-2}x\tan x\bigr]_0^{\pi/4}-(n-2)\int_0^{\pi/4}\sec^{n-2}x\tan^2 x \, dx. I n = [ sec n − 2 x tan x ] 0 π /4 − ( n − 2 ) ∫ 0 π /4 sec n − 2 x tan 2 x d x . The boundary term is 2 ( n − 2 ) / 2 2^{(n-2)/2} 2 ( n − 2 ) /2 , since sec π 4 = 2 \sec\frac{\pi}{4}=\sqrt{2} sec 4 π = 2 and tan π 4 = 1 \tan\frac{\pi}{4}=1 tan 4 π = 1 , while the lower limit is 0 0 0 . Replace tan 2 x = sec 2 x − 1 \tan^2 x=\sec^2 x-1 tan 2 x = sec 2 x − 1 :
I n = 2 ( n − 2 ) / 2 − ( n − 2 ) ∫ 0 π / 4 sec n − 2 x ( sec 2 x − 1 ) d x = 2 ( n − 2 ) / 2 − ( n − 2 ) ( I n − I n − 2 ) = 2 ( n − 2 ) / 2 − ( n − 2 ) I n + ( n − 2 ) I n − 2 . \begin{aligned}
I_n&=2^{(n-2)/2}-(n-2)\int_0^{\pi/4}\sec^{n-2}x\bigl(\sec^2 x-1\bigr) \, dx \\
&=2^{(n-2)/2}-(n-2)\bigl(I_n-I_{n-2}\bigr) \\
&=2^{(n-2)/2}-(n-2)I_n+(n-2)I_{n-2}.
\end{aligned} I n = 2 ( n − 2 ) /2 − ( n − 2 ) ∫ 0 π /4 sec n − 2 x ( sec 2 x − 1 ) d x = 2 ( n − 2 ) /2 − ( n − 2 ) ( I n − I n − 2 ) = 2 ( n − 2 ) /2 − ( n − 2 ) I n + ( n − 2 ) I n − 2 . Hence ( n − 1 ) I n = 2 ( n − 2 ) / 2 + ( n − 2 ) I n − 2 (n-1)I_n=2^{(n-2)/2}+(n-2)I_{n-2} ( n − 1 ) I n = 2 ( n − 2 ) /2 + ( n − 2 ) I n − 2 and therefore
I n = 1 n − 1 ( 2 ( n − 2 ) / 2 + ( n − 2 ) I n − 2 ) , n ≥ 2. I_n=\frac{1}{n-1}\bigl(2^{(n-2)/2}+(n-2)I_{n-2}\bigr),\qquad n\ge 2. I n = n − 1 1 ( 2 ( n − 2 ) /2 + ( n − 2 ) I n − 2 ) , n ≥ 2. [RIGHT CLICK] [ASK AI]
[ THEOREM ] Let J n = ∫ 0 π / 4 tan n x d x J_n=\int_0^{\pi/4}\tan^n x \, dx J n = ∫ 0 π /4 tan n x d x . Then
J n = 1 n − 1 − J n − 2 , n ≥ 2. J_n=\frac{1}{n-1}-J_{n-2},\qquad n\ge 2. J n = n − 1 1 − J n − 2 , n ≥ 2. This recurrence needs no parts: the identity tan 2 x = sec 2 x − 1 \tan^2 x=\sec^2 x-1 tan 2 x = sec 2 x − 1 turns the leftover into an elementary integral in u = tan x u=\tan x u = tan x .
Its base values are J 0 = π 4 J_0=\frac{\pi}{4} J 0 = 4 π and
J 1 = ∫ 0 π / 4 tan x d x = ln 2 J_1=\int_0^{\pi/4}\tan x\,dx=\ln\sqrt{2} J 1 = ∫ 0 π /4 tan x d x = ln 2 .
[RIGHT CLICK] [ASK AI]
[ PROOF ] Write tan n x = tan n − 2 x tan 2 x \tan^n x=\tan^{n-2}x\tan^2 x tan n x = tan n − 2 x tan 2 x and replace tan 2 x = sec 2 x − 1 \tan^2 x=\sec^2 x-1 tan 2 x = sec 2 x − 1 :
J n = ∫ 0 π / 4 tan n − 2 x ( sec 2 x − 1 ) d x = ∫ 0 π / 4 tan n − 2 x sec 2 x d x − J n − 2 . J_n=\int_0^{\pi/4}\tan^{n-2}x\bigl(\sec^2 x-1\bigr) \, dx=\int_0^{\pi/4}\tan^{n-2}x\sec^2 x \, dx-J_{n-2}. J n = ∫ 0 π /4 tan n − 2 x ( sec 2 x − 1 ) d x = ∫ 0 π /4 tan n − 2 x sec 2 x d x − J n − 2 . Let u = tan x u=\tan x u = tan x , so d u = sec 2 x d x du=\sec^2 x \, dx d u = sec 2 x d x . The limits change from x = 0 x=0 x = 0 to x = π 4 x=\frac{\pi}{4} x = 4 π into u = 0 u=0 u = 0 to u = 1 u=1 u = 1 . Then
J n = ∫ 0 1 u n − 2 d u − J n − 2 = [ u n − 1 n − 1 ] 0 1 − J n − 2 = 1 n − 1 − J n − 2 J_n=\int_0^1 u^{n-2} \, du-J_{n-2}=\biggl[\frac{u^{n-1}}{n-1}\biggr]_0^1-J_{n-2}=\frac{1}{n-1}-J_{n-2} J n = ∫ 0 1 u n − 2 d u − J n − 2 = [ n − 1 u n − 1 ] 0 1 − J n − 2 = n − 1 1 − J n − 2 for n ≥ 2 n\ge 2 n ≥ 2 .
[RIGHT CLICK] [ASK AI]
The mixed integrand tan n θ sec θ \tan^n\theta\sec\theta tan n θ sec θ on the same interval also drops by two, now with a factor 2 \sqrt{2} 2 from the upper limit. Its integrals are written K n K_n K n to keep them apart from the secant powers I n I_n I n above.
[ THEOREM ] Let K n = ∫ 0 π / 4 tan n θ sec θ d θ K_n=\int_0^{\pi/4}\tan^n\theta\sec\theta \, d\theta K n = ∫ 0 π /4 tan n θ sec θ d θ . Then
K n = 1 n ( 2 − ( n − 1 ) K n − 2 ) K_n=\frac{1}{n}\bigl(\sqrt{2}-(n-1)K_{n-2}\bigr) K n = n 1 ( 2 − ( n − 1 ) K n − 2 ) for n ≥ 2 n\ge 2 n ≥ 2 .
Its base values are
K 0 = ∫ 0 π / 4 sec θ d θ = ln ( 1 + 2 ) K_0=\int_0^{\pi/4}\sec\theta\,d\theta=\ln(1+\sqrt{2}) K 0 = ∫ 0 π /4 sec θ d θ = ln ( 1 + 2 ) and
K 1 = ∫ 0 π / 4 tan θ sec θ d θ = 2 − 1 K_1=\int_0^{\pi/4}\tan\theta\sec\theta\,d\theta=\sqrt{2}-1 K 1 = ∫ 0 π /4 tan θ sec θ d θ = 2 − 1 .
[RIGHT CLICK] [ASK AI]
[ PROOF ] Integrate by parts with u = tan n − 1 θ u=\tan^{n-1}\theta u = tan n − 1 θ and d v d θ = tan θ sec θ \frac{dv}{d\theta}=\tan\theta\sec\theta d θ d v = tan θ sec θ , so d u = ( n − 1 ) tan n − 2 θ sec 2 θ d θ du=(n-1)\tan^{n-2}\theta\sec^2\theta \, d\theta d u = ( n − 1 ) tan n − 2 θ sec 2 θ d θ and v = sec θ v=\sec\theta v = sec θ . Then
K n = [ tan n − 1 θ sec θ ] 0 π / 4 − ( n − 1 ) ∫ 0 π / 4 tan n − 2 θ sec 3 θ d θ . K_n=\bigl[\tan^{n-1}\theta\sec\theta\bigr]_0^{\pi/4}-(n-1)\int_0^{\pi/4}\tan^{n-2}\theta\sec^3\theta \, d\theta. K n = [ tan n − 1 θ sec θ ] 0 π /4 − ( n − 1 ) ∫ 0 π /4 tan n − 2 θ sec 3 θ d θ . The boundary term is 2 \sqrt{2} 2 . Replace sec 2 θ = 1 + tan 2 θ \sec^2\theta=1+\tan^2\theta sec 2 θ = 1 + tan 2 θ in the remaining integral:
K n = 2 − ( n − 1 ) ∫ 0 π / 4 tan n − 2 θ ( 1 + tan 2 θ ) sec θ d θ = 2 − ( n − 1 ) ( K n − 2 + K n ) . \begin{aligned}
K_n&=\sqrt{2}-(n-1)\int_0^{\pi/4}\tan^{n-2}\theta\bigl(1+\tan^2\theta\bigr)\sec\theta \, d\theta \\
&=\sqrt{2}-(n-1)\bigl(K_{n-2}+K_n\bigr).
\end{aligned} K n = 2 − ( n − 1 ) ∫ 0 π /4 tan n − 2 θ ( 1 + tan 2 θ ) sec θ d θ = 2 − ( n − 1 ) ( K n − 2 + K n ) . Collecting the K n K_n K n terms gives n K n = 2 − ( n − 1 ) K n − 2 nK_n=\sqrt{2}-(n-1)K_{n-2} n K n = 2 − ( n − 1 ) K n − 2 , so
K n = 1 n ( 2 − ( n − 1 ) K n − 2 ) , n ≥ 2. K_n=\frac{1}{n}\bigl(\sqrt{2}-(n-1)K_{n-2}\bigr),\qquad n\ge 2. K n = n 1 ( 2 − ( n − 1 ) K n − 2 ) , n ≥ 2. [RIGHT CLICK] [ASK AI]
[ EXAMPLE ] The base value I 2 = ∫ 0 π / 4 sec 2 x d x = [ tan x ] 0 π / 4 = 1 I_2=\int_0^{\pi/4}\sec^2 x \, dx=\bigl[\tan x\bigr]_0^{\pi/4}=1 I 2 = ∫ 0 π /4 sec 2 x d x = [ tan x ] 0 π /4 = 1 gives
∫ 0 π / 4 sec 4 x d x = I 4 = 1 3 ( 2 ( 4 − 2 ) / 2 + 2 I 2 ) = 1 3 ( 2 + 2 ) = 4 3 . \int_0^{\pi/4}\sec^4 x \, dx=I_4=\frac{1}{3}\bigl(2^{(4-2)/2}+2I_2\bigr)=\frac{1}{3}(2+2)=\frac{4}{3}. ∫ 0 π /4 sec 4 x d x = I 4 = 3 1 ( 2 ( 4 − 2 ) /2 + 2 I 2 ) = 3 1 ( 2 + 2 ) = 3 4 . The base value J 2 = ∫ 0 π / 4 tan 2 x d x = ∫ 0 π / 4 ( sec 2 x − 1 ) d x = [ tan x − x ] 0 π / 4 = 1 − π 4 J_2=\int_0^{\pi/4}\tan^2 x \, dx=\int_0^{\pi/4}(\sec^2 x-1)\, dx=\bigl[\tan x-x\bigr]_0^{\pi/4}=1-\frac{\pi}{4} J 2 = ∫ 0 π /4 tan 2 x d x = ∫ 0 π /4 ( sec 2 x − 1 ) d x = [ tan x − x ] 0 π /4 = 1 − 4 π gives
∫ 0 π / 4 tan 4 x d x = J 4 = 1 3 − J 2 = 1 3 − ( 1 − π 4 ) = π 4 − 2 3 . \int_0^{\pi/4}\tan^4 x \, dx=J_4=\frac{1}{3}-J_2=\frac{1}{3}-\bigl(1-\frac{\pi}{4}\bigr)=\frac{\pi}{4}-\frac{2}{3}. ∫ 0 π /4 tan 4 x d x = J 4 = 3 1 − J 2 = 3 1 − ( 1 − 4 π ) = 4 π − 3 2 . For mixed powers, K 1 = ∫ 0 π / 4 tan θ sec θ d θ = [ sec θ ] 0 π / 4 = 2 − 1 K_1=\int_0^{\pi/4}\tan\theta\sec\theta \, d\theta=\bigl[\sec\theta\bigr]_0^{\pi/4}=\sqrt{2}-1 K 1 = ∫ 0 π /4 tan θ sec θ d θ = [ sec θ ] 0 π /4 = 2 − 1 , so
∫ 0 π / 4 tan 3 θ sec θ d θ = K 3 = 1 3 ( 2 − 2 K 1 ) = 1 3 ( 2 − 2 ( 2 − 1 ) ) = 2 − 2 3 . \int_0^{\pi/4}\tan^3\theta\sec\theta \, d\theta=K_3=\frac{1}{3}\bigl(\sqrt{2}-2K_1\bigr)=\frac{1}{3}\bigl(\sqrt{2}-2(\sqrt{2}-1)\bigr)=\frac{2-\sqrt{2}}{3}. ∫ 0 π /4 tan 3 θ sec θ d θ = K 3 = 3 1 ( 2 − 2 K 1 ) = 3 1 ( 2 − 2 ( 2 − 1 ) ) = 3 2 − 2 . [RIGHT CLICK] [ASK AI]
When both exponents vary, each reduction drops one index by two, as in the one-parameter trigonometric recurrences. Reduce whichever index leads to a known base integral.
[ PROPOSITION ] Let I m , n = ∫ 0 π / 2 cos m x sin n x d x I_{m,n}=\int_0^{\pi/2}\cos^m x\sin^n x \, dx I m , n = ∫ 0 π /2 cos m x sin n x d x . Then
I m , n = m − 1 m + n I m − 2 , n I_{m,n}=\frac{m-1}{m+n} I_{m-2,n} I m , n = m + n m − 1 I m − 2 , n if m ≥ 2 m\ge 2 m ≥ 2 and
I m , n = n − 1 m + n I m , n − 2 I_{m,n}=\frac{n-1}{m+n} I_{m,n-2} I m , n = m + n n − 1 I m , n − 2 if n ≥ 2 n\ge 2 n ≥ 2 .
The case m = 0 m=0 m = 0 recovers the sine-power recurrence; the case n = 0 n=0 n = 0 recovers the cosine-power recurrence. The base values needed to stop the reduction are I 0 , 0 = π 2 I_{0,0}=\frac{\pi}{2} I 0 , 0 = 2 π , I 0 , 1 = 1 I_{0,1}=1 I 0 , 1 = 1 , I 1 , 0 = 1 I_{1,0}=1 I 1 , 0 = 1 and I 1 , 1 = 1 2 I_{1,1}=\frac{1}{2} I 1 , 1 = 2 1 .
[RIGHT CLICK] [ASK AI]
[ PROOF ] Assume m ≥ 2 m\ge 2 m ≥ 2 . Integrate by parts with u = cos m − 1 x u=\cos^{m-1}x u = cos m − 1 x and d v = cos x sin n x d x dv=\cos x\sin^n x \, dx d v = cos x sin n x d x , so d u = − ( m − 1 ) cos m − 2 x sin x d x du=-(m-1)\cos^{m-2}x\sin x \, dx d u = − ( m − 1 ) cos m − 2 x sin x d x and v = sin n + 1 x n + 1 v=\frac{\sin^{n+1}x}{n+1} v = n + 1 s i n n + 1 x . Then
I m , n = [ cos m − 1 x sin n + 1 x n + 1 ] 0 π / 2 + m − 1 n + 1 ∫ 0 π / 2 cos m − 2 x sin n + 2 x d x . I_{m,n}=\biggl[\frac{\cos^{m-1}x\sin^{n+1}x}{n+1}\biggr]_0^{\pi/2}+\frac{m-1}{n+1}\int_0^{\pi/2}\cos^{m-2}x\sin^{n+2}x \, dx. I m , n = [ n + 1 cos m − 1 x sin n + 1 x ] 0 π /2 + n + 1 m − 1 ∫ 0 π /2 cos m − 2 x sin n + 2 x d x . The boundary term is 0 0 0 . Replace sin 2 x = 1 − cos 2 x \sin^2 x=1-\cos^2 x sin 2 x = 1 − cos 2 x :
I m , n = m − 1 n + 1 ∫ 0 π / 2 cos m − 2 x sin n x ( 1 − cos 2 x ) d x = m − 1 n + 1 ( I m − 2 , n − I m , n ) . \begin{aligned}
I_{m,n}&=\frac{m-1}{n+1}\int_0^{\pi/2}\cos^{m-2}x\sin^n x\bigl(1-\cos^2 x\bigr) \, dx \\
&=\frac{m-1}{n+1}\bigl(I_{m-2,n}-I_{m,n}\bigr).
\end{aligned} I m , n = n + 1 m − 1 ∫ 0 π /2 cos m − 2 x sin n x ( 1 − cos 2 x ) d x = n + 1 m − 1 ( I m − 2 , n − I m , n ) . Hence m + n n + 1 I m , n = m − 1 n + 1 I m − 2 , n \frac{m+n}{n+1} I_{m,n}=\frac{m-1}{n+1} I_{m-2,n} n + 1 m + n I m , n = n + 1 m − 1 I m − 2 , n and therefore
I m , n = m − 1 m + n I m − 2 , n . I_{m,n}=\frac{m-1}{m+n} I_{m-2,n}. I m , n = m + n m − 1 I m − 2 , n . For n ≥ 2 n\ge 2 n ≥ 2 reverse the roles. Take
u = sin n − 1 x u=\sin^{n-1}x u = sin n − 1 x and d v = sin x cos m x d x dv=\sin x\cos^m x\,dx d v = sin x cos m x d x , so
v = − cos m + 1 x m + 1 v=-\frac{\cos^{m+1}x}{m+1} v = − m + 1 c o s m + 1 x . The boundary term vanishes and
cos 2 x = 1 − sin 2 x \cos^2x=1-\sin^2x cos 2 x = 1 − sin 2 x gives
I m , n = n − 1 m + 1 ( I m , n − 2 − I m , n ) . I_{m,n}=\frac{n-1}{m+1}\bigl(I_{m,n-2}-I_{m,n}\bigr). I m , n = m + 1 n − 1 ( I m , n − 2 − I m , n ) . Rearranging this equation yields
I m , n = n − 1 m + n I m , n − 2 I_{m,n}=\frac{n-1}{m+n}I_{m,n-2} I m , n = m + n n − 1 I m , n − 2 .
[RIGHT CLICK] [ASK AI]
[ EXAMPLE ] This is the definite version of the odd-power evaluation
of ∫ cos 5 x sin 4 x d x \int\cos^5 x\sin^4 x \, dx ∫ cos 5 x sin 4 x d x . Reduce the cosine power twice, then the
sine power twice and use I 1 , 0 = 1 I_{1,0}=1 I 1 , 0 = 1 :
I 5 , 4 = 4 9 I 3 , 4 = 4 9 ⋅ 2 7 I 1 , 4 = 8 63 I 1 , 4 = 8 63 ⋅ 3 5 I 1 , 2 = 8 105 I 1 , 2 = 8 105 ⋅ 1 3 I 1 , 0 = 8 315 . \begin{aligned}
I_{5,4}&=\frac{4}{9} I_{3,4}=\frac{4}{9}\cdot\frac{2}{7} I_{1,4}=\frac{8}{63} I_{1,4} \\
&=\frac{8}{63}\cdot\frac{3}{5} I_{1,2}=\frac{8}{105} I_{1,2} \\
&=\frac{8}{105}\cdot\frac{1}{3} I_{1,0}=\frac{8}{315}.
\end{aligned} I 5 , 4 = 9 4 I 3 , 4 = 9 4 ⋅ 7 2 I 1 , 4 = 63 8 I 1 , 4 = 63 8 ⋅ 5 3 I 1 , 2 = 105 8 I 1 , 2 = 105 8 ⋅ 3 1 I 1 , 0 = 315 8 . [RIGHT CLICK] [ASK AI] Reduction formulae Leads to Seen questions .