- Identify Element X: The electronic configuration 1s22s22p3 corresponds to an atomic number of 7 (2+2+3), which is Nitrogen (N). Element X belongs to Group 15 of the periodic table .
- Determine Valency of X: Elements in Group 15 have 5 valence electrons (ns2np3). To attain a stable noble gas configuration (octet), element X tends to gain 3 electrons, exhibiting a valency of 3 and forming an anion X3− (Nitride ion) .
- Determine Valency of Magnesium: Magnesium (Mg) is an alkaline earth metal (Group 2) with valence shell configuration 3s2. It loses 2 electrons to form a stable cation Mg2+ .
- Formulate Compound: To form a neutral ionic compound, the total positive charge must equal the total negative charge. By the criss-cross method, the valency of Mg (2) becomes the subscript of X, and the valency of X (3) becomes the subscript of Mg.
- Cation: Mg2+
- Anion: X3− (or N3−)
- Formula: Mg3X2 (Checking charges: 3×(+2)+2×(−3)=0).
This is consistent with the formation of magnesium nitride (Mg3N2) as shown in the redox reaction section of the NCERT text: 3Mg(s)+N2(g)→Mg3N2(s) .