This is an old revision of this page, as edited by 2601:588:4100:5cbc:2144:33ea:5343:b28a(talk) at 00:03, 10 March 2019(→Fractions: 6 was supposed to be 12, since when changing the expression using Euler’s identity, 1/2 can be factored out from the denominator. The 1/2 is multiplied in the numerator, yielding 2+(e^2ix/2)+4-(e^-2ix). Like terms 4 and 2 can be added to simplify the expression. You could multiply by 2/2, which is why the 1/2 is out of the integral, but the simplfied 6 should be multiplied by 2 as well. Error carry forward for the next question.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.Revision as of 00:03, 10 March 2019 by 2601:588:4100:5cbc:2144:33ea:5343:b28a(talk)(→Fractions: 6 was supposed to be 12, since when changing the expression using Euler’s identity, 1/2 can be factored out from the denominator. The 1/2 is multiplied in the numerator, yielding 2+(e^2ix/2)+4-(e^-2ix). Like terms 4 and 2 can be added to simplify the expression. You could multiply by 2/2, which is why the 1/2 is out of the integral, but the simplfied 6 should be multiplied by 2 as well. Error carry forward for the next question.)
These two equations can be solved for the sine and cosine:
Simple example
Consider the integral
The standard approach to this integral is to use a half-angle formula to simplify the integrand. We can use Euler's identity instead:
At this point, it would be possible to change back to real numbers using the formula e2ix + e−2ix = 2 cos 2x. Alternatively, we can integrate the complex exponentials and not change back to trigonometric functions until the end:
Second example
Consider the integral
This integral would be extremely tedious to solve using trigonometric identities, but using Euler's identity makes it relatively painless:
At this point we can either integrate directly, or we can first change the integrand to cos 6x − 2 cos 4x + cos 2x and continue from there.
Either method gives
Using real parts
In addition to Euler's identity, it can be helpful to make judicious use of the real parts of complex expressions. For example, consider the integral
Since cos x is the real part of eix, we know that
The integral on the right is easy to evaluate:
Thus:
Fractions
In general, this technique may be used to evaluate any fractions involving trigonometric functions. For example, consider the integral
Any rational function is integrable (using, for example, partial fractions), and therefore any fraction involving trigonometric functions may be integrated as well.