Each column is for a specific difference between the competing targets, Δ = sA−sB, given in Å. The rate production of the correct product RA is a sum of a Gaussian centered at d = 0, which arises from the specific binding, and a uniform contribution due to non-specific binding (top row, blue). Similarly, the incorrect rate production, RB, is composed of a Gaussian centered at d = Δ and a uniform non-specific contribution (top row, red). The specificity, ξ, is the ratio between the correct and incorrect production rates and therefore depends on the location and width of the recognition windows (bottom row). (A) If the competing targets differ in structure, Δ = 3 Å, the windows of recognition partly overlap and the resulting specificity is optimal at a nonzero mismatch. (B) For Δ = 0, both RA and RB are centered around zero mismatch and the resulting specificity is approximately a rectangular window of width, d1/2≈k−1/2((N−m)ε−f−log(αr)). (C) If the competing targets differ much, Δ≫d1/2, the recognition windows do not overlap and the specificity is again optimal for zero mismatch. The parameters of the plot are N = 15, m = 2, ε = 2 kBT, r = 0.1, g = 1 Å, k = 1 kBT/Å2, f = 15 kBT.