To balance a chemical equation, the stoichiometric coefficients on the reactants and product sides must be equal. The chemical equation follows the rule of conservation of mass and momentum.
Write an unbalanced equation for the chemical reaction.
Balancing the number of atoms other than hydrogen and oxygen.
Balancing hydrogen and oxygen at last because they occur in multiple compounds.
The reaction of formation of Magnesium nitrate:
Magnesium reacts with nitric acid to form magnesium nitrate along with hydrogen gas.
Magnesium is already balanced on the reactant and product side.
Balancing nitrogen by multiplying by, we get
Oxygen and hydrogen get automatically balanced by balancing nitrogen.
Therefore, the balanced reaction for the formation of magnesium nitrate is