It is given that a straight rod has one end at the origin (that is (0,0)) and the other end at the point (L,0) and a linear density given by
, where a is a known constant and x is the x coordinate.
Therefore, the infinitesimal mass is given as:

Therefore, the total mass will be the integration of the above equation as:

Therefore, ![m=a\int\limits^L_0 {x^2} \, dx=a[\frac{x^3}{3}]_{0}^{L}=\frac{a}{3}[L^3-0]= \frac{aL^3}{3}](https://tex.z-dn.net/?f=m%3Da%5Cint%5Climits%5EL_0%20%7Bx%5E2%7D%20%5C%2C%20dx%3Da%5B%5Cfrac%7Bx%5E3%7D%7B3%7D%5D_%7B0%7D%5E%7BL%7D%3D%5Cfrac%7Ba%7D%7B3%7D%5BL%5E3-0%5D%3D%20%5Cfrac%7BaL%5E3%7D%7B3%7D)
<u>Now, we can find the center of mass</u>,
of the rod as:


Now, we have
x_{cm}=\frac{1}{\frac{aL^3}{3}}\int_{0}^{L}ax^3dx=\frac{3}{aL^3}\times [\frac{ax^4}{4}]_{0}^{L}
Therefore, the center of mass,
is at:
![\frac{3}{aL^3}\times [\frac{ax^4}{4}]_{0}^{L}=\frac{3}{aL^3}\times \frac{aL^4}{4}=\frac{3}{4}L](https://tex.z-dn.net/?f=%5Cfrac%7B3%7D%7BaL%5E3%7D%5Ctimes%20%5B%5Cfrac%7Bax%5E4%7D%7B4%7D%5D_%7B0%7D%5E%7BL%7D%3D%5Cfrac%7B3%7D%7BaL%5E3%7D%5Ctimes%20%5Cfrac%7BaL%5E4%7D%7B4%7D%3D%5Cfrac%7B3%7D%7B4%7DL)