Examples from Trigonometric integrals All examples from Trigonometric integrals.
[ EXAMPLE ] Here m m m is even and n n n is odd. Peel sin x \sin x sin x and replace sin 2 x = 1 − cos 2 x \sin^2 x=1-\cos^2 x sin 2 x = 1 − cos 2 x :
∫ cos 4 x sin 3 x d x = ∫ cos 4 x sin 2 x sin x d x = ∫ cos 4 x ( 1 − cos 2 x ) sin x d x = ∫ ( cos 4 x − cos 6 x ) sin x d x . \begin{aligned}
\int \cos^4 x \sin^3 x \, dx
&=\int \cos^4 x \sin^2 x \sin x \, dx \\
&=\int \cos^4 x (1-\cos^2 x) \sin x \, dx \\
&=\int (\cos^4 x-\cos^6 x) \sin x \, dx.
\end{aligned} ∫ cos 4 x sin 3 x d x = ∫ cos 4 x sin 2 x sin x d x = ∫ cos 4 x ( 1 − cos 2 x ) sin x d x = ∫ ( cos 4 x − cos 6 x ) sin x d x . Let u = cos x u=\cos x u = cos x , so d u = − sin x d x du=-\sin x \, dx d u = − sin x d x . The integral is
− ∫ ( u 4 − u 6 ) d u = − u 5 5 + u 7 7 + C = − cos 5 x 5 + cos 7 x 7 + C . -\int (u^4-u^6) \, du=-\frac{u^5}{5}+\frac{u^7}{7}+C=-\frac{\cos^5 x}{5}+\frac{\cos^7 x}{7}+C. − ∫ ( u 4 − u 6 ) d u = − 5 u 5 + 7 u 7 + C = − 5 cos 5 x + 7 cos 7 x + C . [RIGHT CLICK] [ASK AI]
[ EXAMPLE ] Here m m m is odd and n n n is even. Peel cos x \cos x cos x and replace cos 2 x = 1 − sin 2 x \cos^2 x=1-\sin^2 x cos 2 x = 1 − sin 2 x :
∫ cos 5 x sin 4 x d x = ∫ cos 4 x sin 4 x cos x d x = ∫ ( 1 − sin 2 x ) 2 sin 4 x cos x d x = ∫ ( sin 4 x − 2 sin 6 x + sin 8 x ) cos x d x . \begin{aligned}
\int \cos^5 x \sin^4 x \, dx
&=\int \cos^4 x \sin^4 x \cos x \, dx \\
&=\int (1-\sin^2 x)^2 \sin^4 x \cos x \, dx \\
&=\int \bigl(\sin^4 x-2\sin^6 x+\sin^8 x\bigr) \cos x \, dx.
\end{aligned} ∫ cos 5 x sin 4 x d x = ∫ cos 4 x sin 4 x cos x d x = ∫ ( 1 − sin 2 x ) 2 sin 4 x cos x d x = ∫ ( sin 4 x − 2 sin 6 x + sin 8 x ) cos x d x . Let u = sin x u=\sin x u = sin x , so d u = cos x d x du=\cos x \, dx d u = cos x d x . The integral is
∫ ( u 4 − 2 u 6 + u 8 ) d u = u 5 5 − 2 u 7 7 + u 9 9 + C = sin 5 x 5 − 2 sin 7 x 7 + sin 9 x 9 + C . \int (u^4-2u^6+u^8) \, du=\frac{u^5}{5}-\frac{2u^7}{7}+\frac{u^9}{9}+C=\frac{\sin^5 x}{5}-\frac{2\sin^7 x}{7}+\frac{\sin^9 x}{9}+C. ∫ ( u 4 − 2 u 6 + u 8 ) d u = 5 u 5 − 7 2 u 7 + 9 u 9 + C = 5 sin 5 x − 7 2 sin 7 x + 9 sin 9 x + C . [RIGHT CLICK] [ASK AI]
[ EXAMPLE ] Both m m m and n n n are odd. Factoring out cos x \cos x cos x and substituting u = sin x u=\sin x u = sin x (so d u = cos x d x du=\cos x \, dx d u = cos x d x ),
∫ cos 5 x sin 5 x d x = ∫ cos 4 x sin 5 x cos x d x = ∫ ( 1 − sin 2 x ) 2 sin 5 x cos x d x = ∫ ( sin 5 x − 2 sin 7 x + sin 9 x ) cos x d x = ∫ ( u 5 − 2 u 7 + u 9 ) d u = u 6 6 − 2 u 8 8 + u 10 10 + C = sin 6 x 6 − sin 8 x 4 + sin 10 x 10 + C . \begin{aligned}
\int \cos^5 x \sin^5 x \, dx
&=\int \cos^4 x \sin^5 x \cos x \, dx \\
&=\int (1-\sin^2 x)^2 \sin^5 x \cos x \, dx \\
&=\int \bigl(\sin^5 x-2\sin^7 x+\sin^9 x\bigr) \cos x \, dx \\
&=\int (u^5-2u^7+u^9) \, du \\
&=\frac{u^6}{6}-\frac{2u^8}{8}+\frac{u^{10}}{10}+C \\
&=\frac{\sin^6 x}{6}-\frac{\sin^8 x}{4}+\frac{\sin^{10} x}{10}+C.
\end{aligned} ∫ cos 5 x sin 5 x d x = ∫ cos 4 x sin 5 x cos x d x = ∫ ( 1 − sin 2 x ) 2 sin 5 x cos x d x = ∫ ( sin 5 x − 2 sin 7 x + sin 9 x ) cos x d x = ∫ ( u 5 − 2 u 7 + u 9 ) d u = 6 u 6 − 8 2 u 8 + 10 u 10 + C = 6 sin 6 x − 4 sin 8 x + 10 sin 10 x + C . Factoring out sin x \sin x sin x instead produces a different-looking formula. Both
formulas have derivative cos 5 x sin 5 x \cos^5x\sin^5x cos 5 x sin 5 x , so on any interval they differ by a
constant.
[RIGHT CLICK] [ASK AI]
[ EXAMPLE ] When one of m m m or n n n is zero the identities are the whole calculation:
∫ cos 2 x d x = ∫ 1 + cos 2 x 2 d x = x 2 + sin 2 x 4 + C , \int \cos^2 x \, dx=\int \frac{1+\cos 2x}{2} \, dx=\frac{x}{2}+\frac{\sin 2x}{4}+C, ∫ cos 2 x d x = ∫ 2 1 + cos 2 x d x = 2 x + 4 sin 2 x + C , ∫ sin 2 x d x = ∫ 1 − cos 2 x 2 d x = x 2 − sin 2 x 4 + C . \int \sin^2 x \, dx=\int \frac{1-\cos 2x}{2} \, dx=\frac{x}{2}-\frac{\sin 2x}{4}+C. ∫ sin 2 x d x = ∫ 2 1 − cos 2 x d x = 2 x − 4 sin 2 x + C . [RIGHT CLICK] [ASK AI]
[ EXAMPLE ] Both powers are even, so
∫ cos 2 x sin 4 x d x = ∫ 1 + cos 2 x 2 ( 1 − cos 2 x 2 ) 2 d x = 1 8 ∫ ( 1 + cos 2 x ) ( 1 − cos 2 x ) 2 d x . \int \cos^2 x \sin^4 x \, dx=\int \frac{1+\cos 2x}{2}\left(\frac{1-\cos 2x}{2}\right)^2 \, dx=\frac{1}{8}\int (1+\cos 2x)(1-\cos 2x)^2 \, dx. ∫ cos 2 x sin 4 x d x = ∫ 2 1 + cos 2 x ( 2 1 − cos 2 x ) 2 d x = 8 1 ∫ ( 1 + cos 2 x ) ( 1 − cos 2 x ) 2 d x . Expanding and cancelling − cos 2 x -\cos 2x − cos 2 x against + cos 2 x +\cos 2x + cos 2 x gives
( 1 + cos 2 x ) ( 1 − 2 cos 2 x + cos 2 2 x ) = 1 − cos 2 x − cos 2 2 x + cos 3 2 x , (1+\cos 2x)(1-2\cos 2x+\cos^2 2x)=1-\cos 2x-\cos^2 2x+\cos^3 2x, ( 1 + cos 2 x ) ( 1 − 2 cos 2 x + cos 2 2 x ) = 1 − cos 2 x − cos 2 2 x + cos 3 2 x , so the integral is
1 8 ( ∫ 1 d x − ∫ cos 2 x d x − ∫ cos 2 2 x d x + ∫ cos 3 2 x d x ) . \frac{1}{8}\left(\int 1 \, dx-\int\cos 2x \, dx-\int\cos^2 2x \, dx+\int\cos^3 2x \, dx\right). 8 1 ( ∫ 1 d x − ∫ cos 2 x d x − ∫ cos 2 2 x d x + ∫ cos 3 2 x d x ) . The first two integrals evaluate to x x x and 1 2 sin 2 x \frac{1}{2}\sin 2x 2 1 sin 2 x . For the even square, cos 2 2 x = 1 + cos 4 x 2 \cos^2 2x=\frac{1+\cos 4x}{2} cos 2 2 x = 2 1 + c o s 4 x . For the odd cube, cos 3 2 x = ( 1 − sin 2 2 x ) cos 2 x \cos^3 2x=(1-\sin^2 2x)\cos 2x cos 3 2 x = ( 1 − sin 2 2 x ) cos 2 x . Thus the integral equals
1 8 [ x − sin 2 x 2 − ∫ 1 + cos 4 x 2 d x + ∫ ( 1 − sin 2 2 x ) cos 2 x d x ] . \frac{1}{8}\left[x-\frac{\sin 2x}{2}-\int\frac{1+\cos 4x}{2} \, dx+\int(1-\sin^2 2x)\cos 2x \, dx\right]. 8 1 [ x − 2 sin 2 x − ∫ 2 1 + cos 4 x d x + ∫ ( 1 − sin 2 2 x ) cos 2 x d x ] . The remaining cosine-square integral is x 2 + sin 4 x 8 \frac{x}{2}+\frac{\sin 4x}{8} 2 x + 8 s i n 4 x . For the last integral, let u = sin 2 x u=\sin 2x u = sin 2 x , so d u = 2 cos 2 x d x du=2\cos 2x \, dx d u = 2 cos 2 x d x and cos 2 x d x = 1 2 d u \cos 2x \, dx=\tfrac12 \, du cos 2 x d x = 2 1 d u . Collecting factors,
x 8 − sin 2 x 16 − x 16 − sin 4 x 64 + 1 16 ∫ ( 1 − u 2 ) d u = x 16 − sin 2 x 16 − sin 4 x 64 + 1 16 ( u − u 3 3 ) + C . \frac{x}{8}-\frac{\sin 2x}{16}-\frac{x}{16}-\frac{\sin 4x}{64}+\frac{1}{16}\int (1-u^2) \, du
=\frac{x}{16}-\frac{\sin 2x}{16}-\frac{\sin 4x}{64}+\frac{1}{16}\left(u-\frac{u^3}{3}\right)+C. 8 x − 16 sin 2 x − 16 x − 64 sin 4 x + 16 1 ∫ ( 1 − u 2 ) d u = 16 x − 16 sin 2 x − 64 sin 4 x + 16 1 ( u − 3 u 3 ) + C . Back-substituting u = sin 2 x u=\sin 2x u = sin 2 x yields
x 16 − sin 2 x 16 − sin 4 x 64 + sin 2 x 16 − sin 3 2 x 48 + C = x 16 − sin 4 x 64 − sin 3 2 x 48 + C . \frac{x}{16}-\frac{\sin 2x}{16}-\frac{\sin 4x}{64}+\frac{\sin 2x}{16}-\frac{\sin^3 2x}{48}+C=\frac{x}{16}-\frac{\sin 4x}{64}-\frac{\sin^3 2x}{48}+C. 16 x − 16 sin 2 x − 64 sin 4 x + 16 sin 2 x − 48 sin 3 2 x + C = 16 x − 64 sin 4 x − 48 sin 3 2 x + C . [RIGHT CLICK] [ASK AI]
[ EXAMPLE ] With A = 3 x A=3x A = 3 x and B = 2 x B=2x B = 2 x ,
∫ sin 3 x sin 2 x d x = − 1 2 ∫ ( cos 5 x − cos x ) d x = − 1 2 ( sin 5 x 5 − sin x ) + C = − sin 5 x 10 + sin x 2 + C . \begin{aligned}
\int \sin 3x \sin 2x \, dx
&=-\frac{1}{2}\int \bigl(\cos 5x-\cos x\bigr) \, dx \\
&=-\frac{1}{2}\left(\frac{\sin 5x}{5}-\sin x\right)+C \\
&=-\frac{\sin 5x}{10}+\frac{\sin x}{2}+C.
\end{aligned} ∫ sin 3 x sin 2 x d x = − 2 1 ∫ ( cos 5 x − cos x ) d x = − 2 1 ( 5 sin 5 x − sin x ) + C = − 10 sin 5 x + 2 sin x + C . [RIGHT CLICK] [ASK AI]
[ EXAMPLE ] Writing tan x = sin x cos x \tan x=\frac{\sin x}{\cos x} tan x = c o s x s i n x ,
∫ tan x d x = ∫ sin x cos x d x = − ln ∣ cos x ∣ + C . \int \tan x \, dx=\int \frac{\sin x}{\cos x} \, dx=-\ln|\cos x|+C. ∫ tan x d x = ∫ cos x sin x d x = − ln ∣ cos x ∣ + C . For the secant integral, multiply numerator and denominator by sec x + tan x \sec x+\tan x sec x + tan x :
∫ sec x d x = ∫ sec x ( sec x + tan x ) sec x + tan x d x = ∫ sec 2 x + sec x tan x sec x + tan x d x = ln ∣ sec x + tan x ∣ + C , \int \sec x \, dx=\int \frac{\sec x(\sec x+\tan x)}{\sec x+\tan x} \, dx=\int \frac{\sec^2 x+\sec x\tan x}{\sec x+\tan x} \, dx=\ln|\sec x+\tan x|+C, ∫ sec x d x = ∫ sec x + tan x sec x ( sec x + tan x ) d x = ∫ sec x + tan x sec 2 x + sec x tan x d x = ln ∣ sec x + tan x ∣ + C , since the numerator is then the derivative of the denominator.
[RIGHT CLICK] [ASK AI]
[ EXAMPLE ] Write I = ∫ sec 3 x d x I=\int \sec^3 x \, dx I = ∫ sec 3 x d x . Split the integrand as sec x ⋅ sec 2 x \sec x\cdot\sec^2 x sec x ⋅ sec 2 x and integrate by parts with u = sec x u=\sec x u = sec x and d v = sec 2 x d x dv=\sec^2 x \, dx d v = sec 2 x d x , so d u = sec x tan x d x du=\sec x\tan x \, dx d u = sec x tan x d x and v = tan x v=\tan x v = tan x . Then
I = sec x tan x − ∫ sec x tan 2 x d x . I=\sec x\tan x-\int \sec x\tan^2 x \, dx. I = sec x tan x − ∫ sec x tan 2 x d x . Replace tan 2 x = sec 2 x − 1 \tan^2 x=\sec^2 x-1 tan 2 x = sec 2 x − 1 :
I = sec x tan x − ∫ sec x ( sec 2 x − 1 ) d x = sec x tan x − ∫ sec 3 x d x + ∫ sec x d x . I=\sec x\tan x-\int \sec x(\sec^2 x-1) \, dx=\sec x\tan x-\int \sec^3 x \, dx+\int \sec x \, dx. I = sec x tan x − ∫ sec x ( sec 2 x − 1 ) d x = sec x tan x − ∫ sec 3 x d x + ∫ sec x d x . The first integral on the right is I I I again, so
2 I = sec x tan x + ∫ sec x d x = sec x tan x + ln ∣ sec x + tan x ∣ + C . 2I=\sec x\tan x+\int \sec x \, dx=\sec x\tan x+\ln|\sec x+\tan x|+C. 2 I = sec x tan x + ∫ sec x d x = sec x tan x + ln ∣ sec x + tan x ∣ + C . After dividing by 2 2 2 (and absorbing the factor into the arbitrary constant),
I = 1 2 sec x tan x + 1 2 ln ∣ sec x + tan x ∣ + C . I=\frac{1}{2}\sec x\tan x+\frac{1}{2}\ln|\sec x+\tan x|+C. I = 2 1 sec x tan x + 2 1 ln ∣ sec x + tan x ∣ + C . [RIGHT CLICK] [ASK AI]
[ EXAMPLE ] The power of sec \sec sec is even, so factor out sec 2 x \sec^2 x sec 2 x :
∫ sec 4 x tan 2 x d x = ∫ sec 2 x tan 2 x sec 2 x d x . \int \sec^4 x \tan^2 x \, dx=\int \sec^2 x \tan^2 x \sec^2 x \, dx. ∫ sec 4 x tan 2 x d x = ∫ sec 2 x tan 2 x sec 2 x d x . 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 remaining sec 2 x \sec^2 x sec 2 x is 1 + tan 2 x 1+\tan^2 x 1 + tan 2 x and the integral becomes
∫ ( 1 + tan 2 x ) tan 2 x sec 2 x d x = ∫ ( 1 + u 2 ) u 2 d u = ∫ ( u 2 + u 4 ) d u = u 3 3 + u 5 5 + C = tan 3 x 3 + tan 5 x 5 + C . \int (1+\tan^2 x)\tan^2 x \sec^2 x \, dx=\int (1+u^2)u^2 \, du=\int (u^2+u^4) \, du=\frac{u^3}{3}+\frac{u^5}{5}+C=\frac{\tan^3 x}{3}+\frac{\tan^5 x}{5}+C. ∫ ( 1 + tan 2 x ) tan 2 x sec 2 x d x = ∫ ( 1 + u 2 ) u 2 d u = ∫ ( u 2 + u 4 ) d u = 3 u 3 + 5 u 5 + C = 3 tan 3 x + 5 tan 5 x + C . [RIGHT CLICK] [ASK AI]
[ EXAMPLE ] Here m m m and n n n are both odd, so factor out tan x sec x \tan x\sec x tan x sec x :
∫ sec x tan 3 x d x = ∫ tan 2 x ( tan x sec x ) d x . \int \sec x \tan^3 x \, dx=\int \tan^2 x\,(\tan x\sec x) \, dx. ∫ sec x tan 3 x d x = ∫ tan 2 x ( tan x sec x ) d x . Let u = sec x u=\sec x u = sec x , so d u = sec x tan x d x du=\sec x\tan x \, dx d u = sec x tan x d x . Replace tan 2 x = sec 2 x − 1 \tan^2 x=\sec^2 x-1 tan 2 x = sec 2 x − 1 :
∫ ( sec 2 x − 1 ) tan x sec x d x = ∫ ( u 2 − 1 ) d u = u 3 3 − u + C = sec 3 x 3 − sec x + C . \int (\sec^2 x-1)\tan x\sec x \, dx=\int (u^2-1) \, du=\frac{u^3}{3}-u+C=\frac{\sec^3 x}{3}-\sec x+C. ∫ ( sec 2 x − 1 ) tan x sec x d x = ∫ ( u 2 − 1 ) d u = 3 u 3 − u + C = 3 sec 3 x − sec x + C . [RIGHT CLICK] [ASK AI]
[ EXAMPLE ] Here n n n is odd and m m m is even. Replace tan 2 x = sec 2 x − 1 \tan^2 x=\sec^2 x-1 tan 2 x = sec 2 x − 1 :
∫ sec x tan 2 x d x = ∫ sec x ( sec 2 x − 1 ) d x = ∫ sec 3 x d x − ∫ sec x d x . \int \sec x \tan^2 x \, dx=\int \sec x(\sec^2 x-1) \, dx=\int \sec^3 x \, dx-\int \sec x \, dx. ∫ sec x tan 2 x d x = ∫ sec x ( sec 2 x − 1 ) d x = ∫ sec 3 x d x − ∫ sec x d x . The antiderivatives of sec x \sec x sec x and sec 3 x \sec^3 x sec 3 x found above give
1 2 sec x tan x + 1 2 ln ∣ sec x + tan x ∣ − ln ∣ sec x + tan x ∣ + C = 1 2 sec x tan x − 1 2 ln ∣ sec x + tan x ∣ + C . \frac{1}{2}\sec x\tan x+\frac{1}{2}\ln|\sec x+\tan x|-\ln|\sec x+\tan x|+C=\frac{1}{2}\sec x\tan x-\frac{1}{2}\ln|\sec x+\tan x|+C. 2 1 sec x tan x + 2 1 ln ∣ sec x + tan x ∣ − ln ∣ sec x + tan x ∣ + C = 2 1 sec x tan x − 2 1 ln ∣ sec x + tan x ∣ + C . [RIGHT CLICK] [ASK AI] Trigonometric integrals Leads to Seen questions .