The wavelength (\( \lambda \)) corresponding to the threshold energy is expressed in relation to the work function (\( \phi \)) by the equation: \[ \lambda = \frac{hc}{\phi}, \] where \( h \) represents Planck’s constant, \( c \) denotes the speed of light, and \( \phi \) is the work function given in eV.
Step 1: Determine the Wavelengths: For \( \phi_A = 9 \, \text{eV} \): \[ \lambda_A = \frac{1242}{9} = 138 \, \text{nm}. \] For \( \phi_B = 4.5 \, \text{eV} \): \[ \lambda_B = \frac{1242}{4.5} = 276 \, \text{nm}. \]
Step 2: Compute the Wavelength Difference: \[ \Delta \lambda = \lambda_B - \lambda_A = 276 - 138 = 138 \, \text{nm}. \]
Final Answer: \[ \boxed{138 \, \text{nm}} \]