A rod of length $l$ has non-uniform linear mass density given by $\rho(x) = a + b\left(\dfrac{x}{l}\right)^2$, where $a$ and $b$ are constants and $0 \le x \le l$. The value of $x$ for the centre of mass of the rod is at:
Answer: (B) $\dfrac{3}{4}\left(\dfrac{2a+b}{3a+b}\right)l$
Concept. For a rod whose density varies along its length, $x_{cm}=\dfrac{\int x\,dm}{\int dm}$ with $dm=\rho(x)\,dx$.
Step 1. Total mass.
$$M=\int_0^l\left(a+\frac{bx^2}{l^2}\right)dx=al+\frac{bl}{3}=\frac{l(3a+b)}{3}$$
Step 2. First moment.
$$\int_0^l x\left(a+\frac{bx^2}{l^2}\right)dx=\frac{al^2}{2}+\frac{bl^2}{4}=\frac{l^2(2a+b)}{4}$$
Step 3. Divide.
$$x_{cm}=\frac{l^2(2a+b)/4}{l(3a+b)/3}=\frac34\left(\frac{2a+b}{3a+b}\right)l$$
Answer. Option B. Check: with $b=0$ (uniform rod) this gives $\tfrac34\cdot\tfrac23\,l=\tfrac l2$, as it should.
Solution by Sreeraj P, M.Sc Physics


