Chemists can identify the composition of some unknown salts by conducting a flame test. When potassium salts are heated in a flame, a purple color is observed.
This is due to the movement of electrons between energy levels. What is the electron configuration of a potassium atom at ground state?