If the barrier is selectively porous to only potassium then ions flow down a gradient until repulsed by an electrical difference as chlorides cannot diffuse across the membrane and hence a charge difference develops
The resting potential arises from a concentration gradient of potassium ions across a membrane, requiring a high resting permeability of the membrane only to potassium
The electrical repulsive force that deters the flow of potassium ions down their concentration gradient, determined by the difference in potassium ion concentration, measured in mV
At the EPSP phase, ligand gated sodium channels cause the change in membrane potential, while in the Action Potential, voltage gated sodium channels take over to create the action potential