- #1
- 3,611
- 121
Hi everyone,
I am having a 'crisis of faith' in how the limits of an integral should change when you make a substitution for the variable involved. Especially when using a sinusoid substitution, since the sinusoidal functions are not 1-to-1 functions. Anyway, let's use an example integral:
[tex]\int_{r_0}^0 \sqrt{\frac{r}{r_0-r}} \ dr [/tex]
(where [itex]r_0[/itex] is a positive number). Now I want to use the substitution [itex] r = r_0 sin^2(\theta) [/itex] So the integral becomes:
[tex]\int \ 2r_0 sin^2(\theta) \ d \theta [/tex]
But what about the limits? for [itex]r=r_0[/itex], we need [itex]sin^2(\theta)=1[/itex], so we can choose theta as PI/2+n for any integer n. And we have a similar ambiguity for the other limit of [itex]r=0[/itex], we can choose any integer multiple of PI as our value of theta in the limit. So does this ambiguity allow us to reach different answers? Or can we rest easy knowing that we must always reach the same answer no matter what choice we make? Well, if we try PI/2 for the lower limit and zero for the upper limit we have:
[tex]\int_{\pi/2}^0 2r_0 sin^2(\theta) \ d \theta [/tex]
And using trigonometric identity, is equal to:
[tex]r_0 \int_{\pi/2}^0 1 \ d \theta - r_0 \int_{\pi/2}^0 cos(2\theta) \ d\theta [/tex]
And continuing the calculation, gives the answer to be:
[tex]- \frac{\pi r_0}{2} [/tex]
OK, so now trying it again, but instead use PI/2 for the lower limit and PI for the upper limit, we have:
[tex]\int_{\pi/2}^{\pi} 2r_0 sin^2(\theta) \ d \theta [/tex]
And what follows is a very similar calculation, which gives:
[tex]\frac{\pi r_0}{2} [/tex]
So it is the opposite sign of the other answer. So depending on the values of theta chosen for the limits, we get a different answer to the integral. But this is not what I would hope for, since we are not breaking any rules, the upper limit still corresponds to the same value of r in both cases. In practice, I know the negative answer is correct because I know the answer to the original integral. But if I didn't know the answer to the original integral, then I would be totally lost as to which answer is the correct one.
So, have I totally missed something... Or is there some rule that I have not followed? Many thanks in advance!
I am having a 'crisis of faith' in how the limits of an integral should change when you make a substitution for the variable involved. Especially when using a sinusoid substitution, since the sinusoidal functions are not 1-to-1 functions. Anyway, let's use an example integral:
[tex]\int_{r_0}^0 \sqrt{\frac{r}{r_0-r}} \ dr [/tex]
(where [itex]r_0[/itex] is a positive number). Now I want to use the substitution [itex] r = r_0 sin^2(\theta) [/itex] So the integral becomes:
[tex]\int \ 2r_0 sin^2(\theta) \ d \theta [/tex]
But what about the limits? for [itex]r=r_0[/itex], we need [itex]sin^2(\theta)=1[/itex], so we can choose theta as PI/2+n for any integer n. And we have a similar ambiguity for the other limit of [itex]r=0[/itex], we can choose any integer multiple of PI as our value of theta in the limit. So does this ambiguity allow us to reach different answers? Or can we rest easy knowing that we must always reach the same answer no matter what choice we make? Well, if we try PI/2 for the lower limit and zero for the upper limit we have:
[tex]\int_{\pi/2}^0 2r_0 sin^2(\theta) \ d \theta [/tex]
And using trigonometric identity, is equal to:
[tex]r_0 \int_{\pi/2}^0 1 \ d \theta - r_0 \int_{\pi/2}^0 cos(2\theta) \ d\theta [/tex]
And continuing the calculation, gives the answer to be:
[tex]- \frac{\pi r_0}{2} [/tex]
OK, so now trying it again, but instead use PI/2 for the lower limit and PI for the upper limit, we have:
[tex]\int_{\pi/2}^{\pi} 2r_0 sin^2(\theta) \ d \theta [/tex]
And what follows is a very similar calculation, which gives:
[tex]\frac{\pi r_0}{2} [/tex]
So it is the opposite sign of the other answer. So depending on the values of theta chosen for the limits, we get a different answer to the integral. But this is not what I would hope for, since we are not breaking any rules, the upper limit still corresponds to the same value of r in both cases. In practice, I know the negative answer is correct because I know the answer to the original integral. But if I didn't know the answer to the original integral, then I would be totally lost as to which answer is the correct one.
So, have I totally missed something... Or is there some rule that I have not followed? Many thanks in advance!
Last edited: