Given P(A)=21, P(B)=127, and P(not A and not B)=41.
P(A∩B)=P(A∪B)=41⇒P(A∪B)=1−41=43
P(A∩B)=P(A)+P(B)−P(A∪B)=21+127−43=126+7−9=124=31
For independence, we need P(A∩B)=P(A)⋅P(B):
P(A)⋅P(B)=21×127=247,P(A∩B)=31=248
Since 248=247, A and B are not independent.