Nucleophilic Substitution of Haloalkanes: Nitriles are synthesized by reacting haloalkanes with potassium cyanide () in an ethanol/water mixture under reflux. The cyanide ion () acts as a nucleophile, displacing the halide ion and increasing the carbon chain length by one.
Nucleophilic Addition to Carbonyls: Hydroxynitriles are produced by reacting aldehydes or ketones with hydrogen cyanide (). Because is a toxic gas, it is often generated in situ using a mixture of or and a dilute acid like .
Mechanism of Addition: The cyanide nucleophile attacks the electron-deficient carbonyl carbon, breaking the double bond. The resulting intermediate is then protonated by to form the final hydroxynitrile product.
Acid Hydrolysis: Heating a nitrile under reflux with a dilute acid (e.g., ) converts the nitrile group into a carboxylic acid. The nitrogen atom is released as an ammonium salt (e.g., ).
Alkaline Hydrolysis: Reaction with an aqueous alkali (e.g., ) produces a carboxylate salt and ammonia gas. To obtain the free carboxylic acid, the mixture must subsequently be acidified.
Reduction to Amines: Nitriles can be reduced to primary amines using a strong reducing agent like Lithium Aluminum Hydride () in dry ether, or by catalytic hydrogenation using hydrogen gas () and a nickel catalyst.
| Feature | Nucleophilic Substitution | Nucleophilic Addition |
|---|---|---|
| Starting Material | Haloalkane | Aldehyde or Ketone |
| Reagent | in ethanol | (or ) |
| Product | Nitrile | Hydroxynitrile |
| Chain Length | Increases by 1 | Increases by 1 |
Reagent Choice: is preferred over in laboratory settings because is an extremely toxic, volatile gas. Using with a dilute acid provides a safer source of the cyanide nucleophile while maintaining the necessary acidic conditions for protonation.
Stereochemistry: When a cyanide ion attacks a planar carbonyl group in an aldehyde or unsymmetrical ketone, it can attack from either side with equal probability. This often results in a racemic mixture of optical isomers if a chiral center is created.
Count the Carbons: One of the most common mistakes is forgetting that the nitrile group adds a carbon atom to the chain. Always re-count the total carbon atoms when naming the product or drawing the structure after a synthesis step.
Identify the Mechanism: If the starting material is a haloalkane, the mechanism is Nucleophilic Substitution ( or ). If the starting material is a carbonyl, the mechanism is Nucleophilic Addition.
Safety First: In exam questions regarding practical procedures, always mention that cyanide reactions should be performed in a fume cupboard due to the high toxicity of gas.
Hydrolysis Products: Ensure you distinguish between acid and alkaline hydrolysis. Acid hydrolysis yields the acid directly, while alkaline hydrolysis yields the salt, requiring an extra step to reach the acid.