Sample variance (dispersion)

$$s^{2} = x_1^{2}\cdot p_1+x_2^{2}\cdot p_2+x3^{2}\cdot p3-x_{v}^{2}$$
Find   It is known that:
      =