Here's the balanced chemical equation for the reaction:
3Mg + N₂ → Mg₃N₂
This reaction is an example of a combination reaction where two elements combine to form a single compound.