Content deleted Content added
du/dx=iexp(ix) thus (-i/u)du=dx |
No edit summary |
||
Line 1:
{{unreferenced|date=October 2016}}
In [[integral calculus]], [[complex number]]s and [[Euler's formula]] may be used to evaluate [[integral]]s involving [[trigonometric functions]].
==Euler's formula==
Euler's formula states that
:<math>e^{ix} = \cos x + i\,\sin x.</math>
Substituting
:<math>e^{-ix} = \cos x - i\,\sin x.</math>
These two equations can be solved for the sine and cosine:
Line 12 ⟶ 13:
Consider the integral
:<math>\int \cos^2 x \, dx.</math>
The standard approach to this integral is to use a [[half-angle formula]] to simplify the integrand.
:<math>\begin{align}
\int \cos^2 x \, dx \,&=\, \int \left(\frac{e^{ix}+e^{-ix}}{2}\right)^2 dx \\[6pt]
&=\, \
\end{align}</math>
At this point, it would be possible to change back to real numbers using the formula {{math|''e''<sup>2''ix''</sup>
:<math>\begin{align}
\
&=
\end{align}</math>
Line 29 ⟶ 30:
This integral would be extremely tedious to solve using trigonometric identities, but using Euler's identity makes it relatively painless:
:<math>\begin{align}
\int \sin^2 x \cos 4x \, dx
&=
&=
&=
\end{align}</math>
At this point we can either integrate directly, or we can first change the integrand to {{math|cos
Either method gives
:<math>\int \sin^2 x \cos 4x \, dx
==Using real parts==
In addition to Euler's identity, it can be helpful to make judicious use of the [[real part]]s of complex expressions.
:<math>\int e^x \cos x \, dx.</math>
Since {{math|cos
:<math>\int e^x \cos x \, dx
The integral on the right is easy to evaluate:
:<math>\int e^x e^{ix} \, dx
Thus:
:<math>\begin{align}
\int e^x \cos x \, dx
&=
&=
&=
\end{align}</math>
==Fractions==
In general, this technique may be used to evaluate any fractions involving trigonometric functions.
:<math>\int \frac{1+\cos^2 x}{\cos x + \cos 3x} \, dx.</math>
Using Euler's identity, this integral becomes
:<math>\
If we now make the [[integration by substitution|substitution]] {{math|''u''
:<math>-\frac{
Any [[rational function]] is integrable (using, for example, [[partial fractions in integration|partial fractions]]), and therefore any fraction involving trigonometric functions may be integrated as well.
[[Category:Integral calculus]]
|