The joint probability mass function isIt is nonnegative and its sum over is one. Summing over one coordinate gives the other marginal probability mass function.
For an outcome , the two random variables are the coordinate mapsTheir marginal probability mass functions are on , and their joint probability mass function satisfiesOff that support, the same factorization holds with zeros. Hence and are independent random variables, by the joint probability mass function criterion for independence.
Summing over the last digit yields the marginal probability mass functionTogether with the other marginal probability mass function, this givesThe factorization holds on the whole support and with zeros elsewhere, proving that and are independent. The conditional distribution in ii likewise does not depend on the permissible value .
Summing the joint probability mass function over with the geometric series gives the marginal probability mass functionDivide the joint probability mass function by this positive marginal probability mass function to obtain the conditional distribution:It is the geometric distribution counting failures before the first success, with success probability . For the other nonnegative integers , ; the elementary conditional probability given is undefined and supplies no additional case.