This is a note for the book Population Genetics: A Concise Guide (Second Edition).
Page 31
Problem 2.9 Graph -ΔNH and ΔuH as function of H for N = 104 and u = 5×10-5. Do the lines intersect where you expect them to?
Note:
from matplotlib import pyplot as plt
def f(H):
return H/(2*10000) #genetic drift
def g(H):
return 2*0.00005*(1-H) #mutation
plt.plot(t, f(t) , color='red')
plt.plot(t, g(t) , color='blue')
plt.show()
Output:

In this situation, 4Nu = 4×104x10-5 = 2, when H > 2/3, genetic drift dominates mutation and genetic variation is eliminated from the population, while when H < 2/3, mutation dominates genetic drift.