(a) When dry sodium acetate is heated with sodaline (NaOH + CaO), methane is formed.

(b) When methyl iodide reacts with sodium in ether, ethane is formed.

(c) When concentrated aqueous solution of potassium acetate is electrolyed, ethane is evolved at the anode.

(d) When aluminium carbide is treated with water, it forms aluminum hydroxide and methane.
