Mathematica Integrating over the phase in Mathematica

Hi,

I have a question about integrating over the phase of a function in Mathematica. The origins of this problem is in scale analysis.

[itex] f(x,t)= \sum_n a_n \cos (n(kx-\omega t)) [/itex]

for [itex] k,\omega \in \mathbb{R}[/itex]. I want to integrate an expression dependent on f over the phase

[itex] \theta_n = n(kx-\omega t)[/itex] from [itex] [0,2\pi][/itex]. more specifically, I want to find

[itex] \int_0^{2\pi} g(x,t) \ d \theta[/itex] where, for instance, [itex] g(x,t) = f_t + 1/2f_^2+ f^2 [/itex].



Is there any automated way to do this without having to go back and manually change the phase to be a single symbolic variable?


Thanks!

Nick
 

Want to reply to this thread?

"Integrating over the phase in Mathematica" You must log in or register to reply here.

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top