One of our worksheets contains the following integrals (areas) to find:
$$\int_0^x 1 \, dx$$
$$\int_0^x x \, dx$$
I am skeptical. Although this is our first day learning about integrals in class, I already have a sense that perhaps the variable in the bound of integration shouldn't be the same as that appearing in the function being integrated.
If someone wrote... $$\int_0^x 1 \, dt$$ ... I know perfectly well that this would be equal to $x$ -- I could figure that out presumably by drawing $y=f(t)=1$ in the $y,t$ coordinate plane and using basic geometry. But it seems to me that the integral I noted at the very top of my post is different -- perhaps even nonsensical. Am I correct about that, i.e. did my teacher mess up when writing the questions? Any explanation is greatly appreciated.
Technically, the $dx$ in the first integral "binds" the variable name $x$ to the dummy variable of the integral. That is, it makes a local definition of the symbol $x$. This definition applies only within the integrand of the integral, nowhere else--certainly not outside the integral, and not even to the boundary values of the integral.
If you program, you might compare $dx$ to a declaration of a local variable $x$ inside the definition of a function. No code outside the function can set the value of $x,$ and the value of $x$ inside the function does not directly control the value of any other variable named $x$ outside the function definition.
Since $x$ is a dummy variable, defined only within the integrand by the notation $dx,$ we can substitute any other name of any other variable as long as that name doesn't already appear in the integrand. So for example, when you see $$\int_0^x x \, dx $$ you can think of $$\int_0^x t \, dt. $$ Technically, they're the same.
I say "technically", because in more practical terms, writing $\int_0^x x\,dx$ is bad style. If you know it is the same thing as $\int_0^x t\,dt$, why not write the $dt$ version and avoid the inevitable confusion that results from using the same variable name for two different things in two different places? Human beings are not good at that sort of distinction; it gets in the way of doing real math. And if you don't know $\int_0^x x\,dx$ is the same as $\int_0^x t\,dt$, you have no business writing it.
In short, I think you have a legitimate complaint that notation like this shouldn't be on your worksheet. In the meantime, solve $\int_0^x 1\,dx$ as $\int_0^x 1\,dt$ and solve $\int_0^x x\,dx$ as $\int_0^x t\,dt$.