Skip to content

Indicator Random VariableΒΆ

DefinitionΒΆ

For an event AA, the indicator random variable πŸ™1A\indicator_{A} equals 11 if AA occurs and 00 otherwise.


InterpretationΒΆ

An indicator turns an event into a numerical yes-or-no observation: πŸ™1A\indicator_A is 11 on the outcomes in AA and 00 on all others. Counting how many events occur becomes adding random variables: the number of the events A1,…,AnA_1,\ldots,A_n that occur is πŸ™1A1+β‹―+πŸ™1An\indicator_{A_1}+\cdots+\indicator_{A_n}, whether or not the events are independent.

A sample space with an event A and four outcomes, with arrows from the outcomes in A to the value 1 and from the others to the value 0 on a number line.

In the figure the outcomes Ο‰1\omega_1 and Ο‰2\omega_2 lie in AA and are sent to 11, while Ο‰3\omega_3 and Ο‰4\omega_4 are sent to 00. So πŸ™1A\indicator_A takes only the values 00 and 11, with P(πŸ™1A=1)=P(A)\mathbb{P}(\indicator_A=1)=\mathbb{P}(A): a Bernoulli variable with parameter P(A)\mathbb{P}(A), as in the Key Results.

Operations on events become arithmetic: πŸ™1AπŸ™1B=1\indicator_A\indicator_B=1 exactly when both AA and BB occur, 1βˆ’πŸ™1A=11-\indicator_A=1 exactly when AA fails, and πŸ™1AβˆͺB=πŸ™1A+πŸ™1Bβˆ’πŸ™1AπŸ™1B\indicator_{A\cup B}=\indicator_A+\indicator_B-\indicator_A\indicator_B is the indicator form of the inclusion-exclusion principle. Combined with the fundamental bridge E[πŸ™1A]=P(A)\mathbb{E}[\indicator_A]=\mathbb{P}(A), a sum of indicators turns an expected count into a sum of probabilities.


Key ResultsΒΆ

  • πŸ™1A∼Bern⁑(P(A))\indicator_A\sim\operatorname{Bern}(\mathbb{P}(A)).
  • πŸ™1A∩B=πŸ™1AπŸ™1B\indicator_{A\cap B}=\indicator_A\indicator_B and πŸ™1Ac=1βˆ’πŸ™1A\indicator_{A^c}=1-\indicator_A.
  • A sum of indicators counts the number of events that occur, even when those events are dependent.

ExamplesΒΆ

  • A fair-toss heads indicator is 11 on heads and 00 on tails.
  • The number of heads in three tosses is πŸ™1A1+πŸ™1A2+πŸ™1A3\indicator_{A_1}+\indicator_{A_2}+\indicator_{A_3}.

PrerequisitesΒΆ

SourcesΒΆ

Aliases: indicator r.v., indicator variable Keywords: event indicator Symbols: intersection, omega, union

Last updated: 20 October 2026 03:02