In this reaction, magnesium (Mg) reacts with nitrogen (N\(_2\)) to form magnesium nitride (Mg\(_3\)N\(_2\)).
- The oxidation state of magnesium (Mg) in its elemental form (Mg) is 0.
- In the product \( Mg_3N_2 \), magnesium is part of the ionic compound. Since nitrogen typically has an oxidation state of -3 in ionic compounds, the total oxidation state for the two nitrogen atoms is -6. To balance the charge of the compound (which must be neutral), the oxidation state of each magnesium atom must be +3.
Thus, magnesium changes its oxidation number from 0 to +3 during the reaction.