I'm not sure, but based on my knowledge of chemistry, a compound has different properties from its components. So magnesium salt should not react with HCl (Hydrochloric acid) unless it dissociates in water and magnesium (the element) is present.
Anyway when magnesium is mixed with an acid (any acid, not just stomach acid), hydrogen gas is produced and a salt is formed.
The magnesium will react with the acid to produce hydrogen gas and a magnesium salt.
Magnesium Sulfate
Both of these substances are alkaline and they react with excess acid in the stomach to produce a Calcium or Magnesium salt solution and Carbon dioxide gas.
This reaction makes hydrogen gas escape from magnesium surface immersed in acid solution. Also a magnesium salt is formed.
The metal "dissolves" vigorously, producing Hydrogen gas which is seen as a fizzing and a magnesium salt is formed also.
Magnesium don't react with salt.
Some substance with a basic pH to counteract the pH of the acid in your stomach.
Magnesium(s) + Iron(s) + HCl(aq) -> MagnesiumChloride(aq) + Hydrogen(g) + Iron(s)Iron will not react with hydrochloric acid as magnesium is more reactive than iron , so magnesium will react with hydrochloric acid to give salt and hydrogen gas while iron is deposited.METAL + ACID -> METAL SALT + HYDROGEN GAS
Magnesium carbonate (MgCO3)Explanation:Magnesium oxide is a basic oxide. A property of basic oxides is that they react with acid to form salt and water. Soda water contains an acid called carbonic acid. Magnesium oxide can react with carbonic acid to form magnesium carbonate as shown in the equation below:MgO(s) + H2CO3(aq) --> MgCO3(aq) + H2O(l)
Mg + 2HCl --> MgCl2 + H2 Like that. Salt and hydrogen gas product.
Because when you use a certain metal say magnesium oxide with hydrochloric acid you will get: magnesium chloride magnesium carbonate + hydrochloric acid = salt + water + carbon dioxide.
The safest one is magnesium carbonate. Although alkalis will neutralise acids, they will do damage to the human anatomy, so don't use alkalis. Magnesium carbonate is the active constituent of 'Alka-Seltzer' or 'Milk of Magnesia'. Magnesium carbonate is a chemical salt. Remember all carbonates react with acids to form another salt, water and carbon dioxide. The stomach acid is Hydrochloric Acid which magnesium carbonate will neutralise. Here is the equation. 2HCl + MgCO3 = MgCl2 + H2O + CO2(The burp). Calcium carbonate can be used, but the taste is very chalky.