Since the system rotates about O, the rotating masses must be dynamically balanced. Dynamic balance requires the vector sum of the rotating mass moments to be zero:
\[
\sum m_i r_i = 0.
\]
Step 1: Identify the mass positions.
Two masses of 1 kg each are located at:
- One at 1 cm along the positive X-axis
- One at 1 cm rotated by 90° (i.e., along the positive Y-axis)
Thus their position vectors are:
\[
\mathbf{r}_1 = 1\,\hat{i}, \qquad \mathbf{r}_2 = 1\,\hat{j}.
\]
Step 2: Compute their combined unbalance vector.
\[
\mathbf{U} = 1(1\,\hat{i}) + 1(1\,\hat{j}) = \hat{i} + \hat{j}.
\]
This vector has magnitude:
\[
|\mathbf{U}| = \sqrt{1^2 + 1^2} = \sqrt{2}.
\]
Step 3: Balance using a third mass of $\sqrt{2$ kg.}
For perfect balance,
\[
m_3 r_3 = |\mathbf{U}|.
\]
Given:
\[
m_3 = \sqrt{2}.
\]
Thus,
\[
\sqrt{2}\, r_3 = \sqrt{2} \Rightarrow r_3 = 1 \text{ cm}.
\]
Therefore, the length of the third rod must be 1 cm.
Final Answer: 1 cm