document.write( "Question 1193590: Suppose a fair coin is tossed three times. Let X be the random variable that represents the number of heads obtained. Find the cumulative distribution function of X. \n" ); document.write( "
Algebra.Com's Answer #848637 by yurtman(42)\"\" \"About 
You can put this solution on YOUR website!
**1. Determine the Probability Mass Function (PMF) of X**\r
\n" ); document.write( "\n" ); document.write( "* **Possible Values of X:**
\n" ); document.write( " * X = 0 (no heads): TTT
\n" ); document.write( " * X = 1 (one head): HTT, THT, TTH
\n" ); document.write( " * X = 2 (two heads): HHT, HTH, THH
\n" ); document.write( " * X = 3 (three heads): HHH\r
\n" ); document.write( "\n" ); document.write( "* **Probabilities:**
\n" ); document.write( " * P(X = 0) = 1/8
\n" ); document.write( " * P(X = 1) = 3/8
\n" ); document.write( " * P(X = 2) = 3/8
\n" ); document.write( " * P(X = 3) = 1/8\r
\n" ); document.write( "\n" ); document.write( "**2. Define the Cumulative Distribution Function (CDF)**\r
\n" ); document.write( "\n" ); document.write( "* The CDF, denoted as F(x), gives the probability that the random variable X is less than or equal to a specific value (x).\r
\n" ); document.write( "\n" ); document.write( "**3. Calculate the CDF for Each Possible Value of X**\r
\n" ); document.write( "\n" ); document.write( "* **F(x) = P(X ≤ x)**\r
\n" ); document.write( "\n" ); document.write( " * F(x) = 0 for x < 0
\n" ); document.write( " * F(x) = P(X = 0) = 1/8 for 0 ≤ x < 1
\n" ); document.write( " * F(x) = P(X = 0) + P(X = 1) = 1/8 + 3/8 = 1/2 for 1 ≤ x < 2
\n" ); document.write( " * F(x) = P(X = 0) + P(X = 1) + P(X = 2) = 1/8 + 3/8 + 3/8 = 7/8 for 2 ≤ x < 3
\n" ); document.write( " * F(x) = P(X = 0) + P(X = 1) + P(X = 2) + P(X = 3) = 1/8 + 3/8 + 3/8 + 1/8 = 1 for x ≥ 3\r
\n" ); document.write( "\n" ); document.write( "**Therefore, the cumulative distribution function (CDF) of X is:**\r
\n" ); document.write( "\n" ); document.write( "* F(x) = 0 for x < 0
\n" ); document.write( "* F(x) = 1/8 for 0 ≤ x < 1
\n" ); document.write( "* F(x) = 1/2 for 1 ≤ x < 2
\n" ); document.write( "* F(x) = 7/8 for 2 ≤ x < 3
\n" ); document.write( "* F(x) = 1 for x ≥ 3
\n" ); document.write( "
\n" ); document.write( "
\n" );