Question
Question: How do you find the integral of \(\left( {{e}^{x}} \right)\left( \cos x \right)dx\) ?...
How do you find the integral of (ex)(cosx)dx ?
Solution
The given equation is an integral equation. We need to expand the equation. Now we must solve the real parts of the equation. After solving the real part, the integral must be evaluated by using u-substitution. Now use Euler’s identity and take out the real part from the resultant equation.
Complete step-by-step solution:
Here (ex)(cosx)dx Can be solved by the complexifying integral method.
Here in the above, the cosx is the real part of eix.
By the Euler’s rule identity that is eiθ=cos(θ)+isin(θ).
Now we can rewrite the integral as:
∫excos(x)dx=∫ex.Re(eix)dx=
Here the given equation is complex. In this type of equation ex is a real factor.
Real factor outside or inside the real part functions doesn’t vary the total value of the equation.
So now we can write a real part function and the integral part inside it.
Now the equation changes as:
⇒Re(∫exeixdx)⇒Re(∫ex+ixdx)⇒Re(∫e(i+1)x)dx
By using u-substitution we can evaluate the integral:
⇒Re(i+1e(i+1)x+c)
Now let’s take the common exponent out of the equation.
⇒Re(i+1exeix)+c
⇒ex.Re(i+1eix)+c
To expand the above equation we can use Euler’s rule identity.
⇒ex.Re((i+1)(i−1)i−1(cos(x)+isin(x)))+c
Now let’s calculate the denominator.
⇒ex.Re(−1−1i−1(cos(x)+isin(x)))+c
⇒ex.Re(−2i−1(cos(x)+isin(x)))+c
⇒ex.Re((−2i−−21)(cos(x)+isin(x)))+c
Now we should multiply both the terms inside the bracket.
⇒ex.Re(−2icos(x)+21sin(x)+21cos(x)+2isin(x))+c
Now we can separate the real parts easily.
⇒ex(21sin(x)+21cos(x))+c
⇒2ex(sin(x)+cos(x))+c
Hence the integral of (ex)(cosx)dx is 2ex(sin(x)+cos(x))+c
Note: Euler’s formulae are used for integrated equations. Leonhard Euler is the mathematics scientist who evolved the Euler’s formula. This Euler’s formula is used for the complex numbers.
Integral equation which has trigonometric functions can be evaluated by using Euler's formula.
The integrand can be simplified by using the half-angle formula.