Difference between revisions of "Trigonometric Integrals"
| Line 165: | Line 165: | ||
<blockquote style="background: white; border: 1px solid black; padding: 1em;"> | <blockquote style="background: white; border: 1px solid black; padding: 1em;"> | ||
For the integrals <math>\int\sin(nx)\cos(mx)dx</math> or <math>\int\sin(nx)\sin(mx)dx</math> or <math>\int\cos(nx)\cos(mx)dx</math> | For the integrals <math>\int\sin(nx)\cos(mx)dx</math> or <math>\int\sin(nx)\sin(mx)dx</math> or <math>\int\cos(nx)\cos(mx)dx</math> | ||
| − | use the | + | use the identities |
*<math>\sin(a)\cos(b)=\frac{\sin(a+b)+\sin(a-b)}{2}</math> | *<math>\sin(a)\cos(b)=\frac{\sin(a+b)+\sin(a-b)}{2}</math> | ||
*<math>\sin(a)\sin(b)=\frac{\cos(a-b)-\cos(a+b)}{2}</math> | *<math>\sin(a)\sin(b)=\frac{\cos(a-b)-\cos(a+b)}{2}</math> | ||
| Line 200: | Line 200: | ||
|<math>=\frac{\sin(x)}{2}-\frac{\sin(3x)}{6}+C</math> | |<math>=\frac{\sin(x)}{2}-\frac{\sin(3x)}{6}+C</math> | ||
|} | |} | ||
| − | |||
| − | |||
==Resources== | ==Resources== | ||
Latest revision as of 17:34, 15 January 2022
When the integrand is primarily or exclusively based on trigonometric functions, the following techniques are useful.
Contents
Powers of Sine and Cosine
We will give a general method to solve generally integrands of the form . First let us work through an example.
Notice that the integrand contains an odd power of cos. So rewrite it as
We can solve this by making the substitution so . Then we can write the whole integrand in terms of by using the identity
- .
So
This method works whenever there is an odd power of sine or cosine.
To evaluate when either or is odd.
- If is odd substitute and use the identity .
- If is odd substitute and use the identity .
Example
Find .
As there is an odd power of we let so . Notice that when we have and when we have .
When both and are even, things get a little more complicated.
To evaluate when both and are even.
Use the identities and .
Example
Find .
As and we have
and expanding, the integrand becomes
Using the multiple angle identities
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =\frac{1}{8}\left(\int 1dx-\int\cos^2(2x)dx+\int\cos(2x)dx-\int\cos^3(2x)dx\right)} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =\frac{1}{8}\left(x-\frac{1}{2}\int\Big(1+\cos(4x)\Big)dx+\frac{\sin(2x)}{2}-\int\cos^2(2x)\cos(2x)dx\right)} TODO: CORRECT FORMULA
then we obtain on evaluating
Powers of Tan and Secant
To evaluate .
- If is even and then substitute and use the identity .
- If and are both odd then substitute and use the identity .
- If is odd and is even then use the identity and apply a reduction formula to integrate , using the examples below to integrate when .
Example 1
Find .
There is an even power of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sec(x)} . Substituting Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle u=\tan(x)} gives Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle du=\sec^2(x)dx} so
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int\sec^2(x)dx=\int du=u+C=\tan(x)+C.}
Example 2
Find Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int\tan(x)dx} .
Let Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle u=\cos(x)} so Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle du=-\sin(x)dx} . Then
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int\tan(x)dx} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =\int\frac{\sin(x)}{\cos(x)}dx} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =\int -\frac{du}{u}} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =-\ln|u|+C} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =-\ln\Big|\cos(x)\Big|+C} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =\ln\Big|\sec(x)\Big|+C}
Example 3
Find Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int\sec(x)dx} .
The trick to do this is to multiply and divide by the same thing like this:
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int\sec(x)dx} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =\int\sec(x)\frac{\sec(x)+\tan(x)}{\sec(x)+\tan(x)}dx} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =\int\frac{\sec^2(x)+\sec(x)\tan(x)}{\sec(x)+\tan(x)}dx}
Making the substitution Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle u=\sec(x)+\tan(x)} so Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle du=\sec(x)\tan(x)+\sec^2(x)dx} ,
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int\sec(x)dx} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =\int\frac{du}{u}} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =\ln|u|+C} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \ln\Big|\sec(x)+\tan(x)\Big|+C}
More trigonometric combinations
For the integrals Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int\sin(nx)\cos(mx)dx} or Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int\sin(nx)\sin(mx)dx} or Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int\cos(nx)\cos(mx)dx} use the identities
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sin(a)\cos(b)=\frac{\sin(a+b)+\sin(a-b)}{2}}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sin(a)\sin(b)=\frac{\cos(a-b)-\cos(a+b)}{2}}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \cos(a)\cos(b)=\frac{\cos(a-b)+\cos(a+b)}{2}}
Example 1
Find Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int\sin(3x)\cos(5x)dx} .
We can use the fact that Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sin(a)\cos(b)=\frac{\sin(a+b)+\sin(a-b)}{2}} , so
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sin(3x)\cos(5x)=\frac{\sin(8x)+\sin(-2x)}{2}}
Now use the oddness property of to simplify
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sin(3x)\cos(5x)=\frac{\sin(8x)-\sin(2x)}{2}}
And now we can integrate
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int\sin(3x)\cos(5x)dx} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =\int\Big(\frac{\sin(8x)-\sin(2x)}{2}\Big)dx} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =\frac{\cos(2x)}{4}-\frac{\cos(8x)}{16}+C}
Example 2
Find:Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int\sin(x)\sin(2x)dx} .
Using the identities
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sin(x)\sin(2x)=\frac{\cos(-x)-\cos(3x)}{2}=\frac{\cos(x)-\cos(3x)}{2}}
Then
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int\sin(x)\sin(2x)dx} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =\frac{1}{2}\int\Big(\cos(x)-\cos(3x)\Big)dx} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =\frac{\sin(x)}{2}-\frac{\sin(3x)}{6}+C}
Resources
- Trigonometric Integrals - Part 1 of 6 by patrickJMT
- Trigonometric Integrals - Part 2 of 6 by patrickJMT
- Trigonometric Integrals - Part 3 of 6 by patrickJMT
- Trigonometric Integrals - Part 4 of 6 by patrickJMT
- Trigonometric Integrals - Part 5 of 6 by patrickJMT
- Trigonometric Integrals - Part 6 of 6 by patrickJMT
- Trigonometric integrals - sin^mcos^n, odd m by Kriata King
- Trigonometric integrals - sin^mcos^n, odd n by Kriata King
- Trigonometric integrals - sin^mcos^n, m and n even by Kriata King
- Integrals of trigonometric functions, tan^msec^n, even n by Krista King
- Integrals of trigonometric functions, tan^msec^n, odd m by Krista King
Licensing
Content obtained and/or adapted from:
- Trigonometric integrals, Wikibooks: Calculus/Integration techniques under a CC BY-SA license