Let pᵢ be the probability that a randomly chosen point has i many friends, i=0,1,2,3,4. Let X be a random variable such that for i=0,1,2,3,4, the probability P(X=i)=pᵢ. Then the value of 7E(X) is
pi=P(a random point has i friends),i=0,1,2,3,4
X:P(X=i)=pi,i=0,1,2,3,4
To find: 7E(X)
Network: a line means the two points are friends
C:4 friends
Each of the other 6 points: 3 friends
1 point with 4,6 points with 3,total 7 points
p4=71,p3=76,p0=p1=p2=0
∑ipi=71+76=1 ✓
E(X)=∑i=04ipi
=0p0+1p1+2p2+3p3+4p4
E(X)=3⋅76+4⋅71=718+4=722
E(X)=total pointstotal degree=76×3+1×4=722
7E(X)=7×722=22