HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Hydrogen and Its Compounds: Hydrides, Water and Hydrogen Peroxide
  1. 1Hydrogen: its place, isotopes, preparation and use as a fuel
  2. 2Hydrides, hard water and heavy water
  3. 3Hydrogen peroxide: making it, its shape and its reactions
  1. Chemistry
  2. /Hydrogen and Its Compounds: Hydrides, Water and Hydrogen Peroxide
  3. /Hydrides, hard water and heavy water

Course 34.1·Lesson 2 of 3

Hydrides, hard water and heavy water

Hydrogen forms a compound with almost every element. We sort these hydrides into three types by the bond they hold. Then we look at the most important hydride of all, water: why some water is hard, how it is softened, and what makes heavy water different.

about 30 min1 simulation1 practice question
Lesson 2 of 3Show all lessonsHide
Hydrogen and Its Compounds: Hydrides, Water and Hydrogen Peroxide
  1. 1Hydrogen: its place, isotopes, preparation and use as a fuel
  2. 2Hydrides, hard water and heavy water
  3. 3

Try the code and the simulations beside the lesson.

Three kinds of hydride

A hydride is a compound of hydrogen with one other element. How the hydrogen is bonded depends on the other element. So the hydrides fall into three types, which follow the blocks of the periodic table.

A block outline of the periodic table, periods 1 to 6, coloured by the type of hydride each element forms. Groups 1 and 2 from lithium and sodium down, apart from beryllium and magnesium, are ionic hydrides (blue). Beryllium and magnesium are marked as polymeric hydrides with covalent character. Groups 13 to 17 are covalent or molecular hydrides (orange). Groups 3, 4 and 5, chromium, and nickel, palladium and platinum are metallic or interstitial hydrides (green). Groups 11 and 12 are marked intermediate (pale yellow). Groups 7, 8 and 9, with molybdenum and tungsten, are grey: no hydride forms, and the label says groups 7 to 9: the hydride gap. Noble gases are white.

Ionic or saline hydrides. The metals of group 1 and the heavier metals of group 2 (calcium, strontium, barium) give hydrogen an electron. The solid holds H−\text{H}^{-}H− ions. These hydrides are white, crystalline and have high melting points. When melted and electrolysed, they give hydrogen at the anode, which shows that the hydrogen is the negative ion. They react with water at once:

NaH + H2O → NaOH + H2\text{NaH}\ +\ \text{H}_{2}\text{O}\ \rightarrow \ \text{NaOH}\ +\ \text{H}_{2}NaH + H2​O → NaOH + H2​

Lithium hydride has a strong covalent part. Beryllium hydride and magnesium hydride are polymeric: they are chains or networks with covalent bridges, not simple ionic solids. Lithium hydride is used to make lithium aluminium hydride, a strong reductant in organic chemistry:

8LiH + Al2Cl6 → 2LiAlH4 + 6LiCl8\text{LiH}\ +\ \text{Al}_{2}\text{Cl}_{6}\ \rightarrow \ 2\text{LiAlH}_{4}\ +\ 6\text{LiCl}8LiH + Al2​Cl6​ → 2LiAlH4​ + 6LiCl

Covalent or molecular hydrides. The p-block elements share electrons with hydrogen. We sort them by the electrons around the central atom.

  • Electron-deficient: too few electrons to write ordinary two-electron bonds for every link. Diborane, B2H6\text{B}_{2}\text{H}_{6}B2​H6​, is the example (group 13). They act as Lewis acids.
  • Electron-precise: exactly the electrons needed for the bonds, and no lone pair. CH4\text{CH}_{4}CH4​, SiH4\text{SiH}_{4}SiH4​ and GeH4\text{GeH}_{4}GeH4​ (group 14) are tetrahedral.
  • Electron-rich: lone pairs left over. NH3\text{NH}_{3}NH3​ has one, H2O\text{H}_{2}\text{O}H2​O has two and HF\text{HF}HF has three. They act as Lewis bases, and the small, electronegative N, O and F atoms give strong hydrogen bonds.

Metallic or interstitial hydrides. Many d-block and f-block metals take hydrogen atoms into the holes of their lattice. The lattice swells, but the metal keeps its shine and conducts. These hydrides are often non-stoichiometric: the ratio is not a whole number, as in TiH1.7\text{TiH}_{1.7}TiH1.7​ or PdH0.6\text{PdH}_{0.6}PdH0.6​. The metals of groups 7, 8 and 9 form no hydride at all. This stretch is called the hydride gap. Palladium and platinum take up a large volume of hydrogen. A thin palladium sheet lets only hydrogen through, which is a way to purify it and a way to store it.

Water

Water is a bent molecule, with a H-O-H\text{H}\text{-}\text{O}\text{-}\text{H}H-O-H angle of 104.5∘104.5^\circ104.5∘. It is polar, and each molecule can make up to four hydrogen bonds. This explains its high boiling point for such a small molecule.

In ice, each oxygen sits at the centre of a tetrahedron of four others, joined by hydrogen bonds. The open network holds a lot of empty space. So ice is less dense than liquid water and floats. When ice melts, part of the network collapses and the molecules come closer. Liquid water is densest at about 4 ∘C4\ ^\circ\text{C}4 ∘C.

Water is amphoteric: it is an acid towards ammonia and a base towards hydrogen sulphide.

H2O + NH3 ⇌ OH− + NH4+\text{H}_{2}\text{O}\ +\ \text{NH}_{3}\ \rightleftharpoons \ \text{OH}^{-}\ +\ \text{NH}_{4}^{+}H2​O + NH3​ ⇌ OH− + NH4+​ and H2O + H2S ⇌ H3O+ + HS−\text{H}_{2}\text{O}\ +\ \text{H}_{2}\text{S}\ \rightleftharpoons \ \text{H}_{3}\text{O}^{+}\ +\ \text{HS}^{-}H2​O + H2​S ⇌ H3​O+ + HS−

Hard water

Rain water dissolves carbon dioxide. Flowing over limestone, it picks up calcium and magnesium ions. Water with these ions is hard. Why does it matter? Soap is a sodium salt of a long-chain fatty acid. Calcium and magnesium ions turn it into an insoluble scum, and the soap is wasted.

2C17H35COONa + Ca2+ → (C17H35COO)2Ca + 2Na+2\text{C}_{17}\text{H}_{35}\text{COONa}\ +\ \text{Ca}^{2+}\ \rightarrow \ (\text{C}_{17}\text{H}_{35}\text{COO})_{2}\text{Ca}\ +\ 2\text{Na}^{+}2C17​H35​COONa + Ca2+ → (C17​H35​COO)2​Ca + 2Na+

In boilers and kettles, hard water leaves a scale that wastes heat and can block pipes.

Temporary hardness comes from the hydrogencarbonates of calcium and magnesium. Boiling removes it:

Ca(HCO3)2 → CaCO3 + H2O + CO2\text{Ca}(\text{HCO}_{3})_{2}\ \rightarrow \ \text{CaCO}_{3}\ +\ \text{H}_{2}\text{O}\ +\ \text{CO}_{2}Ca(HCO3​)2​ → CaCO3​ + H2​O + CO2​

Mg(HCO3)2 → Mg(OH)2 + 2CO2\text{Mg}(\text{HCO}_{3})_{2}\ \rightarrow \ \text{Mg}(\text{OH})_{2}\ +\ 2\text{CO}_{2}Mg(HCO3​)2​ → Mg(OH)2​ + 2CO2​

Why does magnesium come out as the hydroxide and not the carbonate? Magnesium carbonate is much more soluble than magnesium hydroxide. So the hydroxide is the solid that separates.

Clark's method adds just enough slaked lime (calcium hydroxide) to turn the hydrogencarbonate into carbonate:

Ca(HCO3)2 + Ca(OH)2 → 2CaCO3 + 2H2O\text{Ca}(\text{HCO}_{3})_{2}\ +\ \text{Ca}(\text{OH})_{2}\ \rightarrow \ 2\text{CaCO}_{3}\ +\ 2\text{H}_{2}\text{O}Ca(HCO3​)2​ + Ca(OH)2​ → 2CaCO3​ + 2H2​O

Mg(HCO3)2 + 2Ca(OH)2 → 2CaCO3 + Mg(OH)2 + 2H2O\text{Mg}(\text{HCO}_{3})_{2}\ +\ 2\text{Ca}(\text{OH})_{2}\ \rightarrow \ 2\text{CaCO}_{3}\ +\ \text{Mg}(\text{OH})_{2}\ +\ 2\text{H}_{2}\text{O}Mg(HCO3​)2​ + 2Ca(OH)2​ → 2CaCO3​ + Mg(OH)2​ + 2H2​O

Notice that each magnesium hydrogencarbonate needs two calcium hydroxide.

Permanent hardness comes from the chlorides and sulphates. Boiling does not remove it. Four methods do.

  1. Washing soda, Na2CO3⋅10H2O\text{Na}_{2}\text{CO}_{3}\cdot 10\text{H}_{2}\text{O}Na2​CO3​⋅10H2​O, precipitates the ions as carbonates: CaCl2 + Na2CO3 → CaCO3 + 2NaCl\text{CaCl}_{2}\ +\ \text{Na}_{2}\text{CO}_{3}\ \rightarrow \ \text{CaCO}_{3}\ +\ 2\text{NaCl}CaCl2​ + Na2​CO3​ → CaCO3​ + 2NaCl.
  2. Calgon, sodium hexametaphosphate Na6P6O18\text{Na}_{6}\text{P}_{6}\text{O}_{18}Na6​P6​O18​, holds the ions in a soluble complex, so they no longer react with soap: Ca2+ + Na4P6O182− → [Na2CaP6O18]2− + 2Na+\text{Ca}^{2+}\ +\ \text{Na}_{4}\text{P}_{6}\text{O}_{18}^{2-}\ \rightarrow \ [\text{Na}_{2}\text{CaP}_{6}\text{O}_{18}]^{2-}\ +\ 2\text{Na}^{+}Ca2+ + Na4​P6​O182−​ → [Na2​CaP6​O18​]2− + 2Na+.
  3. Ion exchange with a zeolite (permutit), a hydrated sodium aluminium silicate written NaZ: 2NaZ + Ca2+ → CaZ2 + 2Na+2\text{NaZ}\ +\ \text{Ca}^{2+}\ \rightarrow \ \text{CaZ}_{2}\ +\ 2\text{Na}^{+}2NaZ + Ca2+ → CaZ2​ + 2Na+. When the zeolite is used up, it is washed with strong brine, and the reverse exchange restores it.
  4. Synthetic resins. A cation exchange resin, RSO3H\text{RSO}_{3}\text{H}RSO3​H, swaps every cation for H+\text{H}^{+}H+. An anion exchange resin swaps every anion for OH−\text{OH}^{-}OH−. The H+\text{H}^{+}H+ and OH−\text{OH}^{-}OH− then join to give water. Water passed through both is deionised.

How hardness is measured. Hardness is written as the mass of calcium carbonate, in milligrams for each litre (ppm), that holds the same number of calcium and magnesium ions. Each Ca2+\text{Ca}^{2+}Ca2+ or Mg2+\text{Mg}^{2+}Mg2+ counts as one CaCO3\text{CaCO}_{3}CaCO3​, which is 100 g/mol100\ \text{g/mol}100 g/mol. In the laboratory, the ions are titrated with EDTA, which holds each metal ion in a one-to-one complex.

Set calcium to 40 mg/L and magnesium to 0. The hardness is 100 ppm. Now set calcium to 0 and magnesium to 24 mg/L. The hardness is again 100 ppm, because 24 mg of magnesium is the same number of ions as 40 mg of calcium.

Practise with new numbers

Heavy water

Heavy water is D2O\text{D}_{2}\text{O}D2​O, with deuterium in place of protium. When ordinary water is electrolysed for a long time, the lighter H2\text{H}_{2}H2​ is set free faster than D2\text{D}_{2}D2​. So the water left behind becomes richer in deuterium. Repeated electrolysis gives almost pure D2O\text{D}_{2}\text{O}D2​O. Modern plants use chemical exchange and distillation, which cost less energy.

Heavy water is a little different from ordinary water. Its molar mass is 20 g/mol20\ \text{g/mol}20 g/mol. It melts at 276.8 K and boils at 374.4 K. Its density at 298 K is 1.106 g/cm31.106\ \text{g/cm}^31.106 g/cm3. Reactions are slower in it, because of the isotope effect.

Uses. It is a moderator in some nuclear reactors: it slows neutrons down without taking many of them in. It is also used to study reaction mechanisms and to make deuterated compounds.

CaC2 + 2D2O → C2D2 + Ca(OD)2\text{CaC}_{2}\ +\ 2\text{D}_{2}\text{O}\ \rightarrow \ \text{C}_{2}\text{D}_{2}\ +\ \text{Ca}(\text{OD})_{2}CaC2​ + 2D2​O → C2​D2​ + Ca(OD)2​, SO3 + D2O → D2SO4\text{SO}_{3}\ +\ \text{D}_{2}\text{O}\ \rightarrow \ \text{D}_{2}\text{SO}_{4}SO3​ + D2​O → D2​SO4​, Al4C3 + 12D2O → 3CD4 + 4Al(OD)3\text{Al}_{4}\text{C}_{3}\ +\ 12\text{D}_{2}\text{O}\ \rightarrow \ 3\text{CD}_{4}\ +\ 4\text{Al}(\text{OD})_{3}Al4​C3​ + 12D2​O → 3CD4​ + 4Al(OD)3​

Try it in Python

The program works out the temporary, permanent and total hardness of a sample from the mass of each salt.

Read it first. Which salts make the hardness temporary? Then run it.

1. Double the calcium sulphate. Which totals change?

2. Add "CaCl2": (55.5, 111, "permanent") to the table. By how many ppm does the total rise?

Common mistakes

  • Saying ionic hydrides give hydrogen at the cathode on electrolysis. The hydrogen is H−\text{H}^{-}H−, so it goes to the anode.
  • Using one calcium hydroxide for each magnesium hydrogencarbonate. Clark's method needs two.
  • Writing magnesium carbonate as the scale from boiling. It is magnesium hydroxide.
  • Treating hardness in ppm as the mass of the actual salts. It is the mass of calcium carbonate that has the same number of ions.

Remember these

  • Hydrides: ionic (s-block), covalent (p-block: electron-deficient, precise, rich), metallic (d and f block, often non-stoichiometric).
  • Temporary hardness: hydrogencarbonates, removed by boiling or Clark's method.
  • Permanent hardness: chlorides and sulphates, removed by washing soda, Calgon, a zeolite or resins.
  • Heavy water: by repeated electrolysis; a neutron moderator.

References

  • OpenStax Chemistry 2e, Chapter 18, section 18.5, and Chapter 15, section 15.1 on precipitation.
  • Greenwood and Earnshaw, Chemistry of the Elements, Chapter 3 (hydrides) and Chapter 14 (water).

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. Molten calcium hydride is electrolysed. At which electrode does hydrogen appear, and what does that tell you?
  1. Sort B2H6\text{B}_{2}\text{H}_{6}B2​H6​, SiH4\text{SiH}_{4}SiH4​ and HF\text{HF}HF into electron-deficient, electron-precise and electron-rich.
  1. Why does ice float on water?
  1. Why does a zeolite stop softening water after a while, and how is it brought back into use?

Enroll free in Hydrogen and Its Compounds: Hydrides, Water and Hydrogen Peroxide

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (4)

A shelf of a store room holds samples or cylinders of twelve hydrides: LiH, NaH, CaH₂, B₂H₆, CH₄…Hard · High School (11–12) · by StemPy Lab
A school laboratory tests its tap water…Advanced · High School (11–12) · by StemPy Lab
A home water softener holds a bed of zeolite that can take in 2.40 mol of calcium and magnesium…Hard · High School (11–12) · by StemPy Lab
Next: lesson 3Hydrogen peroxide: making it, its shape and its reactions
← Hydrogen and Its Compounds: Hydrides, Water and Hydrogen Peroxide
← Hydrogen: its place, isotopes, preparation and use as a fuelHydrogen peroxide: making it, its shape and its reactions →

Discussion (0)

Log in to join the discussion.

Loading…

1 Python program
4 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.

Hydrogen peroxide: making it, its shape and its reactions
A research group needs fully deuterated methane, CD₄, to study a reaction mechanism…Hard · High School (11–12) · by StemPy Lab

Python Labs (1)

Hardness from an EDTA titrationPython Lab · by StemPy Lab