Similarities between lithium and magnesium are as follows:
(i) Both Li and Mg react slowly with cold water.
(ii) The oxides of both Li and Mg are much less soluble in water and their hydroxides decompose at high temperature.
(iii) Both Li and Mg react with N2 to form nitrides.
(iv) Neither Li nor Mg form peroxides or superoxides.
(v) The carbonates of both are covalent in nature. Also, these decompose on heating.
(vi) Li and Mg do not form solid bicarbonates.
(vii) Both LiCl and MgCl2 are soluble in ethanol owing to their covalent nature.
(viii) Both LiCl and MgCl2 are deliquescent in nature. They crystallize from aqueous solutions as hydrates, for example,