The joint Shannon entropy (in bits ) of two discrete random variables X {\displaystyle X} and Y {\displaystyle Y} is defined as

* Note:* It is understood that the expressions 0 log 0 and 0 log (* c* /0) for fixed * c* >0 should be treated as being equal to zero.