For example, I want to purify copper. So the anode will be impure copper and cathode will be pure copper. However, instead of using copper sulphate/halides/nitrate solution, can I use magnesium chloride?
My thought process: Magnesium is more reactive than copper, so copper from the anode that are oxidised into Cu2+ ions will still be preferentially discharged, therefore not affecting the reaction(?).
Sorry if there are conceptual errors here and there, Im just really confused about this topic. T_T