Bonding

The Periodic Table shows elements grouped by the way they bond:
Some compounds have both covalent and ionic bonding. Ammonia, shown above, has covalent bonding. It will react with hydrogen chloride to form ammonium chloride:
NH3 + HCl → NH4Cl
Check that the number of atoms of each element are the same both sides of the arrow.
NH4 has 4 covalent bonds, but the bond between NH4 and Cl is ionic. When dissolved in water, the ionic bond will break, freeing the positive NH4+ ions from the negative Cl− ions. It will not just revert to ammonia and hydrogen chloride.

Table 18 - 1: Properties of typical ionic compounds

PropertiesReasons
Typical ionic compounds 
Crystalline structure at room temperatureRegular lattice arrangement.
High melting and boiling points, and high latent heats of fusion and evaporationIn a lattice, every positive ion is surrounded by negative ions, and every negative ion is surrounded by positive ions. It is as though there is only one giant molecule, but made up of millions of atoms, each one attracted to every surrounding atom. Large amounts of energy are needed to separate them.In contrast, covalent molecules have very strong bonds within each molecule but only weak attraction between molecules.
Often soluble in water but not in organic solvents.Many ionic solids dissolve in water which is a polar solvent, in which ions can move. Water is two covalent bonds like H-O-H- giving a small partial + charge on each H with both at one side of the O atom, and one -ve small charge at the other O end, making each water molecule polar (like a magnet). This occurs because the shared electrons tend to stay more on the oxygen end of the molecule, with the H atoms on the other side of the oxygen atom.The water molecules surrounding each ion of the solute, distance it from the other ions, so reducing the electrostatic attraction between solute ions. Water's polar property further reduces ionic attraction in the solute, having the negative O atom attracted towards the + solute ion and the H + atoms attracted to the -ve solute ions.
Conduct electricity when dissolved or when molten but not when solid.In solution or as a molten liquid the ions are free to move, and are attracted to the electrode of opposite charge./td>
Typical covalent compounds 
Often liquids or gases at room temperature. 
Low melting and boiling points, with low latent heats of fusion and evaporation.Although covalent bonds are very strong, making each molecule strong, the attraction between molecules is weak and easily broken. They are thus easily separated.
Soluble in organic solvents like ethanol and methylbenzene but few in water.Covalent molecules dissolve in covalent solvents, and these are non-polar solvents.
Do not conduct electricity.There are no ions to carry the current.

The types of molecular structure is related to atomic structure as seen in the Periodic Table.

Table 18 - 2: Molecular structure as determined by atomic structure

Revision

Oxygen has 6 electrons in its outermost shell which can take 8, so oxygen can give 6 or take 2. Which will it do? Thus oxygen wants another 2 electrons to fill its outermost shell.
Go to the Periodic Table.
The number from the left end tell how many electrons are in the outermost shell:
Already you know a lot of chemistry just by looking at the Periodic Table.

Ionic bonding

So a metal and a non-metal get together on this give-and-take contract.
Again, what does calcium want to do ? What does oxygen want to do ?
If calcium wants to give two and oxygen wants to take two, do you think they might get together and sign a contract?
Calcium + Oxygen → Calcium oxide
In this reaction, each calcium atom gives 2 electrons to an oxygen atom.
Ca + O → CaO
so everyone is happy. The substance CaO is calcium oxide or lime.


When mixed with water lime becomes slaked lime or calcium hydroxide Ca(OH)2.
CaO + H2O → Ca(OH)2

You can see from this diagram that in Ca(OH)2:
Slaked lime is used in mortar for erecting brick buildings, and for spreading on clay soil to make it friable for agriculture.

Take oxygen which takes two electrons, and hydrogen which gives one electron. Two hydrogen atoms can get together to give 2 electrons to oxygen.
2H + O → H2O
so everyone is happy. The substance H2O is water. Hydrogen and oxygen will combine to give water.

Covalent bonding

Covalent bonding is less about giving and more about sharing. Two atoms can complete their outermost shells by sharing electrons.

The gas hydrogen does not exist as single atoms but as molecules each of two atoms. As single atoms desperately wanting to give away the electron from its only shell, hydrogen would be too unstable. It prefers to share with another hydrogen so it then has two atoms which then fill its shell, just like the stable helium. Those two electrons, one from each atom, then loop around both atoms, pretending to be stable helium (except that each nucleus contains only one proton).

If you light a fire using charcoal, the black stuff, carbon, combines with oxygen to produce light and heat. What is the chemical reaction? A carbon atom shares 4 electrons while an oxygen takes two. If two oxygen get together they want 4 electrons which one carbon atom will offer.
C + O2 → CO2
This by-product is carbon dioxide. The letters 'di' mean 'two'. This carbon dioxide is the same colorless odourless gas which we breathe out. This is what happens:
Carbon does not give the electrons away completely, but shares its outermost electrons with oxygen so oxygen fills its outermost shell. At the same time oxygen shares two of its electrons with carbon so carbon fills its outermost shell.

Handy words
mono = one
di = two
tri = three

What is the difference between ionic bonding and covalent bonding ?
How would you expect carbon and oxygen to bond ?