Evaluating Definite Integrals: A Comparison and Explanation

In summary: The important thing is not the m. It's the ##\;e^{jx\cos\theta}\;## can never equal to ##\;e^{-jx\cos\theta}\;## except...
  • #1
yungman
5,718
241
I want to proof
[tex]\int_{-\pi}^0 e^{jz\cos \theta}\cos(m\theta) d\theta=\int_0^{\pi} e^{jz\cos \theta}\cos(m\theta) d\theta[/tex]
(1) Let ##\theta=-\theta\;\Rightarrow\; d\theta=-d\theta,\;\cos(-\theta)=\cos\theta,\;\cos[m(-\theta)]=\cos(m\theta)##
[tex]\int_{-\pi}^0 e^{jz\cos \theta}\cos(m\theta) d\theta=-\int_{\pi}^0 e^{jz\cos \theta}\cos(m\theta) d\theta=\int_0^{\pi}e^{jz\cos \theta}\cos(m\theta) d\theta[/tex]

BUT

(2) Let ##\theta=\pi+\theta\;\Rightarrow\; d\theta=d\theta,\;\cos(\pi+\theta)=-\cos\theta##
[tex]\int_{-\pi}^0 e^{jz\cos \theta}\cos(m\theta) d\theta=\int_0^{\pi} e^{-jz\cos \theta}\cos(m\pi+m\theta) d\theta[/tex]
[tex]\cos(m\pi+m\theta)=\cos(m\pi)\cos(m\theta)-\sin(m\pi)\sin(m\theta)=(-1)^m \cos(m\theta)[/tex]
[tex]\Rightarrow\;\int_{-\pi}^0 e^{jz\cos \theta}\cos(m\theta) d\theta=\int_0^{\pi} e^{-jz\cos \theta}(-1)^m \cos(m\theta) d\theta [/tex]

Obviously the two ways give different result. What did I do wrong?

Thanks
 
Physics news on Phys.org
  • #2
Both of your calculations are correct. Where do you see a contradiction?
 
  • #3
vanhees71 said:
Both of your calculations are correct. Where do you see a contradiction?

But
[tex]\int_0^{\pi}e^{jz\cos \theta}\cos(m\theta) d\theta\neq \int_0^{\pi} e^{-jz\cos \theta}(-1)^m \cos(m\theta) d\theta[/tex]

Thanks for the reply.
 
  • #4
Anyone please, I don't think I did anything wrong.
 
  • #5
yungman said:
But
[tex]\int_0^{\pi}e^{jz\cos \theta}\cos(m\theta) d\theta\neq \int_0^{\pi} e^{-jz\cos \theta}(-1)^m \cos(m\theta) d\theta[/tex]

Thanks for the reply.
Could you give a counterexample for me? I'm feeling tired and lazy right now, but both your derivations, at a glance, look okay to me.
 
  • #6
Mandelbroth said:
Could you give a counterexample for me? I'm feeling tired and lazy right now, but both your derivations, at a glance, look okay to me.

I don't have counter example, I am confused enough already.


This identity is definitely true given but many books:
[tex]J_m(z)=\frac{j^{-m}}{2\pi}\int_{-\pi}^{\pi}e^{jz\cos u}\cos(m\theta)d\theta=\frac{j^{-m}}{\pi}\int_0^{\pi} e^{jz\cos \theta}\cos(m\theta) d\theta[/tex]
[tex]J_m(z)=\frac{j^{-m}}{2\pi}\int_{-\pi}^{\pi}e^{jz\cos u}\cos(m\theta)d\theta=\frac{j^{-m}}{2\pi}\int_0^{\pi} e^{jz\cos \theta}\cos(m\theta) d\theta+\frac{j^{-m}}{2\pi}\int_{-\pi}^{0} e^{jz\cos \theta}\cos(m\theta) d\theta[/tex]

The original question is regarding the second integral.

Thanks
 
  • #7
yungman said:
I don't have counter example, I am confused enough already.
Can you give an ##m## such that the two integrals are not equal? Checking the trivial case ##m=0##, we get that the two integrals are equal. You say that the two ways "obviously" give a different result, but I'm pretty sure the two integrals are equal. I want to know why you think they wouldn't be.
 
  • #8
Mandelbroth said:
Can you give an ##m## such that the two integrals are not equal? Checking the trivial case ##m=0##, we get that the two integrals are equal. You say that the two ways "obviously" give a different result, but I'm pretty sure the two integrals are equal. I want to know why you think they wouldn't be.

But for m=1

[tex] \int_0^{\pi} e^{-jz\cos \theta}(-1) \cos(\theta) d\theta=-\int_0^{\pi} \frac{1}{e^{jz\cos \theta}} \cos(\theta) d\theta[/tex]

[tex]\int_0^{\pi}e^{jz\cos \theta}\cos(\theta) d\theta\neq -\int_0^{\pi} \frac{1}{e^{jz\cos \theta}} \cos(\theta) d\theta[/tex]

for m=3

[tex] \int_0^{\pi} e^{-jz\cos \theta}(-1) \cos(3\theta) d\theta=-\int_0^{\pi} \frac{1}{e^{jz\cos \theta}} \cos(3\theta) d\theta[/tex]

[tex]\int_0^{\pi}e^{jz\cos \theta}\cos(3\theta) d\theta\neq -\int_0^{\pi} \frac{1}{e^{jz\cos \theta}} \cos(3\theta) d\theta[/tex]
 
Last edited:
  • #9
yungman said:
But for m=1
[...]
[tex]\int_0^{\pi}e^{jz\cos \theta}\cos(\theta) d\theta\neq -\int_0^{\pi} \frac{1}{e^{jz\cos \theta}} \cos(\theta) d\theta[/tex]
This is not true. For ##m=1##, they are both equal to ##j\pi J_1(z)##, where ##J_1## is a Bessel function of the first kind. The integrals are also equal for ##m=3##.
 
  • #10
Mandelbroth said:
This is not true. For ##m=1##, they are equal to ##j\pi J_1(z)##, where ##J_1## is a Bessel function of the first kind. The integrals are also equal for ##m=3##.

Please explain a little more, I don't get what you mean. All I am looking is that part of the equation is not equal and I don't see a reason.

The important thing is not the m. It's the ##\;e^{jx\cos\theta}\;## can never equal to ##\;e^{-jx\cos\theta}\;## except ##\;\theta=\pi/2##
 
  • #11
yungman said:
Please explain a little more, I don't get what you mean. All I am looking is that part of the equation is not equal and I don't see a reason.

The important thing is not the m. It's the ##\;e^{jx\cos\theta}\;## can never equal to ##\;e^{-jx\cos\theta}\;## except ##\;\theta=\pi/2##
You're just looking at the integrands. You CAN'T do that. Different integrands can have the same definite integrals.
 
  • #12
Let's take a look at the graphs. Here is the graph for the real part for ##z=3## and ##m=3##:

attachment.php?attachmentid=60475&stc=1&d=1374702373.png


As you see, the graphs won't be equal, but the integrals will be. I hope this reassures you that your result is correct.
 

Attachments

  • graph.png
    graph.png
    4 KB · Views: 429
  • #13
Mandelbroth said:
You're just looking at the integrands. You CAN'T do that. Different integrands can have the same definite integrals.
Sorry I still don't get this.
It is given:
[tex]J_m(z)=\frac{j^{-m}}{2\pi}\int_{-\pi}^{\pi}e^{jz\cos u}\cos(m\theta)d\theta=\frac{j^{-m}}{\pi}\int_0^{\pi} e^{jz\cos \theta}\cos(m\theta) d\theta[/tex]

From that we have:
[tex]J_m(z)=\frac{j^{-m}}{2\pi}\int_{-\pi}^{\pi}e^{jz\cos u}\cos(m\theta)d\theta=\frac{j^{-m}}{2\pi}\int_0^{\pi} e^{jz\cos \theta}\cos(m\theta) d\theta+\frac{j^{-m}}{2\pi}\int_{-\pi}^{0} e^{jz\cos \theta}\cos(m\theta) d\theta[/tex]

This mean it has to be:
[tex]\frac{j^{-m}}{2\pi}\int_0^{\pi} e^{jz\cos \theta}\cos(m\theta) d\theta=\frac{j^{-m}}{2\pi}\int_{-\pi}^{0} e^{jz\cos \theta}\cos(m\theta) d\theta[/tex]

From my original post I use two different change of variables and get two different result, and:
[tex]\frac{j^{-m}}{2\pi}\int_0^{\pi}e^{jz\cos \theta}\cos(m\theta) d\theta\neq \frac{j^{-m}}{2\pi}\int_0^{\pi} \frac{1}{e^{jz\cos \theta}}(-1)^m \cos(m\theta) d\theta[/tex]

Or
[tex]J_m(z)=\frac{j^{-m}}{\pi}\int_0^{\pi} e^{jz\cos \theta}\cos(m\theta) d\theta\neq\frac{j^{-m}}{2\pi}\int_0^{\pi} e^{jz\cos \theta}\cos(m\theta) d\theta+\frac{j^{-m}}{2\pi}\int_{0}^{\pi} \frac{1}{e^{jz\cos \theta}}(-1)^m\cos(m\theta) d\theta[/tex]

This is regardless of whether it's a Bessel function or not.

I am confused.

Thanks
 
  • #14
yungman said:
From my original post I use two different change of variables and get two different result, and:
[tex]\frac{j^{-m}}{2\pi}\int_0^{\pi}e^{jz\cos \theta}\cos(m\theta) d\theta\neq \frac{j^{-m}}{2\pi}\int_0^{\pi} \frac{1}{e^{-jz\cos \theta}}(-1)^m \cos(m\theta) d\theta[/tex]

Why do you think the integrals are not equal? Doesn't my graph show you that they were equal (for a special case, ok)?

Wait, didn't you mean:
[tex]\frac{j^{-m}}{2\pi}\int_0^{\pi}e^{jz\cos \theta}\cos(m\theta) d\theta\neq \frac{j^{-m}}{2\pi}\int_0^{\pi} e^{-jz\cos \theta}(-1)^m \cos(m\theta) d\theta[/tex]
As in your orginal post?
 
  • #15
micromass said:
Why do you think the integrals are not equal? Doesn't my graph show you that they were equal (for a special case, ok)?

Wait, didn't you mean:
[tex]\frac{j^{-m}}{2\pi}\int_0^{\pi}e^{jz\cos \theta}\cos(m\theta) d\theta\neq \frac{j^{-m}}{2\pi}\int_0^{\pi} e^{-jz\cos \theta}(-1)^m \cos(m\theta) d\theta[/tex]
As in your orginal post?

Yes, I am trying to derive the equation:
[tex]J_m(z)=\frac{j^{-m}}{2\pi}\int_{-\pi}^{\pi}e^{jz\cos u}\cos(m\theta)d\theta=\frac{j^{-m}}{\pi}\int_0^{\pi} e^{jz\cos \theta}\cos(m\theta) d\theta[/tex]
AND I can't get there if I cannot prove
[tex]\frac{j^{-m}}{2\pi}\int_0^{\pi}e^{jz\cos \theta}\cos(m\theta) d\theta\neq \frac{j^{-m}}{2\pi}\int_0^{\pi} e^{-jz\cos \theta}(-1)^m \cos(m\theta) d\theta[/tex]My original post is not even a Bessel function question. It's a change of variable problem...that I use two different change of variable and get two different answer that I cannot prove they are equal.

Thanks for your help.
 
Last edited:
  • #16
yungman said:
Yes, I am trying to derive the equation:
[tex]J_m(z)=\frac{j^{-m}}{2\pi}\int_{-\pi}^{\pi}e^{jz\cos u}\cos(m\theta)d\theta=\frac{j^{-m}}{\pi}\int_0^{\pi} e^{jz\cos \theta}\cos(m\theta) d\theta[/tex]
AND I can't get there if I cannot prove
[tex]\frac{j^{-m}}{2\pi}\int_0^{\pi}e^{jz\cos \theta}\cos(m\theta) d\theta\neq \frac{j^{-m}}{2\pi}\int_0^{\pi} e^{-jz\cos \theta}(-1)^m \cos(m\theta) d\theta[/tex]

Bottom line, even maybe the result is same, but how do I prove the formula?
Thanks for your help.

I think your post in your OP actually provides a good proof of the formula.
 
  • #17
micromass said:
I think your post in your OP actually provides a good proof of the formula.

Can you explain more? I am more confused now. How come I have two ways and get two different result and I cannot prove it's the same. This is not even issue with Bessel function. Just a change of variable problem.

Thanks for your help.
 
Last edited:
  • #18
yungman said:
Can you explain more?

Well, you started from one integral. You did two different substitutions (namely ##\theta\rightarrow - \theta## and ##\theta \rightarrow \pi + \theta##) and you obtained two different integrals equal to the first integral. So these two integrals must equal.
 
  • #19
micromass said:
Well, you started from one integral. You did two different substitutions (namely ##\theta\rightarrow - \theta## and ##\theta \rightarrow \pi + \theta##) and you obtained two different integrals equal to the first integral. So these two integrals must equal.

That's how it work? Isn't it pushing it? How do you justify the two equations in my OP are equal? Even you use numerical method, it's not going to be equal. I thought math has to have reason and valid justification. What I showed is very basic change of variables only!

Forget that it's part of the Bessel function. How do you justify to beginning math students that this basic change of variables give you the same solution...as it absolutely does not. Unless you are going to amend that there are exception to the change of variables when comes to some difficult functions.

No matter how you cut it
From my original post I use two different change of variables and get two different result, and:
[tex]\int_0^{\pi}e^{jz\cos \theta}\cos(m\theta) d\theta\neq\int_0^{\pi} \frac{1}{e^{jz\cos \theta}}(-1)^m \cos(m\theta) d\theta[/tex]
As you cannot make:
[tex]e^{jz\cos \theta}\neq \frac{1}{e^{jz\cos \theta}}[/tex]
For all z and ##\theta##.

I don't mean to challenge you or others, it just does not make sense.

Thanks
 
Last edited:
  • #20
yungman said:
That's how it work? Isn't it pushing it? How do you justify the two equations in my OP are equal? Even you use numerical method, it's not going to be equal. I thought math has to have reason and valid justification. What I showed is very basic change of variables only!

Forget that it's part of the Bessel function. How do you justify to beginning math students that this basic change of variables give you the same solution...as it absolutely does not. Unless you are going to amend that there are exception to the change of variables when comes to some difficult functions.

No matter how you cut it
From my original post I use two different change of variables and get two different result, and:
[tex]\int_0^{\pi}e^{jz\cos \theta}\cos(m\theta) d\theta\neq\int_0^{\pi} \frac{1}{e^{jz\cos \theta}}(-1)^m \cos(m\theta) d\theta[/tex]
As you cannot make:
[tex]e^{jz\cos \theta}\neq \frac{1}{e^{jz\cos \theta}}[/tex]
For all z and ##\theta##.

I don't mean to challenge you or others, it just does not make sense.

Thanks
So, by your logic, ##\displaystyle \int\limits_{[0,2\pi]}\cos{x}\, dx = \int\limits_{[0,2\pi]}\sin{x}\, dx## is not true because ##\sin{x}\neq\cos{x}##?
 
  • #21
Mandelbroth said:
So, by your logic, ##\displaystyle \int\limits_{[0,2\pi]}\cos{x}\, dx = \int\limits_{[0,2\pi]}\sin{x}\, dx## is not true because ##\sin{x}\neq\cos{x}##?

I don't know, I am not a math expert by any stretch. I don't mean I don't trust you. Is there a mathematical proof they are equal like all the equations, theorem in textbooks?

In your example, both result in zero. But in my case, the result is not zero.

It's like saying [itex]\frac 0 a=\frac 0 b[/itex] does not mean a=b

But how about [itex]\frac k a=\frac k b[/itex] where k is a non zero value?

I don't know. I just feel there is a more convincing way to proof this.

If
[tex]\frac{j^{-m}}{\pi}\int_0^{\pi} e^{jz\cos \theta}\cos(m\theta) d\theta=\frac{j^{-m}}{2\pi}\int_0^{\pi} e^{jz\cos \theta}\cos(m\theta) d\theta+\frac{j^{-m}}{2\pi}\int_{0}^{\pi} \frac{1}{e^{jz\cos \theta}}(-1)^m\cos(m\theta) d\theta[/tex]

AND if this is a LINEAR equation and it's not zero, is there something about
[tex]\int_0^{\pi} e^{jz\cos \theta}\cos(m\theta) d\theta=\int_{0}^{\pi} \frac{1}{e^{jz\cos \theta}}(-1)^m\cos(m\theta) d\theta[/tex]
For all ##\theta## and z?Thanks
 
Last edited:
  • #22
This is getting too confusing. I understand the two equation can look very different but the result is the same for all value. This is like

[tex]e^x=\sum_0^{\infty}\frac {x^k}{k!}[/tex]
Even the two side is totally different, but there is a reason, because it is a power series relation and there is a definite way to go from the left side to the right side. So if the assertion is true in my OP, is there a step by step proof for that? there has to be a logical step by step derivation in math...at least at this more basic level of change of variables.

Is there any way than proof by plotting a graph?
 
Last edited:
  • #23
Anyone please?
 
  • #24
What is it that you do not understand? You used a change of variable and both of your results MUST be the same since you have not performed any illegal operation.
 
  • #25
dirk_mec1 said:
What is it that you do not understand? You used a change of variable and both of your results MUST be the same since you have not performed any illegal operation.

Then how come I cannot transform from one result to the other?
 
  • #26
I think you're mistaking equality of integrals with equality of integrands.

Just because [itex] \int_{a}^{b}f(x)dx = \int_{a}^{b}g(x)dx [/itex] does not mean that [itex] f(x) = g(x) [/itex] for all [itex] x [/itex] in [itex] [a,b] [/itex].

Example:

[itex] \int_{0}^{1} 2xdx = 1 = \int_{0}^{1} 3x^2dx [/itex]

But clearly [itex] 2x ≠ 3x^2 [/itex] on [itex] [0,1] [/itex].

The point is that the definite integral over an interval is not a local property. Two entirely different functions may happen to have the same integral over a given interval.
 
Last edited:
  • Like
Likes 1 person
  • #27
yungman said:
Then how come I cannot transform from one result to the other?
You don't necessarily have to be able to "transform" one integrand into the other. They don't have to be equal. For example, consider that ##\displaystyle \int\limits_{[0,\pi]}\frac{2}{\pi}~dx=\int\limits_{[0,\pi]}\sin{x}~dx##. Definite integrals don't necessarily have to have the same integrand to be equal. :wink:
 
  • Like
Likes 1 person
  • #28
Thanks for all the replies.
 
  • #29
yungman said:
Thanks for all the replies.
You're welcome. We're happy to help. :wink:
 
  • #30
I finally got the answer from Math Forum by Mathman

[tex]v=\pi-u\;\Rightarrow \;u=\pi-v,\;du=-dv[/tex]

[tex]\int_{0}^{\pi}e^{jx\cos (u)}\cos(mu)du=-\int_{\pi}^{0}e^{jx\cos (\pi-v)}\cos(m\pi-mv)dv=\int_{0}^{\pi}e^{-jx\cos (v)}(-1)^m\cos(mv)dv[/tex]

[tex]\theta=v\;\Rightarrow \;\int_{0}^{\pi}e^{-jx\cos (v)}(-1)^m\cos(mv)dv=\int_{0}^{\pi}e^{-jx\cos (\theta)}(-1)^m\cos(m\theta)d\theta[/tex]

This is what I am looking for, a step by step proof that the two change of variable give the same exact answer. I know there got to be a way to proof identity.
 
  • #31
yungman said:
I finally got the answer from Math Forum by Mathman

[tex]v=\pi-u\;\Rightarrow \;u=\pi-v,\;du=-dv[/tex]

[tex]\int_{0}^{\pi}e^{jx\cos (u)}\cos(mu)du=-\int_{\pi}^{0}e^{jx\cos (\pi-v)}\cos(m\pi-mv)dv=\int_{0}^{\pi}e^{-jx\cos (v)}(-1)^m\cos(mv)dv[/tex]

[tex]\theta=v\;\Rightarrow \;\int_{0}^{\pi}e^{-jx\cos (v)}(-1)^m\cos(mv)dv=\int_{0}^{\pi}e^{-jx\cos (\theta)}(-1)^m\cos(m\theta)d\theta[/tex]

This is what I am looking for, a step by step proof that the two change of variable give the same exact answer. I know there got to be a way to proof identity.
Your first post in this thread proved the identity, actually. :wink:
 
  • #32
Mandelbroth said:
Your first post in this thread proved the identity, actually. :wink:

Yeh, hind sight show I was close! But I am not that good in math, still have problem twisting the substitution around every which way to see it.

It's one thing working through the class and textbooks, it's another thing to get into this Bessel function derivation that really twisting the substitution every which way! I am just glad I finally got my derivations for the Bessel functions needed for me to go back to my antenna theory. This and electromagnetics really take the calculus, ODE, PDE and numerical analysis through the ringer. Been stuck for two week in here struggling through this and I am only on chapter 5 of the antenna theory! One thing for sure, I will be a lot better off in math after this...and I don't know whether I am laughing or crying at this point!
 
  • #33
In another thread in which you asked about how to derive a different representation of bessel function,I told there that you should show it by yourself.The point is that only even m will contribute,all integrals involving odd m will vanish.For that you can use the expansion of cos[xcos(theta)].The thread is some below in this forum.
 
  • #34
andrien said:
The thread is some below in this forum.

What do you mean?
 
  • #35
yungman said:
What do you mean?
I mean the thread is some below in this section of the forum.Also if you will use expansion of Sin(xCosθ),you will find that only odd m contribute and the extra minus sign outside Sin(xCosθ) will do the job.Just show it.
 

Similar threads

  • Calculus and Beyond Homework Help
Replies
5
Views
687
  • Calculus and Beyond Homework Help
Replies
4
Views
139
  • Calculus and Beyond Homework Help
Replies
3
Views
563
  • Calculus and Beyond Homework Help
Replies
3
Views
883
  • Calculus and Beyond Homework Help
Replies
8
Views
876
  • Calculus and Beyond Homework Help
Replies
3
Views
799
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
829
  • Calculus and Beyond Homework Help
Replies
2
Views
648
  • Calculus and Beyond Homework Help
Replies
1
Views
288
Back
Top