高校物理160203 views
高校国語788336 views
高校化学2924392 views
雑学1473612 views
高校日本史190571 views
小学社会310485 views
英語613639 views
小学算数1200427 views
りんご209490 views
高校生物551766 views
Help
Tools
NewsSpreadsheetCalendarSlidesTier ListPen ToolIllustrationCrayonPixel ArtASCII ArtPerspectiveEndless StairsGraphMind MapER DiagramFamily TreeMemeCurved TextImage EditorMosaicRetro FilterPencil SketchOCR/HighlighterMakeup EditorFaviconVideo TrimmerScrolling VideoVideo TitleColor PickerColor ExtractorBonfireFireworksWater RippleWater SplashBreaking GlassWood GrainMarble TextureCSS ButtonIcon MakerBar ChartGrouped Bar ChartStacked Bar ChartPie ChartLine ChartArea ChartStacked Area ChartScatter Plot3D Bar Chart3D Pie ChartBar Chart RaceBubble ChartPopulation PyramidPictogramEarningsCandlestick ChartInvestment RiskMortgage SimulatorCalculatorMatrix CalculatorFunction GraphPolynomial ExpansionVenn DiagramField VisualizerRubik's Cube Group TheoryTraveling SalesmanVoronoi and DelaunayFractalColumn ArithmeticDraw Math FiguresArithmetic AnimationArithmetic Word ProblemsCounting with Tree DiagramsCube NetsCross SectionsMotion PathMechanicsWavesLight and LensesThermodynamicsHow Semiconductors WorkMolecular StructuresAtomic OrbitalsElectrochemical CellsChemical EquilibriumCrystal LatticesBuffer pHComplex IonsDNA Double HelixCell DivisionMembrane ChannelsNerve ImpulseRock ClassificationWeatherConstellationsSolar and Lunar Eclipses3D ModelingFloor PlanSeismic StructuresIntersection TurnMaglevCooking AnimationOrigamiLive Viewer CountGeoJSON MapRailway MapPopulation MapCrime MapLand Price MapSchool MapShrine and Castle MapHouse of Representatives MapWord MapSolitaireReversiHakoiri MusumeChessHamburgerRippleSlide Puzzle MakerNeon PinballNovel MakerJapanese Typing PracticePiano Score EditorMusic Theory

English

行列と行列式|LaTeX

行列と行列式は線形代数の基本であり、連立方程式の解法や座標変換など幅広い応用があります。ここでは行列と行列式に関する公式の LaTeX 記法をまとめます。

行列の表記

行列は括弧で囲んで表記します。

A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}

角括弧を使う場合は bmatrix を使います。

A = \begin{bmatrix} a_{11} & a_{12} & a_{13} \\ a_{21} & a_{22} & a_{23} \end{bmatrix}

一般の 行列は次のように書きます。

A = (a_{ij})_{m \times n} = \begin{pmatrix} a_{11} & \cdots & a_{1n} \\ \vdots & \ddots & \vdots \\ a_{m1} & \cdots & a_{mn} \end{pmatrix}

特殊な行列

単位行列は または で表します。

I_n = \begin{pmatrix} 1 & 0 & \cdots & 0 \\ 0 & 1 & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & 1 \end{pmatrix}

零行列は で表します。

O = \begin{pmatrix} 0 & 0 \\ 0 & 0 \end{pmatrix}

行列の演算

行列の和とスカラー倍です。

A + B = (a_{ij} + b_{ij})
cA = (ca_{ij})

行列の積は次のように定義されます。

(AB)_{ij} = \sum_{k=1}^{n} a_{ik}b_{kj}

転置行列

転置行列は行と列を入れ替えた行列です。

A^T = A^\top = (a_{ji})

転置の性質として次が成り立ちます。

(AB)^T = B^T A^T

行列式

行列の行列式は次のように計算します。

\det A = |A| = \begin{vmatrix} a & b \\ c & d \end{vmatrix} = ad - bc

行列の行列式はサラスの方法で計算できます。

\begin{vmatrix} a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3 \\ c_1 & c_2 & c_3 \end{vmatrix} = a_1 b_2 c_3 + a_2 b_3 c_1 + a_3 b_1 c_2 - a_3 b_2 c_1 - a_1 b_3 c_2 - a_2 b_1 c_3

行列式の性質

行列式の基本的な性質です。

\det(AB) = \det A \cdot \det B
\det(A^T) = \det A
\det(cA) = c^n \det A \quad (\text{$n$ 次正方行列})

逆行列

逆行列は次の条件を満たす行列です。

AA^{-1} = A^{-1}A = I

行列の逆行列は次の公式で求められます。

A^{-1} = \frac{1}{ad-bc} \begin{pmatrix} d & -b \\ -c & a \end{pmatrix}

一般には余因子行列を使います。

A^{-1} = \frac{1}{\det A} \tilde{A}

固有値と固有ベクトル

固有値方程式は次のとおりです。

A\mathbf{v} = \lambda\mathbf{v}

固有値は特性方程式の解として求められます。

\det(A - \lambda I) = 0

特性多項式は次のように表されます。

p(\lambda) = \det(\lambda I - A)

対角化

行列 が対角化可能なとき、次のように書けます。

A = PDP^{-1}

ここで は対角行列、 は固有ベクトルを並べた行列です。

D = \begin{pmatrix} \lambda_1 & 0 & \cdots & 0 \\ 0 & \lambda_2 & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & \lambda_n \end{pmatrix}

トレース

トレースは対角成分の和です。

\text{tr}(A) = \sum_{i=1}^{n} a_{ii}

トレースと固有値の関係は次のとおりです。

\text{tr}(A) = \sum_{i=1}^{n} \lambda_i

連立一次方程式

連立一次方程式は行列形式で書けます。

A\mathbf{x} = \mathbf{b}

クラメルの公式により、解は次のように表されます。

x_i = \frac{\det A_i}{\det A}