# Alternative Equation Formats

The equation on this page is available in multiple formats. Depending on your browser, some formats might not render correctly.

## MathML

$\begin{array}{rcl}v& =& H\left(X\right)+H\left(Y\right)-H\left(XY\right)\\ w& =& H\left(Y\right)\\ H\left(X\right)& =& -\sum _{i}\left(\frac{{n}_{i\cdot }}{n}\right)\mathrm{ln}\left(\frac{{n}_{i\cdot }}{n}\right)\\ H\left(Y\right)& =& -\sum _{j}\left(\frac{{n}_{\cdot j}}{n}\right)\mathrm{ln}\left(\frac{{n}_{\cdot j}}{n}\right)\\ H\left(XY\right)& =& -\sum _{i}\sum _{j}\left(\frac{{n}_{ij}}{n}\right)\mathrm{ln}\left(\frac{{n}_{ij}}{n}\right)\end{array}$

## MathML rendered with MathJax

$\begin{array}{rcl}v& =& H\left(X\right)+H\left(Y\right)-H\left(XY\right)\\ w& =& H\left(Y\right)\\ H\left(X\right)& =& -\sum _{i}\left(\frac{{n}_{i\cdot }}{n}\right)\mathrm{ln}\left(\frac{{n}_{i\cdot }}{n}\right)\\ H\left(Y\right)& =& -\sum _{j}\left(\frac{{n}_{\cdot j}}{n}\right)\mathrm{ln}\left(\frac{{n}_{\cdot j}}{n}\right)\\ H\left(XY\right)& =& -\sum _{i}\sum _{j}\left(\frac{{n}_{ij}}{n}\right)\mathrm{ln}\left(\frac{{n}_{ij}}{n}\right)\end{array}$

## Math as LaTeX Source

\begin{eqnarray*} v & = & H(X) + H(Y) - H(XY) \\[0.10in] w & = & H(Y) \\[0.10in] H(X) & = & -\sum _ i \left( \frac{n_{i \cdot }}{n} \right) \ln \left( \frac{n_{i \cdot }}{n} \right) \\[0.10in] H(Y) & = & -\sum _ j \left( \frac{n_{\cdot j}}{n} \right) \ln \left( \frac{n_{\cdot j}}{n} \right) \\[0.10in] H(XY) & = & -\sum _ i \sum _ j \left( \frac{n_{ij}}{n} \right) \ln \left( \frac{n_{ij}}{n} \right) \end{eqnarray*}