Margaret C. answered 10/15/22
PhD in Chemistry with 15+ Years of Teaching Experience
The solution contains Ba(NO3)2, Mg(NO3)2, and AgNO3
Add KCl first. It will precipitate AgCl. BaCl2 and MgCl2 are soluble.
AgNO3(aq) + KCl(aq) → AgCl(s) + KNO3(aq)
net ionic Ag+(aq) + Cl-(aq) → AgCl(s)
Centrifuge, the solid AgCl will be on the bottom, The solution of BaCl2 and MgCl2 can be decanted.
To the decanted solution that contains BaCl2 and MgCl2 add K2SO4. BaSO4 will precipitate and MgSO4 is soluble.
BaCl2(aq) + K2SO4(aq) → BaSO4(s) + 2KCl(aq)
net ionic: Ba2+(aq) + SO42-(aq) → BaSO4(s)
Centrifuge, the solid BaSO4 will be on the bottom, The solution of MgCl2 can be decanted.
OR
you can use KOH for the second step. Ba(OH)2 is soluble and Mg(OH)2 will precipitate.
MgCl2(aq) + 2KOH(aq) → 2KCl(aq) + Mg(OH)2(s)
net ionic: Mg2+(aq) + 2OH-(aq) → Mg(OH)2(s)
Centrifuge, the solid Mg(OH)2 will be on the bottom, The solution of Ba(OH)2 can be decanted.
You can use filtration instead of centrifugation in both cases. The solid will remain on the filter paper.