Page 1 of 1

LaTeX - matice, determinanty a pod.

Posted: Thu Feb 09, 2012 10:14 am
by Martin Sleziak

Code: Select all

\begin{pmatrix}
1 & 2 & 3 \\
0 & 1 & 4 \\
4 & 2 & -1
\end{pmatrix}

$\begin{pmatrix}
1 & 2 & 3 \\
0 & 1 & 4 \\
4 & 2 & -1
\end{pmatrix}$

Code: Select all

\begin{vmatrix}
    1 & a_1 & a_1^2 & \ldots & a_1^n \\
    1 & a_2 & a_2^2 & \ldots & a_2^n \\
    \vdots & \vdots & \vdots & \ddots & \vdots \\
    1 & a_n & a_n^2 & \ldots & a_n^n \\
    1 & a_{n+1} & a_{n+1}^2 & \ldots & a_{n+1}^n
\end{vmatrix}
$\begin{vmatrix}
1 & a_1 & a_1^2 & \ldots & a_1^n \\
1 & a_2 & a_2^2 & \ldots & a_2^n \\
\vdots & \vdots & \vdots & \ddots & \vdots \\
1 & a_n & a_n^2 & \ldots & a_n^n \\
1 & a_{n+1} & a_{n+1}^2 & \ldots & a_{n+1}^n
\end{vmatrix}$

Code: Select all

\left(\begin{array}{cccc|c}
  1 & 1 & 1 & 1 & 0 \\
  0 & 1 & 3 & 1 & 2 \\
  1 & 1 & 3 & 1 & 4 \\
  1 & 1 & 5 & 4 & 2
\end{array}\right)
$\left(\begin{array}{cccc|c}
1 & 1 & 1 & 1 & 0 \\
0 & 1 & 3 & 1 & 2 \\
1 & 1 & 3 & 1 & 4 \\
1 & 1 & 5 & 4 & 2
\end{array}\right)$