Step 1: Understanding degrees of freedom.
A molecule's total degrees of freedom can be determined based on the translational, rotational, and vibrational motions. The number of degrees of freedom for a linear molecule is:
- Translational degrees of freedom: 3 (movement in x, y, z directions).
- Rotational degrees of freedom: 2 (rotation around two axes perpendicular to the molecular axis for a linear molecule).
- Vibrational degrees of freedom: The total vibrational modes are \(3N - 5\) for linear molecules (where N is the number of atoms). For HBr, \(3(2) - 5 = 1\) vibrational degree of freedom.
Step 2: Conclusion.
For HBr molecule, the degrees of freedom are 3 translational, 2 rotational, and 1 vibrational, giving a total of \(3 + 2 + 1 = 6\). But the molecule is constrained to move only along a straight line, so it only has 3 translational degrees of freedom, which corresponds to option (D).