markdown
行基本変形の基本md d7643db
lecture/math/linear-algebra/elementary-row-operations.lecture.n.md
Download PDF

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

date2026-07-14document_iddoc_8ae033f0135b9133968f42e9d959282cdescription行基本変形を、連立一次方程式の解集合を保ったまま係数を整理する三種類の操作として説明し、左から基本行列を掛ける意味と列基本変形との違いまで整理する講義である。prerequisites拡大係数行列 / 行列の基本演算type講義content_typelecturestatusactiverelateddata/lecture/math/linear-algebra/linear-systems-and-augmented-matrices.lecture.n.md / data/lecture/math/linear-algebra/row-echelon-and-reduced-row-echelon-forms.lecture.n.md / data/lecture/math/linear-algebra/linear-systems-and-gaussian-elimination.lecture.n.md / data/lecture/math/linear-algebra/elementary-column-operations.lecture.n.md / data/lecture/math/linear-algebra/determinant-computation-rules.lecture.n.md / data/exercise/math/linear-algebra/elementary-operations-and-linear-systems.exercise.n.md
mathlinear-algebraundergraduatelecture

Basics of elementary row operations行基本変形ぎょうきほんへんけい

1導入どうにゅう

行基本変形ぎょうきほんへんけいelementary row operationは、連立一次方程式れんりついちじほうていしきsystem of linear equations解くtermための中心ちゅうしんてき操作そうさである。係数けいすう見やすくterm変形へんけいしても、かい集合しゅうごう変えtermないことが目的もくてきである。

なぜこの操作そうさ考えるtermのか。理由りゆうは、行基ぎょうきほん変形へんけいが「方程式ほうていしき同値どうち方程式ほうていしき置き換えるterm操作そうさ」だからである。後でterm掃き出しtermほう階数かいすうぎゃく行列ぎょうれつ行列ぎょうれつしき計算けいさん使うtermが、根本こんぽんにはかい集合しゅうごう保つtermという性質せいしつがある。

1Introduction

An elementary row operation行基本変形ぎょうきほんへんけい is a central operation for solving a system of linear equations連立一次方程式れんりついちじほうていしき. Its purpose is to make the coefficients easier to read without changing the solution set.

Why do we consider these operations? Because each row operation replaces equations by equivalent equations. Later they are used in elimination, rank, inverse matrices, and determinant computation, but the basic reason is that they preserve the solution set.

2用語ようご定義ていぎ

行基ぎょうきほん変形へんけいは、くだりに対してterm行うtermつぎの3種類しゅるい可逆かぎゃく操作そうさである。

\begin{array}{c|c|c} \text{操作} & \text{記号} & \text{意味}\\ \hline \text{行の交換} & R_i\leftrightarrow R_j & i\text{行目と}j\text{行目を交換する}\\ \text{行の非零定数倍} & R_i\leftarrow cR_i,\ c\ne 0 & i\text{行目全体を}c\text{倍する}\\ \text{行への加算} & R_i\leftarrow R_i+cR_j & i\text{行目に}j\text{行目の}c\text{倍を加える} \end{array}

c != 0必要ひつようなのは、くだり定数ていすうばいもと戻すtermときに 1/c使うtermからである。ここでは文字もじ割るtermので、割るterm相手あいてれいであることを明示めいじする。

2Terms and definitions

Elementary row operations are the following three reversible operations on rows.

\begin{array}{c|c|c} \text{Operation} & \text{Notation} & \text{Meaning}\\ \hline \text{Row swap} & R_i\leftrightarrow R_j & \text{exchange row }i\text{ and row }j\\ \text{Nonzero row scaling} & R_i\leftarrow cR_i,\ c\ne 0 & \text{multiply row }i\text{ by }c\\ \text{Row replacement} & R_i\leftarrow R_i+cR_j & \text{add }c\text{ times row }j\text{ to row }i \end{array}

The condition c != 0 is necessary because undoing the scaling uses 1/c. Since we divide by a symbolic quantity here, the nonzero condition must be stated explicitly.

3方針ほうしん

行基ぎょうきほん変形へんけい見るterm観点かんてんは2つある。

1つ方程式ほうていしき観点かんてんである。各行かくこうは1ほん方程式ほうていしき表すterm方程式ほうていしき入れ替えるtermれいばいする、方程式ほうていしきばい足すterm、という操作そうさは、同じtermかい持つterm方程式ほうていしきけい作るterm

2つ行列ぎょうれつ観点かんてんである。行基ぎょうきほん変形へんけいは、ひだりから基本行列きほんぎょうれつelementary matrix掛けるterm操作そうさである。

AEA

このしきは、ひだりから掛けるterm行列ぎょうれつAくだり線型せんけい結合けつごうして新しいtermくだり作るtermことを表しtermている。

3Plan

There are two viewpoints on row operations.

The first is the equation viewpoint. Each row represents one equation. Swapping equations, multiplying an equation by a nonzero scalar, or adding a multiple of one equation to another creates an equivalent system with the same solutions.

The second is the matrix viewpoint. An elementary row operation is multiplication by an elementary matrix基本行列きほんぎょうれつ from the left.

AEA.

This formula means that the matrix on the left forms new rows as linear combinations of the rows of A.

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

連立れんりついち方程式ほうていしきでは、しき並びtermじゅん変えtermてもかい変わらtermない。しき全体ぜんたいれいばいしても、同じterm条件じょうけんべつ尺度しゃくど書いtermただけである。さらに、すでに満たすtermべきしきばいべつしき足しtermても、かい満たすterm条件じょうけん変わらtermない。

したがって、行基ぎょうきほん変形へんけいは「かい保っtermたまま見た目term整えるterm操作そうさである。掃き出しtermほう階段かいだんがたにするのは、かい変えるtermためではなく、隠れtermていた制約せいやく読みtermやすくするためである。

4Intuitive explanation

In a system of linear equations, changing the order of equations does not change the solutions. Multiplying an entire equation by a nonzero scalar only writes the same condition using a different scale. Adding a multiple of an already required equation to another equation also keeps the same solution set.

Thus elementary row operations clean up the appearance while preserving the solutions. Row reduction produces echelon forms not to change the solutions, but to make the hidden constraints easier to read.

5具体例ぐたいれい

5.1問題もんだい

つぎ拡大かくだい係数けいすう行列ぎょうれつくだり基本きほん変形へんけい整理せいりし、対応たいおうするかい求めtermよ。

\left(\begin{array}{cc|c} 1&2&5\\ 3&4&11 \end{array}\right)

5.2解説かいせつ

まず R2<-R2-3R1 とする。

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

次にterm R2<--12R2 とする。このとき割っtermているのはかず -2 でありれいである。

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

最後さいごR1<-R1-2R2 とする。

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

したがってかいx=1, y=2 である。この例題れいだいでは、かく操作そうさかい集合しゅうごう変えtermないことを使っtermて、見やすいterm同値どうちかたち移しtermている。

5Worked example

5.1Problem

Use elementary row operations to simplify the augmented matrix and find the corresponding solution.

\left(\begin{array}{cc|c} 1&2&5\\ 3&4&11 \end{array}\right)

5.2Explanation

First apply R2<-R2-3R1.

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

Next apply R2<--12R2. The division is by the number -2, which is nonzero.

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

Finally apply R1<-R1-2R2.

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

Therefore the solution is x=1, y=2. This example uses the fact that each row operation preserves the solution set while moving the system to a more readable equivalent form.

6操作そうさごとに保存ほぞんされるもの・変わるtermもの

順序上じゅんじょじょう注意ちゅういとして、このページの本流ほんりゅうは「拡大係数行列かくだいけいすうぎょうれつ行基本変形ぎょうきほんへんけいほどこしても解集合かいしゅうごうわらない」ことである。階数かいすうrank行列式ぎょうれつしきdeterminantへの影響えいきょう後続こうぞく講義こうぎ定義ていぎ証明しょうめいする先取さきどりであり、ここではなにわりうるかを見通みとおすために名前なまえだけを使つかう。

行基ぎょうきほん変形へんけいは、拡大かくだい係数けいすう行列ぎょうれつに対してterm行えterm連立れんりついち方程式ほうていしきかい集合しゅうごう保つterm係数けいすう行列ぎょうれつだけを見るtermと、階数かいすう保つterm。これは行基ぎょうきほん変形へんけい可逆かぎゃく行列ぎょうれつひだりから掛けるterm操作そうさだからである。

一方いっぽう行列ぎょうれつそのものの成分せいぶんくだり空間くうかん具体ぐたいてき基底きてい行列ぎょうれつしき変わるtermことがある。正方せいほう行列ぎょうれつ行列ぎょうれつしきへの影響えいきょうつぎ通りtermである。

\begin{array}{c|c} \text{行操作} & \det A\text{への影響}\\ \hline R_i\leftrightarrow R_j & \text{符号が反転する}\\ R_i\leftarrow cR_i & c\text{倍される}\\ R_i\leftarrow R_i+cR_j & \text{変わらない} \end{array}

したがって、行基ぎょうきほん変形へんけいは「なにでも保存ほぞんする」操作そうさではない。なに目的もくてき使っtermているかに応じtermて、保存ほぞんされるりょう変わるtermりょう区別くべつする必要ひつようがある。

6What each operation preserves and changes

As an order note, the main point of this page is that applying row operations to an augmented matrix preserves the solution set. Statements about rank階数かいすう and the determinant行列式ぎょうれつしき are previews of later lectures where these quantities are defined and proved carefully. Here they are named only to show what can change or remain unchanged.

When applied to an augmented matrix, elementary row operations preserve the solution set of the system. For the coefficient matrix alone, they also preserve rank. This is because a row operation is multiplication by an invertible matrix from the left.

However, the actual entries, the particular basis of the row space, and the value of the determinant may change. For a square matrix, the determinant changes as follows.

\begin{array}{c|c} \text{Row operation} & \text{Effect on }\det A\\ \hline R_i\leftrightarrow R_j & \text{changes sign}\\ R_i\leftarrow cR_i & \text{is multiplied by }c\\ R_i\leftarrow R_i+cR_j & \text{does not change} \end{array}

Thus row operations do not preserve everything. One must distinguish what is preserved and what changes according to the purpose of the calculation.

7れつ基本きほん変形へんけいとの比較ひかく

列基本変形れつきほんへんけいelementary column operationれつ作用さようするので、みぎから基本きほん行列ぎょうれつ掛けるterm

AAF

れつ基本きほん変形へんけいれつ空間くうかん階数かいすう保つtermが、連立れんりつ方程式ほうていしき Ax=b未知数みちすう意味いみ変えるterm。したがって、方程式ほうていしき解くterm目的もくてきでは行基ぎょうきほん変形へんけい使うtermのが自然しぜんである。れつ基本きほん変形へんけい使うtermなら、未知数みちすう変換へんかん同時にterm追跡ついせきする必要ひつようがある。

7Comparison with elementary column operations

An elementary column operation列基本変形れつきほんへんけい acts on columns, so it is represented by multiplication by an elementary matrix from the right.

AAF.

Column operations preserve the column space and rank, but they change the meaning of the unknowns in a system Ax=b. Therefore row operations are the natural tool when solving systems. If column operations are used, the corresponding change of variables must also be tracked.

8定理ていり証明しょうめいぎょう基本きほん変形へんけいかい集合しゅうごう保つterm

8.1定理ていり

拡大かくだい係数けいすう行列ぎょうれつ行基ぎょうきほん変形へんけい施しtermられる連立れんりついち方程式ほうていしきは、もとの連立れんりついち方程式ほうていしき同じtermかい集合しゅうごう持つterm

8.2証明しょうめい

くだり交換こうかんは、方程式ほうていしき順序じゅんじょ入れ替えるtermだけなのでかい集合しゅうごう変えtermない。

くだりれい定数ていすうばいでは、方程式ほうていしき p(x)=qcp(x)=cq置き換えるtermc != 0 なので、ぎゃく1/c 倍すれtermもと方程式ほうていしき戻るterm。したがって同値どうちである。

くだりへの加算かさんでは、方程式ほうていしき pi(x)=qipi(x)+cpj(x)=qi+cqj置き換えるterm。もし xもとぜん方程式ほうていしき満たすtermなら新しいterm方程式ほうていしき満たすtermぎゃくに、新しいterm方程式ほうていしきpj(x)=qj成立するtermなら、後者こうしゃc ばい引いtermpi(x)=qi戻るterm。よってかい集合しゅうごう同じtermである。

8Theorem and proof: row operations preserve the solution set

8.1Theorem

A system obtained from an augmented matrix by elementary row operations has the same solution set as the original system.

8.2Proof

A row swap only changes the order of the equations, so it does not change the solution set.

For nonzero row scaling, the equation p(x)=q is replaced by cp(x)=cq. Since c != 0, multiplying back by 1/c recovers the original equation. Hence the two equations are equivalent.

For row replacement, the equation pi(x)=qi is replaced by pi(x)+cpj(x)=qi+cqj. If x satisfies all original equations, it satisfies the new equation. Conversely, if the new equation and pj(x)=qj both hold, subtracting c times the latter recovers pi(x)=qi. Hence the solution set is unchanged.

9最終形さいしゅうけい

行基ぎょうきほん変形へんけいは、つぎの3種類しゅるい可逆かぎゃくくだり操作そうさである。

RiRj,RicRi(c0),RiRi+cRj

連立れんりついち方程式ほうていしきではかい集合しゅうごう保つterm階数かいすうrank行列式ぎょうれつしきdeterminantへの影響えいきょう後続こうぞく講義こうぎあつか先取さきどりであり、ここでは「保存ほぞんされるりょうわるりょうける」ための見通みとおしとしてむ。

9Final form

Elementary row operations are the following three reversible row operations.

RiRj,RicRi(c0),RiRi+cRj.

For systems of linear equations they preserve the solution set. Statements about rank and determinants are previews of later lectures; at this point, read them as a warning that row operations preserve the target quantity for solving systems but do not preserve every matrix quantity.

10演習えんしゅうリンク

11関連かんれんリンク

10Exercise links

11Related links

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
タブを全て閉じる