Molecular Formula of Magnesium Hydroxide Explained
In this article
The molecular formula of magnesium hydroxide is Mg(OH)₂. This formula represents a compound consisting of one magnesium ion (Mg²⁺) and two hydroxide ions (OH⁻), which combine to create a neutral electrical charge. This substance is most commonly recognized as the primary active ingredient in Milk of Magnesia, used as both an antacid and a laxative.
What You'll Need
- A periodic table of elements (to identify atomic numbers and group placements).
- A basic understanding of ionic charges (valency).
- Paper and a pen for calculating the charge balance.
Step-by-Step
- Identify the constituent elements: Start by identifying the two components of the compound. Magnesium is a metallic element found in Group 2 of the periodic table. The hydroxide part is a polyatomic ion consisting of one oxygen atom and one hydrogen atom.
- Determine the charge of the Magnesium ion: Look at the periodic table to find Magnesium (Mg). Because it is in Group 2, it has two valence electrons in its outer shell. To achieve a stable electron configuration (like a noble gas), magnesium loses these two electrons. This results in a magnesium ion with a positive charge of 2, written as Mg²⁺.
- Determine the charge of the Hydroxide ion: The hydroxide ion is a polyatomic ion. It is formed when a water molecule (H₂O) gains an extra electron. Oxygen has a high electronegativity, and the resulting combination of one oxygen and one hydrogen creates a net negative charge of 1. This is written as OH⁻.
- Balance the electrical charges: For a chemical compound to be stable and neutral, the total positive charge must equal the total negative charge. Currently, you have one Mg²⁺ (+2) and one OH⁻ (-1). To balance the +2 charge of the magnesium, you need two hydroxide ions because (-1) + (-1) = -2.
- Write the preliminary formula: Place the metal (magnesium) first and the non-metal/polyatomic ion second. Write the symbols: MgOH. Since you need two hydroxide ions, you must indicate that the entire OH group is doubled.
- Apply parentheses for polyatomic ions: When a polyatomic ion (like OH) requires a subscript of 2 or more, you must place the ion in parentheses. This ensures the subscript applies to both the oxygen and the hydrogen, not just the hydrogen. Write it as Mg(OH)₂.
- Verify the final ratio: Check your work. One Magnesium atom (Mg) and two Hydroxide groups (OH x 2) means the molecule contains 1 Mg, 2 O, and 2 H. The charges are +2 and (-1 * 2) = -2. The sum is zero, confirming the formula is correct.
Common Mistakes
One of the most frequent errors is writing the formula as MgOH₂. Without the parentheses, the subscript 2 only applies to the hydrogen atom. This would imply a molecule with one magnesium, one oxygen, and two hydrogens, which is chemically incorrect and does not balance the charges of the ions. Always remember that parentheses are mandatory when dealing with polyatomic ions that have a multiplier.
Another common mistake is confusing the charge of magnesium with that of Group 1 metals (like sodium). Students often write MgOH, assuming magnesium only has a +1 charge. This results in an unstable, charged species rather than a neutral compound. Always double-check the group number on the periodic table to confirm the valency of the metal.
Some beginners mistakenly try to balance the formula by adding more magnesium, such as Mg₂OH. This would create a total positive charge of +4 and a negative charge of -1, making the molecule highly unstable and non-existent under standard conditions.
Tips
To make this process easier, use the "Criss-Cross Method." Write the symbol of the cation (Mg²⁺) and the anion (OH⁻) side by side. Take the numerical value of the magnesium charge (2) and move it to the subscript of the hydroxide. Then, take the numerical value of the hydroxide charge (1) and move it to the subscript of the magnesium. This gives you Mg₁ (OH)₂, which simplifies to Mg(OH)₂.
If you are struggling to remember the charge of the hydroxide ion, remember that it is the conjugate base of water. Since water is neutral, and the hydroxide ion is what remains when a proton (H⁺) is removed, the remaining piece must carry a -1 charge.
When practicing with other Group 2 metals, such as Calcium (Ca) or Barium (Ba), you will notice the same pattern. Calcium hydroxide is Ca(OH)₂ and Barium hydroxide is Ba(OH)₂. Recognizing these patterns helps you internalize the logic of ionic bonding.
Troubleshooting
If your charges do not add up to zero, the first thing to check is your periodic table. Ensure you haven't confused Magnesium (Mg) with Manganese (Mn). Manganese is a transition metal with multiple possible oxidation states, whereas Magnesium is strictly +2. If you used Manganese, your formula would be entirely different depending on the oxidation state.
If you are unsure whether to use parentheses, ask yourself: "Is the second part of the formula a single element or a group of elements?" If it is a group (like OH, NO₃, or SO₄), you must use parentheses if the subscript is anything other than 1. If it is a single element (like Cl or O), parentheses are not used.
If you find that your formula is Mg(OH)₂ but your textbook or source says something else, check if they are discussing a different hydrate or a complex salt. In standard chemistry, magnesium hydroxide always follows the 1:2 ratio of Mg to OH.
Frequently Asked Questions
Is magnesium hydroxide an acid or a base?
Magnesium hydroxide is a base. Specifically, it is a strong base in terms of its dissociation constant, but because it has low solubility in water, it is considered a mild base, which is why it is safe for human consumption as an antacid.
What is the difference between magnesium oxide and magnesium hydroxide?
Magnesium oxide (MgO) is the result of magnesium reacting with oxygen. Magnesium hydroxide (Mg(OH)₂) is formed when magnesium oxide reacts with water. The hydroxide version contains two hydroxyl groups per magnesium atom, whereas the oxide contains only one oxygen atom.
Why is it called "Milk of Magnesia"?
It is called "milk" because magnesium hydroxide does not dissolve well in water. Instead, it forms a white, opaque suspension that looks like milk. This is a physical mixture of solid particles suspended in liquid, rather than a clear solution.
What happens when magnesium hydroxide reacts with stomach acid?
It undergoes a neutralization reaction. The hydroxide ions (OH⁻) in the Mg(OH)₂ react with the hydrogen ions (H⁺) from the hydrochloric acid (HCl) in the stomach to produce water (H₂O) and magnesium chloride (MgCl₂), which effectively raises the pH level of the stomach.
Is Mg(OH)₂ a covalent or ionic compound?
It is primarily an ionic compound. The bond between the magnesium cation (Mg²⁺) and the hydroxide anions (OH⁻) is an ionic bond, created by the electrostatic attraction between oppositely charged ions. However, the bond between the oxygen and hydrogen within the hydroxide ion itself is a covalent bond.