In a substitution reaction one atom or group of atoms is replaced by another atom or group of atoms.
Think of a sentence: “The cat sat on the mat.” If you replace cat with dog, the sentence still makes sense but the subject has changed. In a substitution reaction, the “subject” (an atom or group) in the alkane is swapped out for a new one, but the rest of the molecule stays the same.
Methane reacts with chlorine under UV light to give chloromethane and hydrogen chloride:
\$\mathrm{CH4 + Cl2 \xrightarrow{hv} CH_3Cl + HCl}\$
Here, one hydrogen atom in the methane is replaced by a chlorine atom.
| Reactant | Reagent | Product |
|---|---|---|
| R–H | X (halogen, nitro, etc.) | R–X |
| R–H | HX (acid) | R–X + H₂ |