Concept:
The acceleration due to gravity ($g$) at the surface of a planet of mass $M$ and radius $R$ is:
\[ g = \frac{GM}{R^2} \]
Since $M = \text{density} (\rho) \times \text{volume} (V)$ and planets are assumed to be spheres ($V = \frac{4}{3}\pi R^3$):
\[ g = \frac{G (\rho \cdot \frac{4}{3}\pi R^3)}{R^2} = \frac{4}{3}\pi G \rho R \]
Step 1: Identify the relationship between $g$ and $R$.
For planets with the same average density ($\rho_A = \rho_B = \rho$):
\[ g \propto R \]
This is because $G$, $\pi$, and $\rho$ are all constants in this scenario.
Step 2: Calculate the ratio $g_A : g_B$.
Given the ratio of radii $R_A : R_B = 3:1$.
\[ \frac{g_A}{g_B} = \frac{R_A}{R_B} \]
\[ \frac{g_A}{g_B} = \frac{3}{1} \]
Thus, $g_A : g_B = 3:1$.