PDA

View Full Version : Integral of cosine function


daudaudaudau
Jan14-11, 02:10 PM
Hi. I have been experimenting a little to come up with the following "conjecture"

\int_0^{2\pi}d\phi f(a+b\cos\phi)\sin\phi=0

where a and b are arbitrary constants and f(x) is any function. Is this true? I guess it can be shown by expanding f in a power series of cosines?

tiny-tim
Jan14-11, 03:23 PM
hi daudaudaudau! :smile:

doesn't work for f = √, a = b :wink:

LeonhardEuler
Jan14-11, 03:35 PM
Yes, I'm getting that that this is true. It can be proven using the substitution
x=\cos{\phi}
dx=-\sin{\phi}d\phi
But this substitution is not 1-to-1: Each x value corresponds to 2 phi values on [0,2pi]. So you need to break the region of integration into [0,pi] and [pi,2pi]. If you look at the graph of the cos function, you will see it is 1-to-1 on these two intervals and goes from 1 to -1 on [0,pi] and from -1 to 1 on [pi,2pi]. So the integral becomes:

\int_0^{2\pi}d\phi f(a+b\cos\phi)\sin\phi= \int_1^{-1}-f(a+bx)dx + \int_{-1}^{1}-f(a+bx)dx = \int_{-1}^{1}f(a+bx)dx + \int_{-1}^{1}-f(a+bx)dx = 0


Tiny-tim: I get this even in the example you gave.

tiny-tim
Jan14-11, 03:55 PM
hmm … i think i've been misled by the ambiguity of the √ function :redface:

yes, we can get it directly from the original integral …

if f = g', then it's ∫ [g(a + bcosφ)]' dφ, = [g(a + bcosφ)]φ=02π

LeonhardEuler
Jan14-11, 04:02 PM
hmm … i think i've been misled by the ambiguity of the √ function :redface:

yes, we can get it directly from the original integral …

if f = g', then it's ∫ [g(a + bcosφ)]' dφ, = [g(a + bcosφ)]φ=02π

Happens to everyone :wink:
That is a better way of proving it.

daudaudaudau
Jan14-11, 04:08 PM
hmm … i think i've been misled by the ambiguity of the √ function :redface:

yes, we can get it directly from the original integral …

if f = g', then it's ∫ [g(a + bcosφ)]' dφ, = [g(a + bcosφ)]φ=02π

What happened to the sine function?

tiny-tim
Jan14-11, 04:14 PM
chain rule :wink:

daudaudaudau
Jan14-11, 04:50 PM
clever :-)

AlephZero
Jan14-11, 09:31 PM
The integral from -pi to pi is zero, because you are integrating an odd function.

And the integral from -pi to pi equals the integral from 0 to 2pi.

QED.