Solve e^x cos(x) Intigration Problem

  • Thread starter Pearce_09
  • Start date
In summary, the conversation discusses solving an integrating problem involving e^x cos(x). Various methods are suggested, including integrating by parts and using Euler's equation. The final solution is obtained as S(x) = (1/2)e^x (sinx + cosx) + C, where C is a constant of integration. The importance of allowing the OP to think and figure out the problem on their own is also emphasized.
  • #1
Pearce_09
74
0
Hello,
I just cannot solve this intigrating problem, either i can't think straight, or it just can't be done..

[tex] e^x cos(x) [/tex]

If you intigrate by parts, its series that goes on and on... so is it even possible??
 
Physics news on Phys.org
  • #2
Integrate by parts twice and you'll get another integral that looks like your original one. Then you can add that to the original, so that the stuff that's left is equal to twice your original integral.
 
  • #3
the thing to this question is [tex] e^x cos(x) [/tex]
you integrate it a few times and when you integrate it you will go back to this function [tex] e^x cos(x) [/tex]
then

(integral [tex] e^x cos(x) [/tex] = blah blah blah blah blah +-(either plus or minus: say minus) integral [tex] e^x cos(x) [/tex]dx)
so now you add the integral([tex] e^x cos(x) [/tex]
) to the left side and becomes 2*
so then this becomes
2*integral[tex] e^x cos(x) [/tex]=blah blah blah blah blah

integral[tex] e^x cos(x) [/tex]=(blah blah blah blah blah)/2 now you solved it
 
Last edited:
  • #4
dglee said:
(integral [tex] e^x cos(x) [/tex] = blah blah blah blah blah +-(either plus or minus: say minus) integral [tex] e^x cos(x) [/tex]dx)
so now you add the integral([tex] e^x cos(x) [/tex]
No, it cannot be either plus or minus, it must be minus, if it's a plus then after rearraninging it, you will get something like:
[tex]\int 0 \ dx = \mbox{constant}[/tex].
And obviously, you don't want to get this result, right?
@ Pearce_09, have you worked it out yet?
 
  • #5
Another way...

Another way to evaluate [tex]\int e^{x}\cos x dx[/tex] is:

By Euler's equation, viz. [tex] e^{ix}= \cos x +i\sin x ,[/tex] and hence

[tex] e^{x}e^{ix} = e^{x}\left( \cos x +i\sin x\right) = e^{x}\cos x +ie^{x}\sin x[/tex]

so that we have

[tex]\Re\left[ e^{x}e^{ix} \right] = e^{x}\cos x ,[/tex]

where [itex]\Re\left[ z\right] [/itex] denotes the real part of z, (which for z=x+iy is x)

and hence

[tex]\int e^{x}\cos x dx = \Re\left[ \int e^{x}e^{ix} dx\right] = \Re\left[ \int e^{(1+i)x} dx\right] = \Re\left[ \frac{1}{1+i} e^{(1+i)x} + C\right] [/tex]
[tex] = \Re\left[ \frac{1}{2}(1-i) e^{x}\left( \cos x +i\sin x\right) \right] + C_1= \Re\left[ \frac{1}{2}\left( e^{x}\cos x + e^{x}\sin x\right) + i\frac{1}{2}\left( -e^{x}\cos x + e^{x}\sin x\right)\right] + C_1 [/tex]
[tex] = \frac{1}{2}\left( e^{x}\cos x + e^{x}\sin x\right) +C_1 [/tex]

where [tex]C_1[/tex] is a real contant, and a 'free' corollary is:

[tex]\int e^{x}\sin x dx = \Im\left[ \int e^{x}e^{ix} dx\right] = \frac{1}{2}\left( -e^{x}\cos x + e^{x}\sin x\right) +C,[/tex]

where [itex]\Im\left[ z\right] [/itex] denotes the imaginary part of z, (which for z=x+iy is y.)
 
Last edited:
  • #6
Easier way is (as others say above) put

[tex]S(x) = \int e^x \cos x dx = e^x \sin x - \int e^x \sin x dx[/tex]

Now

[tex]\int e^x \sin x dx = -e^x \cos x +\int e^x \cos x dx[/tex]

Inserting this into the first formula,

[tex]S(x) = e^x \sin x + e^x \cos x - S(x)[/tex]

and we have

[tex]S(x)=\frac {e^x} 2 (\sin x + \cos x)[/tex]
 
  • #7
maverick6664 said:
Easier way is (as others say above) put

[tex]S(x) = \int e^x \cos x dx = e^x \sin x - \int e^x \sin x dx[/tex]

Now

[tex]\int e^x \sin x dx = -e^x \cos x +\int e^x \cos x dx[/tex]

Inserting this into the first formula,

[tex]S(x) = e^x \sin x + e^x \cos x - S(x)[/tex]

and we have

[tex]S(x)=\frac {e^x} 2 (\sin x + \cos x)[/tex]
?
No complete solution, please!
You most let the OP think, that's for his own's shake. Unless you can see that he (the OP) has tried damn hard and still cannot figure out the problem, don't give out complete solution. https://www.physicsforums.com/showthread.php?t=28
Or you can try to post a new solution (like what benorin did) that the OP has not known yet, so after he works out the problem on his own way, he'll have 2 different ways to solve the problem! And that's good for him!
---------------
And look at your solution again, where's the constant of integration?
 
  • #8
VietDao29 said:
?
No complete solution, please!
You most let the OP think, that's for his own's shake. Unless you can see that he (the OP) has tried damn hard and still cannot figure out the problem, don't give out complete solution. https://www.physicsforums.com/showthread.php?t=28
Or you can try to post a new solution (like what benorin did) that the OP has not known yet, so after he works out the problem on his own way, he'll have 2 different ways to solve the problem! And that's good for him!
---------------
And look at your solution again, where's the constant of integration?

oh..sorry for that!
 

FAQ: Solve e^x cos(x) Intigration Problem

What is the formula for solving e^x cos(x) integration problem?

The formula for solving e^x cos(x) integration problem is: ∫ e^x cos(x) dx = (e^x)(sin(x)) + (e^x)(cos(x)) + C

How do you solve for e^x cos(x) integration problem?

To solve for e^x cos(x) integration problem, use the formula ∫ e^x cos(x) dx = (e^x)(sin(x)) + (e^x)(cos(x)) + C. First, integrate e^x to get (e^x)(sin(x)) + C. Then, integrate cos(x) to get (e^x)(cos(x)) + C. Add the two integrals together and add a constant of integration, C, at the end.

What are the steps for solving e^x cos(x) integration problem?

The steps for solving e^x cos(x) integration problem are:1. Identify the integral as e^x cos(x).2. Use the formula ∫ e^x cos(x) dx = (e^x)(sin(x)) + (e^x)(cos(x)) + C.3. Integrate e^x to get (e^x)(sin(x)) + C.4. Integrate cos(x) to get (e^x)(cos(x)) + C.5. Add the two integrals together and add a constant of integration, C, at the end.

Are there any special rules or techniques for solving e^x cos(x) integration problem?

Yes, there are a few special rules and techniques for solving e^x cos(x) integration problem. One of them is using the formula ∫ e^x cos(x) dx = (e^x)(sin(x)) + (e^x)(cos(x)) + C. Another technique is using integration by parts, where u = cos(x) and v' = e^x. Additionally, trigonometric identities such as cos(x) = (e^ix + e^-ix)/2 can also be useful in solving this integral.

Are there any real-life applications of e^x cos(x) integration problem?

Yes, there are several real-life applications of e^x cos(x) integration problem. One example is in physics, specifically in the study of oscillatory motion. The equation for simple harmonic motion can be represented as x(t) = A cos(ωt), which can be rewritten as x(t) = A/2(e^iωt + e^-iωt). By taking the derivative of this equation, we can use the e^x cos(x) integration formula to find the velocity and acceleration of the oscillating object. This integral can also be used in engineering and economics to model and analyze various systems and processes.

Back
Top