Equality

Construct a nonnegative law with mean 44 for which P(X≥20)=0.2\mathrm{P}(X\ge 20)=0.2.

Put probability 0.20.2 on 2020 and probability 0.80.8 on 00. The mean is 44 and the tail probability equals 0.20.2, so Markov’s bound is attained.