The beta distribution prior density is proportional to . By Bayes' theorem, its product with the likelihood function gives the posterior density
This is again a beta distribution, namely
Thus the beta family is a conjugate prior family for the geometric distribution. The update is an instance of beta-geometric conjugacy: counts of observed successes and failures are added to the two beta parameters.