Aqueous solution of the following compound on electrolysis gives ethane
Potassium acetate
Let's recall Kolbe's electrolysis
The electrolysis of an aqueous solution of sodium/potassium salt of a fatty acid gives higher alkane. Do note that the electrolysis of an aqueous solution of sodium/potassium salt of a dibasic acid gives alkene, whereas the electrolysis of aqueous solution of sodium/potassium 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