Kolbe's method of electrolysis of organic acid can be used to prepare alkane (except methane) alkene and alkyne. This reaction follows free radical mechanism.
Preparation of ethane
For ethyne
For ethene
Williamson synthesis Sodium alkoxideR−Oˉ−N+a+Alkyl halideX−R′→EtherROR′+NaX
Wurtz reaction is used to prepare higher alkanes RX+Na+RX dry etherR−R+NaX RX+Na+R′X⟶ mixture of alkanes R−R+R−R′+R′−R′+NaX
Sandmeyer reaction is used for preparation of chloroarenes and bromo arenes