- Weight on a planet:
\[
W = mg = \frac{GMm}{R^2}
\]
- Substitute mass of planet \( M = \frac{4}{3}\pi R^3 \rho \):
\[
W = \frac{G \left(\frac{4}{3}\pi R^3 \rho\right) m}{R^2} = \frac{4}{3}\pi G m \rho R
\]
- So, weight is proportional to:
\[
W \propto \rho R
\]
- Since weight is same on both planets:
\[
\rho_1 R_1 = \rho_2 R_2
\]
- Hence:
\[
\frac{R_2}{R_1} = \frac{\rho_1}{\rho_2}
\]