This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Integration using Euler's formula" – news ·newspapers ·books ·scholar ·JSTOR(July 2019) (Learn how and when to remove this message) |
| Part of a series of articles about | ||||||
| Calculus | ||||||
|---|---|---|---|---|---|---|
| ||||||
| ||||||
Specialized | ||||||
Inintegral calculus,Euler's formula forcomplex numbers may be used to evaluateintegrals involvingtrigonometric functions. Using Euler's formula, any trigonometric function may be written in terms of complex exponential functions, namely and and then integrated. This technique is often simpler and faster than usingtrigonometric identities orintegration by parts, and is sufficiently powerful to integrate anyrational expression involving trigonometric functions.[1]
Euler's formula states that[2]
Substituting for gives the equation
because cosine is an even function and sine is odd. These two equations can be solved for the sine and cosine to give
Consider the integral
The standard approach to this integral is to use ahalf-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 formulae2ix +e−2ix = 2 cos 2x. Alternatively, we can integrate the complex exponentials and not change back to trigonometric functions until the end:
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 to2 cos 6x − 4 cos 4x + 2 cos 2x and continue from there.Either method gives
In addition to Euler's identity, it can be helpful to make judicious use of thereal parts of complex expressions. For example, consider the integral
Sincecosx is the real part ofeix, we know that
The integral on the right is easy to evaluate:
Thus:
In general, this technique may be used to evaluate any fractions involving trigonometric functions. For example, consider the integral
Using Euler's identity, this integral becomes
If we now make thesubstitution, the result is the integral of arational function:
One may proceed usingpartial fraction decomposition.
{{cite journal}}: CS1 maint: DOI inactive as of July 2025 (link)