---
title: The origin of biopotentials
heading: Ion concentration differences across the cell membrane, the Nernst potential of each ion, the Goldman–Hodgkin–Katz equation for the resting potential, the parallel-conductance model, and how little charge it takes to set the membrane voltage
eyebrow: S15 · Lesson 10 · The origin of biopotentials
xp: 50
---

::: hook
Every signal an ECG, EEG or EMG records starts as a voltage across a cell membrane about 5 nm thick. Pumps keep potassium concentrated inside cells and sodium outside, and the membrane lets potassium leak much more easily than sodium, so the inside sits around 70 to 90 mV below the outside. Change the membrane's permeabilities, as nerve and muscle cells do in milliseconds, and the voltage swings toward a different ion's equilibrium. The whole of electrophysiology rests on two equations from B11's thermal physics: Nernst's for one ion, and Goldman's for several.
:::

::: play
- The membrane potential from the Goldman–Hodgkin–Katz equation as the sodium-to-potassium permeability ratio $P_{Na}/P_K$ varies, with typical mammalian concentrations (K⁺ 140 mM inside and 4 mM outside, Na⁺ 12 and 145 mM, Cl⁻ 4 and 116 mM) and $P_{Cl}/P_K$ = 0.45, at 37 °C.
- At rest, $P_{Na}/P_K$ ≈ 0.04 and the membrane sits near −75 mV, close to potassium's Nernst potential of −95 mV.
- During an action potential the sodium permeability rises several hundredfold, and the membrane swings toward sodium's +67 mV.
:::

```sim plot
view: graph
x: r = 0.001..100 log
y: V = -100..80
slider: K = 2..10 step 0.1 = 4
plot: 26.727*ln((K + 145*r + 0.45*4)/(140 + 12*r + 0.45*116)) | samples: 400 | label: membrane potential, mV
marker: y = 26.727*ln(K/140) | label: E_K
marker: y = 26.727*ln(145/12) | label: E_Na
readout: resting potential at a ratio of 0.04, mV = 26.727*ln((K + 145*0.04 + 0.45*4)/(140 + 12*0.04 + 0.45*116)) | digits: 4
readout: potassium Nernst potential, mV = 26.727*ln(K/140) | digits: 4
```

::: predict
## Potassium is 140 mM inside a cell and 4 mM outside. At 37 °C, what's its Nernst potential, inside relative to outside?

- [ ] +95 mV
- [x] About −95 mV
- [ ] About −61 mV
- [ ] 0

::: reveal
$E_K = (RT/F)\ln(4/140)$ = 26.73 mV × (−3.555) = −95.0 mV. At that voltage the inward electrical pull on K⁺ exactly balances its outward diffusion. The real resting potential is somewhat less negative because a little sodium also leaks in.
:::
:::

::: nameit
## The Nernst potential

For one ion of charge z, the membrane voltage (inside minus outside) at which diffusion and electric drift balance is

$$E = \frac{RT}{zF}\ln\frac{[X]_o}{[X]_i}$$

At 37 °C, RT/F = 26.73 mV, or 61.5 mV per decade of concentration ratio for a monovalent ion.

## The Goldman–Hodgkin–Katz equation

With several permeant ions, the resting potential is a permeability-weighted balance:

$$V_m = \frac{RT}{F}\ln\frac{P_K[K]_o + P_{Na}[Na]_o + P_{Cl}[Cl]_i}{P_K[K]_i + P_{Na}[Na]_i + P_{Cl}[Cl]_o}$$

The anion's concentrations are swapped because its charge is negative. The membrane potential sits near the Nernst potential of whichever ion is most permeable.

## The parallel-conductance model

Electrically, each ion is a battery at its Nernst potential in series with its conductance, all in parallel with the membrane capacitance (about 1 µF/cm²). At steady state

$$V_m = \frac{g_KE_K + g_{Na}E_{Na} + g_{Cl}E_{Cl}}{g_K + g_{Na} + g_{Cl}}$$

## How little charge

Charging 1 µF/cm² by 100 mV takes 0.1 µC/cm², about 6 × 10¹¹ ions per cm², a tiny fraction of the ions near the membrane. So concentrations barely change during an action potential, and the pumps only have to restore them slowly.
:::

::: example
## Find the sodium and chloride Nernst potentials and the GHK resting potential for the sim's concentrations and $P_K : P_{Na} : P_{Cl}$ = 1 : 0.04 : 0.45.

::: solution
1. **Sodium Nernst potential.**
   $$\begin{aligned} E_{Na} &= 26.73 \ln\frac{145}{12} \\ &= +66.6\ \text{mV} \end{aligned}$$
2. **Chloride Nernst potential.**
   $$\begin{aligned} E_{Cl} &= -26.73 \ln\frac{116}{4} \\ &= -90.0\ \text{mV} \end{aligned}$$
3. **GHK resting potential.** With $P_K : P_{Na} : P_{Cl}$ = 1 : 0.04 : 0.45:
   $$\begin{aligned} V &= 26.73 \ln\frac{4 + 5.8 + 1.8}{140 + 0.48 + 52.2} \\ &= 26.73 \ln\frac{11.6}{192.7} \\ &= -75.1\ \text{mV} \end{aligned}$$
4. **At the peak of an action potential.** Raising $P_{Na}/P_K$ to 20 gives +50.9 mV.

**Answer:** $E_{Na}$ = +66.6 mV and $E_{Cl}$ = −90.0 mV, and the GHK resting potential is −75.1 mV (+50.9 mV with $P_{Na}/P_K$ = 20).
:::
:::

::: example
## A membrane has relative conductances $g_K$ = 1, $g_{Na}$ = 0.05 and $g_{Cl}$ = 0.3, with Nernst potentials −95, +66.6 and −90 mV. What's its potential, and how many ions per cm² move to shift it by 100 mV?

::: solution
1. **Weight each Nernst potential by its conductance.** The total conductance is 1.35:
   $$\begin{aligned} V_m &= \tfrac{1}{1.35}(-95 + 0.05 \times 66.6 \\ &\quad - 0.3 \times 90) \\ &= -87.9\ \text{mV} \end{aligned}$$
2. **Charge to move it 100 mV.** Across 1 µF/cm²:
   $$\begin{aligned} Q &= 1\ \mu\text{F/cm}^2 \times 0.1\ \text{V} \\ &= 0.1\ \mu\text{C/cm}^2 \end{aligned}$$
3. **Number of ions.** Each singly charged ion carries 1.602 × 10⁻¹⁹ C:
   $$\begin{aligned} n &= \frac{0.1 \times 10^{-6}}{1.602 \times 10^{-19}} \\ &= 6.2 \times 10^{11}\ \text{per cm}^2 \end{aligned}$$

**Answer:** the membrane sits at −87.9 mV, and shifting it by 100 mV moves 6.2 × 10¹¹ singly charged ions per cm².
:::
:::

::: example
## Extracellular potassium doubles from 4 to 8 mM, as in severe hyperkalemia. How far does the potassium Nernst potential move, and how far does the resting potential move by the Goldman equation with $P_K : P_{Na} : P_{Cl}$ = 1 : 0.04 : 0.45 (K⁺ 140 mM inside, Na⁺ 12/145 mM and Cl⁻ 4/120 mM inside/outside)?

::: solution
1. **Potassium Nernst potential before.**
   $$\begin{aligned} E_K &= 26.7\ln\frac{4}{140} \\ &= -95.0\ \text{mV} \end{aligned}$$
2. **And after.**
   $$\begin{aligned} E_K &= 26.7\ln\frac{8}{140} \\ &= -76.5\ \text{mV} \end{aligned}$$
   a shift of $26.7\ln 2$ = 18.5 mV.
3. **Goldman equation.** It gives −75.4 mV before and −67.4 mV after:
   $$\begin{aligned} V &= 26.7\ln\frac{N}{D} \\ N &= P_K[K]_o + P_{Na}[Na]_o \\ &\quad + P_{Cl}[Cl]_i \\ D &= P_K[K]_i + P_{Na}[Na]_i \\ &\quad + P_{Cl}[Cl]_o \end{aligned}$$
4. **Depolarization.** The cell depolarizes by 7.9 mV, less than $E_K$ moves, because sodium and chloride also set the potential.
5. **Why it's dangerous.** Even that partial depolarization inactivates sodium channels in heart muscle, which is why high potassium is dangerous.

**Answer:** $E_K$ moves 18.5 mV, from −95.0 to −76.5 mV, while the resting potential moves only 7.9 mV, from −75.4 to −67.4 mV.
:::
:::

::: check
given: i = 120 | 140 | 155; o = 3 | 5 | 8
answer: 26.727*ln(o/i)
unit: mV
tolerance: 0.5%

## Potassium is {i} mM inside a cell and {o} mM outside. What's its Nernst potential at 37 °C?

::: right
Right. $(RT/F)\ln([K]_o/[K]_i)$ = {answer} mV.
:::

::: misses
- [26.727*ln(i/o)] The sign: inside relative to outside, $\ln([X]_o/[X]_i)$.
- [any] Not yet. Nernst equation with RT/F = 26.73 mV.
:::
:::

::: check
given: o = 1 | 1.2 | 2.5; i = 0.0001 | 0.0005
answer: 26.727/2*ln(o/i)
unit: mV
tolerance: 0.5%

## Calcium is {o} mM outside a cell and {i} mM inside. What's its Nernst potential at 37 °C?

::: right
Right. With z = 2, $(RT/2F)\ln([Ca]_o/[Ca]_i)$ = {answer} mV.
:::

::: misses
- [26.727*ln(o/i)] Calcium carries two charges: divide by z = 2.
- [any] Not yet. Nernst with z = 2.
:::
:::

::: check
given: r = 0.01 | 0.04 | 0.1 | 5; K = 4 | 6
answer: 26.727*ln((K + 145*r)/(140 + 12*r))
unit: mV
tolerance: 0.5%

## A membrane is permeable only to K⁺ and Na⁺, with $P_{Na}/P_K$ = {r}. Potassium is 140 mM inside and {K} mM outside; sodium 12 mM inside and 145 mM outside. What's the membrane potential at 37 °C?

::: right
Right. GHK: {answer} mV.
:::

::: misses
- [26.727*ln(K/140)] That's potassium's Nernst potential, ignoring the sodium.
- [any] Not yet. Weight each ion's concentrations by its permeability.
:::
:::

::: check
given: a = 1 | 2; b = 0.02 | 0.1 | 0.5; c = 0 | 0.4
answer: (a*(-95) + b*66.6 + c*(-90))/(a + b + c)
unit: mV
tolerance: 0.5%

## A membrane's conductances are $g_K$ = {a}, $g_{Na}$ = {b} and $g_{Cl}$ = {c} (relative units), with Nernst potentials −95, +66.6 and −90 mV. What's its potential?

::: right
Right. The conductance-weighted average, {answer} mV.
:::

::: misses
- [any] Not yet. $\sum gE/\sum g$.
:::
:::

::: check
given: C = 0.8 | 1 | 2; V = 50 | 100 | 120
answer: C*1e-6*V*1e-3/1.602176634e-19
tolerance: 0.5%

## How many monovalent ions per square centimeter must cross a membrane of {C} µF/cm² to change its voltage by {V} mV?

::: right
Right. $C\Delta V/e$ = {answer} per cm².
:::

::: misses
- [C*V/1.602176634e-19] Convert microfarads and millivolts to farads and volts.
- [any] Not yet. Charge over the elementary charge.
:::
:::

::: check
given: T = 20 | 25 | 37; z = 1 | 2
answer: 8.314462618*(T + 273.15)/(z*96485.33212)*ln(10)*1000
unit: mV
tolerance: 0.5%

## How many millivolts per tenfold concentration ratio does the Nernst equation give for an ion of charge {z} at {T} °C?

::: right
Right. $2.303\,RT/(zF)$ = {answer} mV per decade.
:::

::: misses
- [8.314462618*(T + 273.15)/(z*96485.33212)*1000] That's per factor of e; multiply by ln 10.
- [any] Not yet. RT/zF times ln 10.
:::
:::

::: check
kind: parts
given: i = 130 | 150; o = 3 | 4.5; k = 6 | 9

## Potassium is {i} mM inside a cell; outside it rises from {o} to {k} mM, at 37 °C.

::: part
answer: 26.73*ln(o/i)
unit: mV
tolerance: 0.5%

### What is the Nernst potential before the rise?

::: misses
- [26.73*ln(i/o)] Inside is negative: use ln(outside/inside).
- [any] $(RT/F)\ln([K]_o/[K]_i)$.
:::
:::

::: part
answer: 26.73*ln(k/o)
unit: mV
tolerance: 0.5%

### By how much does it rise?

::: misses
- [61.5*log(k/o)*0 + 26.73*(k - o)/o] The shift is logarithmic: $(RT/F)\ln$ of the ratio.
- [any] $(RT/F)\ln(k/o)$.
:::
:::
:::

::: check
kind: derivation
vars: z = 1..2, T = 290..315, o = 1..200, i = 1..200

## An ion of valence z is at concentration o outside a cell and i inside, at absolute temperature T.

::: step
answer: 8.314462618*T/(z*96485.33212)*ln(o/i)*1000

### What is its Nernst potential in millivolts?
:::

::: step
answer: 8.314462618*T/(z*96485.33212)*ln(10)*1000

### How many millivolts per tenfold concentration ratio is that?
:::

::: right
Right. At body temperature, 61.5 mV per decade for a monovalent ion, half that for calcium.
:::
:::

::: explain
## Why does the resting potential sit close to potassium's Nernst potential but not exactly at it?

::: model
At rest the membrane is far more permeable to potassium than to sodium, so potassium's tendency to leave the cell, balanced by the negative inside, dominates the voltage. But a small sodium permeability lets sodium ions, pushed inward by both their concentration gradient and the negative interior, leak in steadily. That inward current pulls the voltage a little positive of $E_K$ until the outward potassium current matches it. The GHK equation captures this weighting: the potential lands near the Nernst potential of the most permeable ion, displaced toward the others in proportion to their permeabilities. The steady leaks would eventually run down the gradients, which is why the sodium–potassium pump keeps working.
:::
:::

::: practice

::: check
given: i = 5 | 200; o = 2 | 160
answer: 26.727*ln(o/i)
unit: mV
tolerance: 0.5%

## Nernst, z = 1: inside {i} mM, outside {o} mM?

::: misses
- [any] $(RT/F)\ln([X]_o/[X]_i)$.
:::
:::

::: check
given: r = 0.005 | 30; K = 3 | 10
answer: 26.727*ln((K + 145*r)/(140 + 12*r))
unit: mV
tolerance: 0.5%

## GHK with $P_{Na}/P_K$ = {r}, $[K]_o$ = {K} mM?

::: misses
- [any] GHK equation.
:::
:::

::: check
given: a = 0.5 | 3; b = 0.01 | 2; c = 0 | 1
answer: (a*(-95) + b*66.6 + c*(-90))/(a + b + c)
unit: mV
tolerance: 0.5%

## Parallel conductance: $g_K$ = {a}, $g_{Na}$ = {b}, $g_{Cl}$ = {c}?

::: misses
- [any] $\sum gE/\sum g$.
:::
:::
:::
