I am currently learning about applying integration techniques to the calculation of mass in a rod of varying density. I feel as if I understand the general picture, but I have some specific points of confusion. Below I will explain the concept as I understand it, so any mistakes in my explanation can be pointed out:
Consider a straight rod of length $(b-a)$ made of a material with mass density that varies across the length of the rod.
We create a mass density function $\rho$, integrable on $[a,b]$, such that the mass density of the rod at a point, $x$, is given by $\rho (x)$. Recalling the definition of mass as the product of density and the space that density occupies, in this case, $\rho (x_k)$ and $dx$, the total mass of the rod, M, is given by the formula: $M=\int_{a}^{b}\rho (x) dx$
My two points of confusion are:
- Couldn't mass density vary across the z-axis? And wouldn't this impact the total mass value of the rod? Does this mean we are implicitly assuming a constant mass density across the width of the rod?
- When we evaluate a single $y$ value of the function at some point, what mass are we actually measuring? If $\rho (x_k)$ tells you the mass density at a point $x_k$ on the rod, and density is defined as the amount of mass per unit of space, what space in the rod are we talking about here? Are we calculating the amount of mass contained within a cross section of the rod of width $dx$ at the point $x_k$?