Preparation of potassium permanganate ($$\mathrm{KMnO_4}$$): it is prepared from the mineral pyrolusite, $$\mathrm{MnO_2}$$.
Step 1 — Conversion of $$\mathrm{MnO_2}$$ to potassium manganate. Pyrolusite is fused with potassium hydroxide in the presence of air (or an oxidising agent such as $$\mathrm{KNO_3}$$). Manganese is oxidised from the $$+4$$ to the $$+6$$ state, giving the dark green potassium manganate:
$$\mathrm{2MnO_2 + 4KOH + O_2 \longrightarrow 2K_2MnO_4 + 2H_2O}$$
Step 2 — Oxidation of manganate to permanganate. The green manganate (Mn in $$+6$$) is oxidised to the purple permanganate (Mn in $$+7$$). In industry this is done by electrolytic oxidation of the alkaline manganate solution at the anode:
$$\mathrm{MnO_4^{2-} \longrightarrow MnO_4^- + e^-}$$
(It may also be done chemically, e.g. by $$\mathrm{Cl_2}$$ or $$\mathrm{O_3}$$, or by acidification, in which case the manganate disproportionates: $$\mathrm{3MnO_4^{2-} + 4H^+ \to 2MnO_4^- + MnO_2 + 2H_2O}$$.)
Reactions of acidified $$\mathrm{KMnO_4}$$: in acidic medium permanganate is a powerful oxidising agent and is reduced to $$\mathrm{Mn^{2+}}$$:
$$\mathrm{MnO_4^- + 8H^+ + 5e^- \longrightarrow Mn^{2+} + 4H_2O}\qquad (E^{\circ} = +1.51\,\mathrm{V})$$
(i) With iron(II) ions: $$\mathrm{Fe^{2+}}$$ is oxidised to $$\mathrm{Fe^{3+}}$$ ($$\mathrm{5Fe^{2+} \to 5Fe^{3+} + 5e^-}$$):
$$\mathrm{MnO_4^- + 8H^+ + 5Fe^{2+} \longrightarrow Mn^{2+} + 4H_2O + 5Fe^{3+}}$$
(ii) With sulphur dioxide: $$\mathrm{SO_2}$$ is oxidised to sulphate ($$\mathrm{SO_2 + 2H_2O \to SO_4^{2-} + 4H^+ + 2e^-}$$):
$$\mathrm{2MnO_4^- + 5SO_2 + 2H_2O \longrightarrow 2Mn^{2+} + 5SO_4^{2-} + 4H^+}$$
(iii) With oxalic acid: the oxalate ion is oxidised to carbon dioxide ($$\mathrm{C_2O_4^{2-} \to 2CO_2 + 2e^-}$$); the reaction is carried out warm ($$\approx 333\,\mathrm{K}$$):
$$\mathrm{2MnO_4^- + 5C_2O_4^{2-} + 16H^+ \longrightarrow 2Mn^{2+} + 10CO_2 + 8H_2O}$$