markdown
連立一次方程式と掃き出し法md 31231aa
lecture/math/linear-algebra/linear-systems-and-gaussian-elimination.lecture.n.md
Download PDF

連立一次方程式れんりついちじほうていしきsystem of linear equationsと掃はき出だし法ほうGaussian elimination

date2026-07-02document_iddoc_f5207885ed452cade0babb2ea21ffb7edescription連立一次方程式を、行基本変形で同値な式へ変換しながら解の構造を読む手順として整理し、掃き出し法の意味を説明する講義である。prerequisites一次方程式 / 行列の基本記法 / ベクトルの成分表示type講義content_typelecturestatusactiverelateddata/lecture/math/linear-algebra/linear-algebra-portal.lecture.n.md / data/lecture/math/linear-algebra/linear-maps-and-matrices.lecture.n.md / data/lecture/math/linear-algebra/inverse-matrix-basics.lecture.n.md / data/exercise/math/linear-algebra/elementary-operations-and-linear-systems.exercise.n.md
mathlinear-algebraundergraduatelecture

Systems of linear equations連立一次方程式れんりついちじほうていしき and Gaussian elimination掃はき出だし法ほう

1導入どうにゅう

この講義こうぎで中心ちゅうしんに置おく発想はっそうは、掃はき出だし法ほうGaussian eliminationは係数けいすうcoefficientをただ消去しょうきょする技巧ぎこうではなく、連立一次方程式れんりついちじほうていしきsystem of linear equationsを同値どうちequivalentな形かたちへ変換へんかんして、解かいの構造こうぞうstructureを明示めいじする方法ほうほうだということである。

連立一次方程式れんりついちじほうていしきsystem of linear equationsを解とくとき、代入法だいにゅうほうや加減法かげんほうだけに依存いぞんすると、式しきが多おおくなった段階だんかいで構造こうぞうstructureが不明瞭ふめいりょうになる。掃はき出だし法ほうGaussian eliminationは、この手順てじゅんを体系的たいけいてきに整理せいりしたものである。

1Introduction

The essential point of this lecture is that Gaussian elimination掃はき出だし法ほう is not just a trick for eliminating coefficients. It transforms a system of linear equations連立一次方程式れんりついちじほうていしき into an equivalent同値どうち form and makes the structure構造こうぞう of the solution explicit.

If one relies only on substitution or ad hoc elimination, the structure becomes unclear when there are many equations. Gaussian elimination掃はき出だし法ほう systematizes that procedure.

2用語ようごと定義ていぎ

連立一次方程式れんりついちじほうていしきSystem of linear equations とは、未知数みちすうunknownが 1 次じで現あらわれる方程式ほうていしきを複数ふくすうまとめたものである。

行基本変形ぎょうきほんへんけいElementary row operation とは、行ぎょうrowの交換こうかん、定数倍ていすうばい、ある行ぎょうrowに別べつの行ぎょうrowの定数倍ていすうばいを加くわえる操作そうさoperationである。

2Terms and definitions

A system of linear equations連立一次方程式れんりついちじほうていしき is a collection of equations in which the unknowns未知数みちすう appear linearly.

An elementary row operation行基本変形ぎょうきほんへんけい is one of the following operations on rows: swapping rows, multiplying a row by a nonzero constant, or adding a constant multiple of one row to another row.

3方針ほうしん

まず拡大係数行列かくだいけいすうぎょうれつaugmented matrixに変換へんかんする。そのあと、行基本変形ぎょうきほんへんけいelementary row operationで前まえから順番じゅんばんに主成分しゅせいぶんpivotを確保かくほし、下したや上うえの成分せいぶんcomponentを消去しょうきょする。

3Strategy

First convert the system to an augmented matrix拡大係数行列かくだいけいすうぎょうれつ. Then use elementary row operations行基本変形ぎょうきほんへんけい to secure pivots主成分しゅせいぶん from left to right and eliminate entries below or above them.

4直感的ちょっかんてきな説明せつめい

掃はき出だし法ほうGaussian eliminationは、表ひょうの中なかで「この列れつcolumnの代表だいひょうはここ」と設定せっていし、その上下じょうげを消去しょうきょする操作そうさoperationに相当そうとうする。これを左ひだりから右みぎへ順番じゅんばんに進行しんこうすると、どの変数へんすうが自由じゆうで、どの変数へんすうが決定けっていされるかを確認かくにんできる。

4Intuitive explanation

Gaussian elimination掃はき出だし法ほう amounts to choosing a representative entry for a column in a table and clearing entries above or below it. Moving from left to right reveals which variables are determined and which variables remain free.

5厳密げんみつな説明せつめい

5.11. 拡大係数行列かくだいけいすうぎょうれつaugmented matrix

たとえば

\begin{cases} x+y=2\\ 2x-y=1 \end{cases}

は

\left( \begin{array}{cc|c} 1 & 1 & 2\\ 2 & -1 & 1 \end{array} \right)

と表示ひょうじできる。

5.22. 行基本変形ぎょうきほんへんけいelementary row operation

2 行目ぎょうめから 1 行目ぎょうめの 2 倍ばいを引ひくと

\left( \begin{array}{cc|c} 1 & 1 & 2\\ 0 & -3 & -3 \end{array} \right)

である。ここから y=1、さらに x=1 と判定はんていできる。

5.33. 何なにを判定はんていできるか

掃はき出だした結果けっか、矛盾むじゅんする行ぎょうrowが表あらわれれば解かいなし、自由変数じゆうへんすうfree variableが残のこれば無数むすうの解かいが存在そんざいする。

最小例さいしょうれいで 3 つの場合ばあいを並ならべると、見みるべき場所ばしょが明確めいかくになる。

階段形かいだんけいrow echelon formの形かたち読よみ取とること解かいの型かた
\left(\begin{array}{cc|c}1&0&2\\0&1&3\end{array}\right)すべての未知数みちすうunknownに pivot がある一意解いちいかい
\left(\begin{array}{cc|c}1&1&2\\0&0&1\end{array}\right)0=1 という矛盾行むじゅんぎょうがある解かいなし
\left(\begin{array}{cc|c}1&1&2\\0&0&0\end{array}\right)pivot のない列れつcolumnがあり、自由変数じゆうへんすうfree variableが残のこる無数むすうの解かい

一意解いちいかいでは、各かく未知数みちすうunknownが pivot によって決定けっていされる。解かいなしでは、係数側けいすうがわがすべて 0 なのに右辺うへんright-hand sideだけ 0 でない行ぎょうrowが現あらわれる。無数むすうの解かいでは、自由変数じゆうへんすうfree variableを任意にんいに動うごかせるため、解集合かいしゅうごうに自由度じゆうどが残のこる。

5Precise explanation

5.11. Augmented matrix拡大係数行列かくだいけいすうぎょうれつ

For example,

\begin{cases} x+y=2\\ 2x-y=1 \end{cases}

is represented by

\left( \begin{array}{cc|c} 1 & 1 & 2\\ 2 & -1 & 1 \end{array} \right)

5.22. Elementary row operation行基本変形ぎょうきほんへんけい

Apply

R2←R2-2R1.

This subtracts twice the first row from the second row and gives

\left( \begin{array}{cc|c} 1 & 1 & 2\\ 0 & -3 & -3 \end{array} \right)

From the second row, -3y=-3, so y=1. Substituting into the first row gives x+1=2, hence x=1. Therefore the solution is x=1,y=1.

5.33. What can be decided

After elimination, a contradictory row means there is no solution, and a remaining free variable自由変数じゆうへんすう means there are infinitely many solutions.

The three smallest cases make the checkpoints explicit.

Shape of row echelon form階段形かいだんけいWhat to readSolution type
\left(\begin{array}{cc|c}1&0&2\\0&1&3\end{array}\right)every unknown未知数みちすう has a pivotunique solution
\left(\begin{array}{cc|c}1&1&2\\0&0&1\end{array}\right)there is a contradictory row 0=1no solution
\left(\begin{array}{cc|c}1&1&2\\0&0&0\end{array}\right)a column has no pivot, so a free variable自由変数じゆうへんすう remainsinfinitely many solutions

In the unique-solution case, each unknown未知数みちすう is determined by a pivot. In the no-solution case, a row appears whose coefficient side is all zero but whose right-hand side右辺うへん is nonzero. In the infinitely-many-solutions case, a free variable自由変数じゆうへんすう can be moved arbitrarily, so the solution set retains a degree of freedom.

6判定基準はんていきじゅん

  • 未知数みちすうunknownが複数ふくすうあり、式しきの数かずも多おおいなら、掃はき出だし法ほうGaussian eliminationを優先ゆうせんする。
  • 解かいが一意いちいか、解かいなしなのかを判定はんていしたいときも、掃はき出だし結果けっかが有効ゆうこうである。
  • 変形へんけいの途中とちゅうで同値どうちequivalentを保たもっていることを確認かくにんする。
  • 解かいの型かたを判断はんだんするときは、矛盾行むじゅんぎょう、pivot の個数こすう、自由変数じゆうへんすうfree variableの有無うむを順じゅんに確認かくにんする。

6Criteria

  • If there are several unknowns未知数みちすう and several equations, prefer Gaussian elimination掃はき出だし法ほう.
  • The elimination result is also useful when deciding whether the solution is unique or whether no solution exists.
  • At every step, check that the system is being replaced by an equivalent同値どうち system.
  • To decide the solution type, check for contradictory rows, count the pivots, and then check whether free variables自由変数じゆうへんすう remain.

7最終形さいしゅうけい

[PARSE ERROR: Undefined("Command(\"boxed\")")]連立一次方程式→拡大係数行列→掃き出し

7Final form

[PARSE ERROR: Undefined("Command(\"boxed\")")]systemoflinearequations→augmentedmatrix→Gaussianelimination

8一言ひとことでいうと

  • 掃はき出だし法ほうGaussian eliminationは、連立一次方程式れんりついちじほうていしきsystem of linear equationsを解とく手順てじゅんであると同時どうじに、解かいの構造こうぞうstructureを確認かくにんする方法ほうほうも兼かねる。

8In one sentence

  • Gaussian elimination掃はき出だし法ほう is both a procedure for solving a system of linear equations連立一次方程式れんりついちじほうていしき and a method for checking the structure構造こうぞう of its solutions.
raw .n.md をコピー
loc をコピー (filepath:line ~ line)
copy share link
copy encoded share link
path をコピー
copy share link
copy encoded share link
copy share link
copy encoded share link
タブを全て閉じる