From charlesreid1

No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{fmbox
|text=A much more detailed version of this is here: http://meta.wikimedia.org/wiki/Help:Displaying_a_formula
}}
{|border=1 width=100%
|colspan="2"|
<br />
A single equation:
A single equation:


|-
|
<pre>
<math>
\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}}
</math>
</pre>
|
<math>
<math>
  \operatorname{erfc}(x) =
\operatorname{erfc}(x) =
  \frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^2}\,dt =
\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}}
\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>
<math>
\begin{align}
\begin{align}
y &=& x + 2 \\
y &=& x + 2 \\
5x + 7z &=& 8y^2 + 2y - 5
5x + 7z &=& 8y^2 + 2y - 5
\end{align}
\end{align}
</math>
</pre>
</pre>
|
|
Line 24: Line 48:
\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>
<math>
\begin{array}{rcl}
\begin{array}{rcl}
y & = & x + 2 \\
y & = & x + 2 \\
5x + 7z &=& 8y^2 + 2y - 5
5x + 7z &=& 8y^2 + 2y - 5
\end{array}
\end{array}
</math>
</pre>
</pre>
|
|
Line 44: Line 71:
\end{array}
\end{array}
</math>
</math>
|-
|
<pre>
<math>
\chi(\lambda) =
\left|
\begin{array}{ccc}
\lambda - a & -b & -c \\
-d & \lambda - e & -f \\
-g & -h & \lambda - i
\end{array}
\right|
</math>
</pre>
|
<math>
\chi(\lambda) =
\left|
\begin{array}{ccc}
\lambda - a & -b & -c \\
-d & \lambda - e & -f \\
-g & -h & \lambda - i
\end{array}
\right|
</math>
|}
|}
[[Category:Test]]

Latest revision as of 05:31, 11 May 2011



A single equation:

<math>
\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}}
</math>

$ \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):

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

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


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

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

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

<math>
\chi(\lambda) = 
\left| 
\begin{array}{ccc}
\lambda - a & -b & -c \\
-d & \lambda - e & -f \\
-g & -h & \lambda - i 
\end{array} 
\right|
</math>

$ \chi(\lambda) = \left| \begin{array}{ccc} \lambda - a & -b & -c \\ -d & \lambda - e & -f \\ -g & -h & \lambda - i \end{array} \right| $