Chemical Formula of Magnesium Hydroxide Explained
In this article
The chemical formula of magnesium hydroxide is Mg(OH)₂. This formula indicates that one molecule of magnesium hydroxide consists of one magnesium ion (Mg²⁺) and two hydroxide ions (OH⁻), which combine to create a neutral ionic compound. This substance is most commonly recognized as the primary active ingredient in Milk of Magnesia, used widely as an antacid and a laxative.
What You'll Need
- A periodic table of elements (to identify atomic numbers and group placements).
- Basic knowledge of ionic charges (valency).
- A pen and paper for calculating the charge balance.
Step-by-Step
- Identify the constituent elements: Start by breaking the name "magnesium hydroxide" into its two components. The first part is magnesium, a metallic element, and the second part is hydroxide, a polyatomic ion.
- Determine the symbol for Magnesium: Locate magnesium on the periodic table. Its chemical symbol is Mg. Because it is located in Group 2 (the alkaline earth metals), it naturally forms a cation with a charge of +2. Therefore, the magnesium ion is written as Mg²⁺.
- Identify the Hydroxide ion: Hydroxide is not a single element but a polyatomic ion consisting of one oxygen atom and one hydrogen atom. Its chemical symbol is OH. According to standard chemical tables, the hydroxide ion always carries a charge of -1. Therefore, it is written as OH⁻.
- Balance the electrical charges: In a stable chemical compound, the total positive charge must equal the total negative charge, resulting in a net charge of zero. Since magnesium has a charge of +2 and hydroxide has a charge of -1, you need two hydroxide ions to neutralize one magnesium ion. Mathematically, this is: (+2) + 2(-1) = 0.
- Write the preliminary formula: Place the symbols for the elements side-by-side. Put the metal (cation) first and the non-metal or polyatomic ion (anion) second. This gives you MgOH.
- Apply subscripts for the ratio: Because you determined that two hydroxide ions are required for every one magnesium ion, you must add a subscript "2" to the hydroxide group. Since hydroxide is a polyatomic ion, you must place it in parentheses to show that the subscript applies to the entire OH group, not just the hydrogen. This results in Mg(OH)₂.
- Verify the final formula: Check the final result: one Mg (+2) and two OH groups (2 x -1 = -2). The sum is zero, confirming that the formula Mg(OH)₂ is chemically balanced and correct.
Common Mistakes
One of the most frequent errors is forgetting the parentheses. Writing the formula as MgOH₂ suggests that there is one magnesium atom, one oxygen atom, and two hydrogen atoms. This is incorrect because it ignores the fact that the hydroxide ion (OH) acts as a single unit. The parentheses in Mg(OH)₂ ensure that the ratio of oxygen to hydrogen remains 1:1 while the ratio of magnesium to the entire hydroxide group is 1:2.
Another common mistake is misidentifying the charge of magnesium. Students often confuse Group 2 elements with Group 1 elements (like sodium). If you mistakenly assign magnesium a +1 charge, you would incorrectly derive the formula MgOH. Always double-check the periodic table to confirm that magnesium is an alkaline earth metal with a +2 valence.
Some may also confuse magnesium hydroxide with magnesium oxide (MgO). While both contain magnesium and oxygen, the presence of the hydroxide group (OH) distinguishes the hydroxide from the simple oxide. Magnesium oxide does not contain hydrogen and has different chemical properties and uses.
Tips
To remember the charge of magnesium, remember that all elements in the second column of the periodic table (Beryllium, Magnesium, Calcium, Strontium, Barium) typically form +2 ions. If you memorize the group characteristic, you won't have to look up the charge every time you encounter a new compound in that family.
When working with polyatomic ions like hydroxide (OH⁻), nitrate (NO₃⁻), or sulfate (SO₄²⁻), always treat them as a single "block." Imagine the block is wrapped in a bubble; if you need more than one of those blocks to balance the charge, you must put the bubble (parentheses) around the entire block before adding the subscript.
For those struggling with the math, use the "Criss-Cross Method." Write the symbols and their charges above them: Mg²⁺ and OH⁻. Take the number of the charge from the magnesium (2) and move it to the subscript of the hydroxide. Take the number of the charge from the hydroxide (1) and move it to the subscript of the magnesium. This gives you Mg₁ (OH)₂, which simplifies to Mg(OH)₂.
Troubleshooting
If your calculated formula does not result in a neutral charge, first re-verify the charges of your ions. Ensure you haven't confused the oxidation state with the atomic number. For example, magnesium's atomic number is 12, but its ionic charge is +2. Using 12 in your formula will lead to an incorrect result.
If you are attempting to balance a chemical equation involving Mg(OH)₂ and the equation won't balance, check your subscripts. A common error in stoichiometry is treating the (OH)₂ as a single atom rather than two separate hydroxide ions. When balancing, remember that there are two oxygen atoms and two hydrogen atoms for every one molecule of magnesium hydroxide.
If you are unsure if you are dealing with magnesium hydroxide or another magnesium compound, check the physical properties. Magnesium hydroxide is a white powder that is only slightly soluble in water, often forming a suspension (milk). If the substance dissolves completely and instantly in water, it is likely a different compound, such as magnesium chloride (MgCl₂).
Frequently Asked Questions
What is the molar mass of Mg(OH)₂?
The molar mass is calculated by adding the atomic weights of its components: Magnesium (~24.31 g/mol) + 2 x (Oxygen ~16.00 g/mol + Hydrogen ~1.01 g/mol). This equals approximately 58.32 g/mol.
Is magnesium hydroxide an acid or a base?
It is a base. Specifically, it is a strong base in terms of its dissociation, but because it has low solubility in water, it is considered a mild base, which is why it is safe for use as an antacid to neutralize stomach acid.
How is magnesium hydroxide produced?
It is typically produced by reacting magnesium oxide or magnesium carbonate with water, or by reacting a soluble magnesium salt (like magnesium chloride) with a strong base like sodium hydroxide.
What happens when Mg(OH)₂ reacts with HCl?
It undergoes a neutralization reaction. The magnesium hydroxide reacts with hydrochloric acid (HCl) to produce magnesium chloride (MgCl₂) and water (H₂O). The chemical equation is Mg(OH)₂ + 2HCl → MgCl₂ + 2H₂O.
What is the difference between Mg(OH)₂ and MgCO₃?
Mg(OH)₂ is magnesium hydroxide, while MgCO₃ is magnesium carbonate. The former contains hydroxide ions (OH⁻) and is used as an antacid; the latter contains carbonate ions (CO₃²⁻) and is often found in minerals like magnesite.