The probability P(0<X≤2) represents values where X is greater than 0 and less than or equal to 2.
From the table, this includes X=1 and X=2 (but not X=0).
P(0<X≤2)=P(X=1)+P(X=2)
In any probability distribution, all probabilities sum to 1.
P(X=0)+P(X=1)+P(X=2)=1
(1−7a2)+(21a+41)+a2=1
1−7a2+21a+41+a2=1
45−6a2+21a=1
−6a2+21a+41=0
Multiplying by 4:
−24a2+2a+1=0
24a2−2a−1=0
a=2(24)−(−2)±(−2)2−4(24)(−1)
a=482±4+96
a=482±100
a=482±10
This gives a=4812=41 or a=48−8=−61
Since a>0, we have a=41
P(X=1)=21×41+41
P(X=1)=81+82
P(X=1)=83
P(X=2)=(41)2
P(X=2)=161
P(0<X≤2)=P(X=1)+P(X=2)
P(0<X≤2)=83+161
P(0<X≤2)=166+161
P(0<X≤2)=167