Average Cylinder Density#
Density is a straightforward concept, defined mathematically by the formula in equation (1). It represents the average mass per unit volume. When measuring density, it is typically assumed that the material is homogeneous and uniformly distributed within the volume. What if it wasn’t? I have some questions and math to examine the following questions:
What happens to the average density when two materials with different densities occupy the same volume?
That is, if I put one material on top of another material.
Can we calculate the proportions of each material needed to achieve a desired nominal density?
Density is defined as:
Where:
\(\rho\) - Density in terms of mass per unit volume (g/cc, kg/m^3, lbs/ft^3)
\(m\) - Mass (g, kg, lbs)
\(v\) - Volume (cc, m^3, ft^3)
If we add two different materials to a cylinder, we have the scenario is illustrated in figure 1. In our case, let’s assume:
The volume of interest is a cylinder of length \(h\) and diameter \(d\).
We add two materials:
\(A\) with density \(\rho_a\) and height \(h_a\).
\(B\) with density \(\rho_b\) and height \(h_b\).
The materials do not mix.
Note
The math can easily be extended to multiple materials. This article does not explore that route.
The variables we’ll need to define are:
\(h\) - The cylinder height.
\(d\) - The diameter of the cylinder.
\(A\) - Material A.
\(B\) - Material B.
\(\rho_a\) - Density of material A.
\(\rho_b\) - Density of material B.
\(h_a\) - Height of cylindrical volume of material A.
\(h_b\) - Height of cylindrical volume of material B.
The volume of the cylinder is:
Where:
\(r\) - This is the radius of the cylinder and equal to: \(r = \frac{d}{2}\)
Average Density#
The average density is defined in equation (1). The average density of the two material system is defined in equation (6). We need to solve equation (6) and simplify the results.
Using equations (4) and (5), we can expand (3) as follows:
Where:
\(\rho_t\) - Average density of the cylinder.
\(m_t\) - Mass of the material in the cylinder.
\(V_t\) - Volume of the cylinder (total material volume).
\(m_a\) - Mass of material A.
\(m_b\) - Mass of material B.
\(V_a\) - Volume of material A.
\(V_b\) - Volume of material B.
Using (7), (8), (9), and (10):
The final average density can be calculated from (11) in terms of the height and density of each material.
Overall Target Density#
What if we had a target density for the whole cylinder, \(\rho_t\), and we knew the material densities, \(\rho_a\) and \(\rho_b\)? Can we determine \(h_a\) and \(h_b\)? Let’s rearrange (11) and see if we can figure it out.
Equation (12), shows the ratio of \(h_a\) and \(h_b\).
We know:
Therefore, if we substitute (13) into (14) and simplify:
Rearranging and solving for \(h_b\):
If we know the shell dimensions, the densities of the materials and the average target density, we can solve for the height of the cylinder for material b, \(h_b\) (equation (16)). Once you know \(h_b\) you can solve for \(h_a\) using equation (14). If you are interested in the volume of either material cylinder use equation (9) and (10). If you want the mass of the material cylinders using equations (7) and (8).
To solidify the concept, let’s use a practical example:
\(\rho_t = 1.00 \, \frac{g}{\text{cc}}\)
\(\rho_a = 1.30 \, \frac{g}{\text{cc}}\)
\(\rho_b = 0.93 \, \frac{g}{\text{cc}}\)
\(h = 6.25 \, \text{inches}\)
\(d = 2.00 \, \text{inches}\)
Note
Normally, you would convert them so they are all using the same unit system. In this case, as long as the density units are the same and the length units are the same, there will not be a problem. The units cancel.
From equation (14), we have:
Therefore, to achieve the target density of \(\rho_t = 1.00 \, \frac{g}{\text{cc}}\), \(h_b\) is 5.06 inches and \(h_a\) is 1.19 inches.
Further Thoughts#
It occurred to me, since I wrote the article yesterday, that equation (12) is not the most convenient form to work with. A ratio of both materials is not ideal. What would be convenient is a ratio of one of the material heights to the height of the cylinder. Something like this:
From equation (17), we can see that:
Why is the relationship in equation (18) valid? We have a cylinder of height, \(h_t\). We fill it with material a to a height of \(h_a\). We fill it with material b to a height of \(h_b\). From the diagram in figure 1, it follows that \(h_a + h_b = h = h_t\).
We can establish the material height ratios to the cylinder heights. We derive relationships from equation (18) in the following:
From equation (12), Let:
This leads to:
Working from equation (19):
With equation (22) we have a solution in terms of the ratio of the material b height to the cylinder height. Let’s simplify and derive the final equation. Let:
Let:
All of this simplifies to the final form:
Equation (23) is the final form. This form places material height of b in a ratio with the height of the cylinder. It is more convenient to work with. We can use the equations listed in (19) to solve for the other material height ratio.
To confirm, let’s use the numbers from the previous section:
The numbers match our previous calculations!