The random variable X can take four values, so we write its probability distribution:
P(X=0)=p,P(X=1)=p,P(X=2)=q,P(X=3)=q.
Step 1: Use the fact that total probability equals 1.
2p+2q=1 −(1)
Step 2: Compute the expected value E(X).
Formula: E(X)=∑xiP(X=xi).
E(X)=0⋅p+1⋅p+2⋅q+3⋅q=p+5q. −(2)
Step 3: Compute the second moment E(X2).
Formula: E(X2)=∑xi2P(X=xi).
E(X2)=02⋅p+12⋅p+22⋅q+32⋅q=p+13q. −(3)
Step 4: Apply the given condition E(X2)=2E(X).
Using (2) and (3):
p+13q=2(p+5q).
Simplify:
p+13q=2p+10q
0=2p+10q−p−13q=p−3q
⇒p=3q. −(4)
Step 5: Solve for p and q with (1) and (4).
Substitute p=3q into (1):
2(3q)+2q=1
6q+2q=1
8q=1⇒q=81.
Then from (4):
p=3q=3×81=83.
Step 6: Evaluate the required expression 8p−1./>
8p−1=8×83−1=3−1=2.
Hence 8p−1=2, which corresponds to Option B.