# example of pairwise independent events that are not totally independent

## Primary tabs

\documentclass{article}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}
\begin{document}
\PMlinkescapeword{blue}
\PMlinkescapeword{red}
\PMlinkescapeword{white}
\PMlinkescapeword{components}
Consider a fair tetrahedral die whose sides are painted red, green, blue, and white. Roll the die. Let $X_r, X_g, X_b$ be the events that die falls on a side that have red, green, and blue color components, respectively. Then
\begin{align*}
P(X_r)=P(X_g)&=P(X_b)=\frac{1}{2},\\
P(X_r \cap X_g)=P(X_w)&=\frac{1}{4}=P(X_r)P(X_g),\\
\intertext{but}
P(X_r \cap X_g \cap X_b)=\frac{1}{4}&\neq \frac{1}{8}=P(X_r)P(X_g)P(X_b).
\end{align*}
%%%%%
%%%%%
nd{document}