Alternative Equation Formats

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

MathML

d ( x i , x j ) = { 1 2 ( 1 f ( x i ) + 1 f ( x j ) ) if  d ( x i , x j ) r otherwise

Math Rendered as SVG

Math as LaTeX Source

\[ d^*(x_ i , x_ j) = \left\{ \begin{array}{lcl} \frac{1}{2} \left( \frac{1}{f(x_ i)} + \frac{1}{f(x_ j)} \right) & & \mbox{if } d(x_ i , x_ j) \leq r \\[0.10in] \infty & & \mbox{otherwise} \\ \end{array} \right. \]