Mathjax:行列と表
表示 | 入力文字 | 記述例 | |
---|---|---|---|
行列 ( ) |
$\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}$ |
\begin{pmatrix} 1 & 2 \\\ 3 & 4 \end{pmatrix} |
\begin{pmatrix} a & b & c \\\ d & e & f \\\ g & h & i \end{pmatrix} $\begin{pmatrix} a & b & c \\ d & e & f \\ g & h & i \end{pmatrix}$ &:列、\\\:行 |
行列 [ ] |
$\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}$ |
\begin{bmatrix} 1 & 2 \\\ 3 & 4 \end{bmatrix} |
\begin{bmatrix} x+1 & x & x-1 \\\ x & x-1 & x-2 \\\ x-1 & x-2 & x-3 \end{bmatrix} $\begin{bmatrix} x+1 & x & x-1 \\ x & x-1 & x-2 \\ x-1 & x-2 & x-3 \end{bmatrix}$ |
行列式| | |
$\mathrm{det}X=\begin{vmatrix} 1 & 2 \\ 3 & 4 \end{vmatrix}$ |
\mathrm{det}X= \begin{vmatrix} 1 & 2 \\\ 3 & 4 \end{vmatrix} |
\begin{vmatrix} 1 & 2 \\\ 3 & 4 \end{vmatrix} \\\ =1 \times 4-2 \times 3=-2 $\begin{vmatrix} 1 & 2 \\ 3 & 4 \end{vmatrix} $ $ =1 \times 4-2 \times 3=-2$ |
転置行列 |
$ \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}^{\mathrm{T}} $ |
\begin{pmatrix} 1 & 2 \\\ 3 & 4 \end{pmatrix} ^{\mathrm{T}} |
\begin{pmatrix} 1 & 2 \\\ 3 & 4 \end{pmatrix}^{\mathrm{T}} =\begin{pmatrix} 1 & 3 \\\ 2 & 4 \end{pmatrix} $\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}^{\mathrm{T}}=\begin{pmatrix} 1 & 3 \\ 2 & 4 \end{pmatrix}$ |
例1 | $\left( \begin{array}{cccc} x_{11} & x_{12} & \ldots & x_{1m} \\ x_{21} & x_{22} & \ldots & x_{2m} \\ \vdots & \vdots & \ddots & \vdots \\ x_{n1} & x_{n2} & \ldots & x_{nm} \end{array} \right) $ |
\left( \begin{array}{cccc} x_{11} & x_{12} & \ldots & x_{1m} \\\ \vdots & \vdots & \ddots & \vdots \\\ x_{n1} & x_{n2} & \ldots & x_{mn} \end{array} \right) |
|
例2 |
$\left( \begin{array}{|c|c|c|c|} x_{11} & x_{12} & \ldots & x_{1m} \\ \hline |
\left( \begin{array}{|c|c|c|c|} x_{11} & x_{12} & \ldots & x_{1m} \\\ \hline \hline \vdots & \vdots & \ddots & \vdots \\\ \hline x_{n1} & x_{n2} & \ldots & x_{mn} {|c|c|c|c|}が縦線、\hlineが横線 |
|
例3 | $\begin{array}{|c|c|c|c|}\hline x_{11} & x_{12} & \ldots & x_{1m} \\ \hline x_{21} & x_{22} & \ldots & x_{2m} \\ \hline \vdots & \vdots & \ddots & \vdots \\ \hline x_{n1} & x_{n2} & \ldots & x_{nm} \\ \hline \end{array} $ |
\begin{array}{|c|c|c|c|} \hline x_{11} & x_{12} & \ldots & x_{1m} \\\ \hline \hline \vdots & \vdots & \ddots & \vdots \\\ \hline x_{n1} & x_{n2} & \ldots & x_{nm} \\\ \hline |