Formula of Magnesium Hydroxide: How to Derive Mg(OH)2
In this article
The chemical formula for magnesium hydroxide is Mg(OH)2. This formula represents a compound composed of one magnesium ion (Mg2+) and two hydroxide ions (OH-), resulting in a neutral electrical charge. Magnesium hydroxide is most commonly known as the active ingredient in Milk of Magnesia, where it serves as both an antacid and a laxative due to its basic properties and low solubility in water.
What You'll Need
- A periodic table of elements (to identify the group and valence of magnesium).
- A basic understanding of ionic charges and polyatomic ions.
- Pen and paper for calculating the charge balance.
Step-by-Step
- Identify the constituent elements and ions: First, break the name "magnesium hydroxide" into its two parts. The first part is magnesium, a metal. The second part is hydroxide, which is a polyatomic ion. You must identify the symbols for these components. Magnesium is represented by the symbol Mg. Hydroxide is a polyatomic group consisting of oxygen and hydrogen, represented as OH.
- Determine the charge of the magnesium ion: Look at the periodic table to find magnesium. Magnesium is located in Group 2 (the alkaline earth metals). Elements in Group 2 typically lose two electrons to achieve a stable electron configuration, which gives them a valence of +2. Therefore, the magnesium ion is written as Mg2+.
- Determine the charge of the hydroxide ion: Hydroxide is a well-known polyatomic ion. Unlike simple monatomic ions, polyatomic ions are groups of atoms that stay together and carry a collective charge. The hydroxide ion consists of one oxygen atom and one hydrogen atom. The overall charge of the hydroxide group is -1. Therefore, it is written as OH-.
- Apply the principle of electrical neutrality: For a chemical compound to be stable, the total positive charge must exactly cancel out the total negative charge, resulting in a net charge of zero. Currently, you have a +2 charge from magnesium and a -1 charge from a single hydroxide ion. Since +2 and -1 do not equal zero, you must add more hydroxide ions to balance the equation.
- Calculate the ratio of ions: To balance the +2 charge of one magnesium ion, you need two hydroxide ions, because 2 x (-1) = -2. Now, the math works: (+2) + (-2) = 0. This tells you that the ratio of magnesium to hydroxide in the compound is 1:2.
- Write the preliminary formula: Place the symbols side by side. Start with the metal (cation) and follow with the non-metal or polyatomic ion (anion). This gives you MgOH2. However, this notation is ambiguous because it looks like the 2 only applies to the hydrogen.
- Use parentheses for polyatomic ions: Whenever a polyatomic ion appears more than once in a formula, you must enclose the entire ion in parentheses before adding the subscript. This indicates that the subscript applies to the entire group. Place parentheses around OH and put the subscript 2 outside: Mg(OH)2.
- Verify the final result: Double-check the charges one last time. One Mg2+ provides +2. Two OH- ions provide -2. The sum is zero. The formula is correctly balanced and written.
Common Mistakes
One of the most frequent errors is forgetting the parentheses. Writing the formula as MgOH2 suggests a molecule with one magnesium, one oxygen, and two hydrogens. This is chemically incorrect because the hydroxide unit (OH) must remain intact as a single entity. Without the parentheses, you are not indicating that there are two separate hydroxide ions.
Another common mistake is confusing the valence of magnesium with that of Group 1 metals. Students often mistakenly assign magnesium a +1 charge (like sodium or potassium), leading them to write the formula as MgOH. This formula is incorrect because it leaves the compound with a net positive charge of +1, which is impossible for a stable neutral salt.
Some learners also struggle with the polyatomic nature of hydroxide. They may try to treat oxygen and hydrogen as separate monatomic ions (O2- and H+), which complicates the process unnecessarily. Recognizing "hydroxide" as a single unit (OH-) is the key to simplifying the derivation.
Tips
To make this process easier, memorize the common polyatomic ions. Hydroxide (OH-), Nitrate (NO3-), and Sulfate (SO42-) appear frequently in chemistry problems. Once you know these by heart, you only need to check the periodic table for the metal's charge.
Use the "Criss-Cross Method" for a faster approach. Write the symbols and their charges side by side: Mg2+ and OH1-. Take the numerical value of the magnesium charge (2) and make it the subscript for the hydroxide. Take the numerical value of the hydroxide charge (1) and make it the subscript for the magnesium. This gives you Mg1(OH)2. Since a subscript of 1 is implied and not written, you arrive at Mg(OH)2 instantly.
Always check the group number on the periodic table. If an element is in Group 1, it is +1; Group 2 is +2; Group 13 (like Aluminum) is +3. This pattern holds true for the majority of the main-group metals and prevents you from having to guess the charge.
Troubleshooting
If your charges are not balancing, first re-verify the group of the metal on the periodic table. Ensure you haven't confused magnesium (Mg) with manganese (Mn). Manganese is a transition metal and can have multiple oxidation states (such as +2, +3, +4, or +7), whereas magnesium is strictly +2 in these compounds. If you used manganese by mistake, your calculations will vary depending on the specific oxidation state.
If you find that your formula results in a fraction (for example, if you were dealing with a +3 metal and a -2 ion), remember that chemical formulas must use the lowest whole-number ratio. You cannot have half an ion. In such cases, multiply both subscripts by the lowest common multiple until you reach whole numbers. For magnesium hydroxide, the ratio is already a simple 1:2, so no further multiplication is needed.
If the formula you derived does not match a textbook answer, check if the compound is an "acid" or a "base." Magnesium hydroxide is a base. If you accidentally wrote a formula for a magnesium oxide (MgO), you likely forgot the hydroxide group entirely and only used the oxygen ion (O2-). Ensure you are using OH- and not just O2-.
Frequently Asked Questions
Is magnesium hydroxide the same as magnesium oxide?
No. Magnesium oxide has the formula MgO and consists of magnesium and oxygen. Magnesium hydroxide, Mg(OH)2, includes hydroxide groups and behaves as a base, whereas magnesium oxide is a basic oxide that can react with water to form the hydroxide.
Why is the subscript 2 placed outside the parentheses?
The subscript 2 indicates that there are two hydroxide ions for every one magnesium ion. Because hydroxide is a polyatomic ion (a group of atoms), the parentheses ensure that the multiplier applies to both the oxygen and the hydrogen within that group.
What is the molar mass of Mg(OH)2?
To find the molar mass, add the atomic masses: Magnesium (~24.31 g/mol) + 2 x (Oxygen ~16.00 g/mol + Hydrogen ~1.01 g/mol). This totals approximately 58.32 g/mol.
Is magnesium hydroxide soluble in water?
It is only slightly soluble. This is why it often exists as a suspension (a milky liquid) rather than a clear solution, which is why it is called "Milk of Magnesia."
What happens when magnesium hydroxide reacts with an acid?
It undergoes a neutralization reaction. It reacts with an acid (like HCl) to produce magnesium chloride (a salt) and water, which is why it is effective at neutralizing stomach acid.