From charlesreid1

No edit summary
No edit summary
Line 2: Line 2:




{|border=1 width=100%
|colspan="2"|
<br />
A single equation:
A single equation:


{|border=1 width=100%
|-
|
|
<pre>
<pre>
Line 17: Line 21:
\frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}}
\frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}}
</math>
</math>
|}


|-
|colspan="2"|
<br />
Multiple-line equation (default alignments):
Multiple-line equation (default alignments):


{|border=1 width=100%
|-
|
|
<pre>
<pre>
Line 36: Line 42:
\end{align}
\end{align}
</math>
</math>
|}


|-
|colspan="2"|
<br />
Multiple-line equation (user-set alignments, Right-Center-Left):
Multiple-line equation (user-set alignments, Right-Center-Left):


{|border=1 width=100%
|-
|
|
<pre>
<pre>
Line 56: Line 63:
\end{array}
\end{array}
</math>
</math>
|}
|}

Revision as of 00:20, 22 October 2010

A much more detailed version of this is here: http://meta.wikimedia.org/wiki/Help:Displaying_a_formula



A single equation:

\operatorname{erfc}(x) =
\frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^2}\,dt =
\frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}}

$ \operatorname{erfc}(x) = \frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^2}\,dt = \frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}} $


Multiple-line equation (default alignments):

\begin{align}
y &=& x + 2 \\
5x + 7z &=& 8y^2 + 2y - 5
\end{align}

$ \begin{align} y &=& x + 2 \\ 5x + 7z &=& 8y^2 + 2y - 5 \end{align} $


Multiple-line equation (user-set alignments, Right-Center-Left):

\begin{array}{rcl}
y & = & x + 2 \\
5x + 7z &=& 8y^2 + 2y - 5
\end{array}

$ \begin{array}{rcl} y & = & x + 2 \\ 5x + 7z &=& 8y^2 + 2y - 5 \end{array} $