Integration using Euler's formula
   HOME

TheInfoList



OR:

In
integral calculus In mathematics, an integral assigns numbers to Function (mathematics), functions in a way that describes Displacement (geometry), displacement, area, volume, and other concepts that arise by combining infinitesimal data. The process of finding ...
,
Euler's formula Euler's formula, named after Leonhard Euler, is a mathematical formula in complex analysis that establishes the fundamental relationship between the trigonometric functions and the complex exponential function. Euler's formula states that ...
for
complex number In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the fo ...
s may be used to evaluate
integral In mathematics, an integral assigns numbers to functions in a way that describes displacement, area, volume, and other concepts that arise by combining infinitesimal data. The process of finding integrals is called integration. Along with ...
s involving
trigonometric functions In mathematics, the trigonometric functions (also called circular functions, angle functions or goniometric functions) are real functions which relate an angle of a right-angled triangle to ratios of two side lengths. They are widely used in a ...
. Using Euler's formula, any trigonometric function may be written in terms of complex exponential functions, namely e^ and e^ and then integrated. This technique is often simpler and faster than using trigonometric identities or
integration by parts In calculus, and more generally in mathematical analysis, integration by parts or partial integration is a process that finds the integral of a product of functions in terms of the integral of the product of their derivative and antiderivat ...
, and is sufficiently powerful to integrate any rational expression involving trigonometric functions.


Euler's formula

Euler's formula states that :e^ = \cos x + i\,\sin x. Substituting -x for x gives the equation :e^ = \cos x - i\,\sin x because cosine is an even function and sine is odd. These two equations can be solved for the sine and cosine to give :\cos x = \frac\quad\text\quad\sin x = \frac.


Examples


First example

Consider the integral :\int \cos^2 x \, dx . The standard approach to this integral is to use a
half-angle formula In trigonometry, trigonometric identities are equalities that involve trigonometric functions and are true for every value of the occurring variables for which both sides of the equality are defined. Geometrically, these are identities involvin ...
to simplify the integrand. We can use Euler's identity instead: :\begin \int \cos^2 x \, dx \,&=\, \int \left(\frac\right)^2 dx \\ pt&=\, \frac14\int \left( e^ + 2 +e^ \right) dx \end At this point, it would be possible to change back to real numbers using the formula . Alternatively, we can integrate the complex exponentials and not change back to trigonometric functions until the end: :\begin \frac14\int \left( e^ + 2 + e^ \right) dx &= \frac14\left(\frac + 2x - \frac\right)+C \\ pt&= \frac14\left(2x + \sin 2x\right) +C. \end


Second example

Consider the integral :\int \sin^2 x \cos 4x \, dx. This integral would be extremely tedious to solve using trigonometric identities, but using Euler's identity makes it relatively painless: :\begin \int \sin^2 x \cos 4x \, dx &= \int \left(\frac\right)^2\left(\frac\right) dx \\ pt&= -\frac18\int \left(e^ - 2 + e^\right)\left(e^+e^\right) dx \\ pt&= -\frac18\int \left(e^ - 2e^ + e^ + e^ - 2e^ + e^\right) dx. \end At this point we can either integrate directly, or we can first change the integrand to and continue from there. Either method gives :\int \sin^2 x \cos 4x \, dx = -\frac \sin 6x + \frac18\sin 4x - \frac18 \sin 2x + C.


Using real parts

In addition to Euler's identity, it can be helpful to make judicious use of the
real part In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form ...
s of complex expressions. For example, consider the integral :\int e^x \cos x \, dx. Since is the real part of , we know that :\int e^x \cos x \, dx = \operatorname\int e^x e^\, dx. The integral on the right is easy to evaluate: :\int e^x e^ \, dx = \int e^\,dx = \frac + C. Thus: :\begin \int e^x \cos x \, dx &= \operatorname\left(\frac\right) + C \\ pt&= e^x\operatorname\left(\frac\right) +C \\ pt&= e^x\operatorname\left(\frac\right) +C \\ pt&= e^x \frac +C. \end


Fractions

In general, this technique may be used to evaluate any fractions involving trigonometric functions. For example, consider the integral :\int \frac \, dx. Using Euler's identity, this integral becomes :\frac12 \int \frac \, dx. If we now make the
substitution Substitution may refer to: Arts and media *Chord substitution, in music, swapping one chord for a related one within a chord progression *Substitution (poetry), a variation in poetic scansion * "Substitution" (song), a 2009 song by Silversun Pic ...
u = e^, the result is the integral of a
rational function In mathematics, a rational function is any function that can be defined by a rational fraction, which is an algebraic fraction such that both the numerator and the denominator are polynomials. The coefficients of the polynomials need not be ...
: :-\frac\int \frac\,du. One may proceed using
partial fraction decomposition In algebra, the partial fraction decomposition or partial fraction expansion of a rational fraction (that is, a fraction such that the numerator and the denominator are both polynomials) is an operation that consists of expressing the fraction as ...
.


See also

* Trigonometric substitution *
Weierstrass substitution In integral calculus, the tangent half-angle substitution is a change of variables used for evaluating integrals, which converts a rational function of trigonometric functions of x into an ordinary rational function of t by setting t = \tan \tf ...
* Euler substitution


References

{{Integrals Integral calculus Theorems in analysis Theorems in calculus