Making nitriles and hydroxynitriles
CN⁻ adds a carbon — by substitution to a halogenoalkane, or by addition to a carbonyl.
Both reactions introduce a –C≡N (nitrile) group, which lengthens the carbon chain by one — a valuable synthetic step.
Nitriles — from halogenoalkanes (nucleophilic substitution): heat with KCN in ethanol: (propanenitrile from bromoethane — one extra carbon.)
Hydroxynitriles — from aldehydes/ketones (nucleophilic addition): react with HCN with a KCN catalyst, heat: (2-hydroxypropanenitrile; see the mechanism in Topic 17.1.) The product has both an –OH and a –CN group.
Note the solvent. KCN in ethanol with a halogenoalkane gives substitution (nitrile); KCN/HCN with a carbonyl gives addition (hydroxynitrile).
- Halogenoalkane + KCN/ethanol → nitrile (substitution).
- Carbonyl + HCN (KCN catalyst) → hydroxynitrile (addition).
- Both add one carbon to the chain.