In the preparation of alkanes; a concentrated aqueous solution of sodium or potassium salts of saturated carboxylic acid are subjected to
Do you remember Kolbe's electrolysis?
Electrolysis of an aqueous solution of sodium or potassium salt of a fatty acid gives higher alkane, and electrolysis of an aqueous solution of sodium or potassium salt of dibasic acid gives alkene, whereas the electrolysis of aqueous solution of sodium or ptassium salt of dibasic unsaturated fatty acid gives alkyne.
2RCOONaElectrolysis−−−−−−−→R−R+2CO2+2−OH+H2
Therefore,
Mechanism (free radical)
2RCOONa → 2RCOO− + 2Na+
At anode (oxidation)
2RCOO−→2−e+2RCO⋅O
2−e+2RCO⋅O→2⋅R+2CO2↑
2⋅R→R−R
At cathode (reduction): reduction of H2O takes place since reduction potential of is greater than Na⨁
2H2O+2e−→2OH−+H2
Methane cannot be prepared by this method
2CH3 COOK+2H2OElectrolysis−−−−−−−→CH3−CH3+2CO2+2KOH+H2