Magnesium chloride is formed.
Carbon Dioxide
The gas carbon dioxide is released.
The products that are formed will be magnesium salt, water and carbon dioxide. Exactly what salt is made depends the acid used. Hydrochloric acid produces magnesium chloride; sulphuric acid produces magnesium sulphate; nitric acid produces magnesium nitrate.
Magnesium Carbonate
When hydrochloric acid and magnesium carbonate react, they produce magnesium chloride, carbon dioxide, and water. The balanced chemical equation for this reaction is: 2HCl + MgCO3 → MgCl2 + CO2 + H2O.
Magnesium Carbonate + Hydrochloric Acid ------> Magnesium Chloride + Water + Carbon Dioxide The previous answer said magnesium hydroxide + carbon dioxide, but then you will have canceled out the chlorine, which due to the law of conservation of mass, is impossible.
When hydrochloric acid reacts with magnesium carbonate, magnesium chloride, carbon dioxide, and water are formed. The resulting solution will be acidic due to the presence of hydrochloric acid and the formation of magnesium chloride. The pH will depend on the concentrations of the reactants and products, but typically it will be less than 7 due to the presence of the strong acid.
carbon dioxide
Magnesium Chloride. MgCO3 +2HCl -----> MgCl2 + CO2 + H2O
The balanced chemical equation for the reaction between magnesium carbonate (MgCO3) and hydrochloric acid (HCl) is: MgCO3 + 2HCl -> MgCl2 + H2O + CO2
Carbon dioxide gas is produced when calcium carbonate and hydrochloric acid are mixed. This reaction occurs as the acid reacts with the calcium carbonate, releasing carbon dioxide gas as a byproduct.
The products are calcium and magnesium chlorides, water and carbon dioxide.