Generally and without prior knowledge,
\begin{displaymath} Var(X) = \left\{ \begin{array}{lr} \int_{-\infty}^{\infty} x^2 f_{X}(x) \, dx - \left(\int_{-\infty}^{\infty} x f_{X}(x) \, dx\right)^2 & : X \text{ is continuous}\\ \sum_{\text{all }x} x^2p_{X}(x) - \left(\sum_{\text{all...