Concept:Hydrogen forms an ionic compound when it combines with a highly electropositive metal by gaining one electron to form a hydride ion,
H−.
Explanation:In
CH4,
HCl, and
NH3, hydrogen shares electrons with non-metals such as carbon, chlorine, and nitrogen. These shared electron pairs form covalent bonds.
In sodium hydride,
NaH, sodium is a metal with very low electronegativity, so it readily transfers its valence electron to hydrogen.
Sodium becomes
Na+, while hydrogen becomes
H−.
The oppositely charged ions are held together by a strong electrostatic force of attraction. This is the basis of an ionic bond.
Therefore, among the given compounds, only
NaH shows hydrogen forming an ionic compound.
Answer:D.
NaH