When magnesium (Mg) reacts with nitric acid (HNO₃), a chemical reaction occurs that produces magnesium nitrate (Mg(NO₃)₂), hydrogen gas (H₂), and possibly nitrogen oxides (NO or NO₂) depending on the concentration of the nitric acid. The balanced reaction can be written as follows:
For dilute nitric acid: \[ Mg + 2 HNO₃ \rightarrow Mg(NO₃)₂ + H₂ \]
For concentrated nitric acid, the reaction is more complex, and it can be represented as: \[ Mg + 4 HNO₃ \rightarrow Mg(NO₃)₂ + 2 NO₂ + 2 H₂O \]
Make sure to account for the concentration of the nitric acid when predicting the products of the reaction!