| |||||||||
Within the context of information theory, self-information is defined as the amount of information that knowledge about (the outcome of) a certain event, adds to someone's overall knowledge. The amount of self-information is expressed in the unit of information: a bit.
By definition, the amount of self-information contained in a probabilistic event dependends only on the probability <math>p<math> that the event happens. More specifically: the smaller this probability is, the larger is the self-information associated with receiving information that the event indeed occurred.
Further, by definition, the measure of self-information has the following property. If an event C is composed of two mutually independent events A and B, then the amount of information at the proclamation that C has happened, equals the sum of the amounts of information at proclamations of event A and event B respectively.
Taking into account these properties, the self-information H(A) associated with event A that has a probability <math>p<math> is defined as:
bits. This definition, using the binary logarithm function, complies with the above conditions.
This definition can be rewritten as: