Limits of integral after substitution

Click For Summary
SUMMARY

The discussion centers on the proper handling of limits in integrals when performing variable substitution, specifically using the substitution \( r = r_0 \sin^2(\theta) \). The integral \( \int_{r_0}^0 \sqrt{\frac{r}{r_0-r}} \, dr \) transforms into \( \int 2r_0 \sin^2(\theta) \, d\theta \), but the limits of integration introduce ambiguity due to the non-1-to-1 nature of the sine function. The results of the integral can vary based on the chosen limits, leading to different signs in the final answers. The critical insight is recognizing that the absolute value of cosine must be considered during simplification, ensuring consistent results across similar problems.

PREREQUISITES
  • Understanding of integral calculus and substitution methods
  • Familiarity with trigonometric identities and properties
  • Knowledge of absolute value functions in mathematical expressions
  • Experience with evaluating definite integrals
NEXT STEPS
  • Study the properties of trigonometric functions and their inverses
  • Learn about the implications of using absolute values in calculus
  • Explore more complex variable substitutions in integrals
  • Practice evaluating definite integrals with varying limits and substitutions
USEFUL FOR

Students and educators in mathematics, particularly those focusing on calculus, integral evaluation, and trigonometric functions. This discussion is beneficial for anyone looking to deepen their understanding of integral limits and substitution techniques.

BruceW
Science Advisor
Messages
3,611
Reaction score
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:
\int_{r_0}^0 \sqrt{\frac{r}{r_0-r}} \ dr
(where r_0 is a positive number). Now I want to use the substitution r = r_0 sin^2(\theta) So the integral becomes:
\int \ 2r_0 sin^2(\theta) \ d \theta
But what about the limits? for r=r_0, we need sin^2(\theta)=1, so we can choose theta as PI/2+n for any integer n. And we have a similar ambiguity for the other limit of r=0, 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:
\int_{\pi/2}^0 2r_0 sin^2(\theta) \ d \theta
And using trigonometric identity, is equal to:
r_0 \int_{\pi/2}^0 1 \ d \theta - r_0 \int_{\pi/2}^0 cos(2\theta) \ d\theta
And continuing the calculation, gives the answer to be:
- \frac{\pi r_0}{2}
OK, so now trying it again, but instead use PI/2 for the lower limit and PI for the upper limit, we have:
\int_{\pi/2}^{\pi} 2r_0 sin^2(\theta) \ d \theta
And what follows is a very similar calculation, which gives:
\frac{\pi r_0}{2}
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:
Physics news on Phys.org
BruceW said:
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:
\int_{r_0}^0 \sqrt{\frac{r}{r_0-r}} \ dr
(where r_0 is a positive number). Now I want to use the substitution r = r_0 sin^2(\theta) So the integral becomes:
\int \ 2r_0 sin^2(\theta) \ d \theta
But what about the limits? for r=r_0, we need sin^2(\theta)=1, so we can choose theta as PI/2+n for any integer n. And we have a similar ambiguity for the other limit of r=0, 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:
\int_{\pi/2}^0 2r_0 sin^2(\theta) \ d \theta
And using trigonometric identity, is equal to:
r_0 \int_{\pi/2}^0 1 \ d \theta - r_0 \int_{\pi/2}^0 cos(2\theta) \ d\theta
And continuing the calculation, gives the answer to be:
- \frac{\pi r_0}{2}
OK, so now trying it again, but instead use PI/2 for the lower limit and PI for the upper limit, we have:
\int_{\pi/2}^{\pi} 2r_0 sin^2(\theta) \ d \theta
And what follows is a very similar calculation, which gives:
\frac{\pi r_0}{2}
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!

Hi Bruce! :smile:

There's a bit of a subtlety here. When you do the sub, this is what actually happens:

\int_{r_0}^0 \sqrt{\frac{r}{r_0-r}} \ dr = \int \sqrt{\frac{r_0\sin^2{\theta}}{r_0\cos^2{\theta}}}(2r_0)\sin\theta\cos{\theta} \ d{\theta} = \int \frac{|\sin{\theta}|}{|\cos{\theta}|}(2r_0)\sin{\theta}\cos{\theta} \ d{\theta}

(I removed the bounds in the subbed integral for simplicity). Note that absolute value notation there, it's critical. Basically, the only way you're able to cancel out the cosine and simplify the whole expression is to take the case where sine and cosine have the same positive sign, so that implies a theta in the first quadrant.

Is that a satisfactory explanation?
 
Ah! yes. very good explanation, thank you! ah, that's awesome. my faith has been restored. I must try to keep on guard for those kinds of subtleties in the future. And so, I can rest assured that in similar problems, I can always choose any of the allowed values for theta, and the integral still comes out the same? (which is as I had hoped). And the thing that tripped me up here was actually something slightly different, that taking the square root of cos^2 gives the absolute value of cos, not cos itself. (a rookie mistake). Good, I think I understand it now.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 29 ·
Replies
29
Views
5K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K