I have heard that when integrating, another variable must be used. But I'm not clear when to use it, and why this can lead to confusion. I do not know if it's just a good practice or it's a rule.
What I want is to express the calculations correctly, but I do not know when to change the name of the variable. How should it be done?
For example
If I have an equation like this: $f(x)=x^2+x+1$
And I want to calculate the following integrals:
- $\displaystyle \int f(x)\,dx$
- $\displaystyle \int_{-\infty}^{+\infty} f(x)\,dx$
- $\displaystyle \int_{-\infty}^{0} f(x)\,dx$
- $\displaystyle \int_{0}^{1} f(x)\,dx$
- $\displaystyle \int_{1}^{+\infty} f(x)\,dx$
What is the correct notation that I should use to solve them?
Thank you very much.