Step 1: Understanding the energy density.
The energy density \( u \) in a stretched wire is given by:
\[
u = \frac{1}{2} \sigma \epsilon^2
\]
where \( \sigma \) is the stress and \( \epsilon \) is the strain. Stress is proportional to the square of the diameter, and strain is inversely proportional to the square of the diameter. Therefore, the energy density will vary as the square of the diameter.
Step 2: Applying the ratio of diameters.
Since the diameters are in the ratio 1 : 3, the energy density ratio will be the square of the diameter ratio:
\[
\frac{u_A}{u_B} = \left( \frac{d_A}{d_B} \right)^2 = \left( \frac{1}{3} \right)^2 = 81 : 1
\]
Step 3: Conclusion.
Thus, the correct answer is (C) 81 : 1.