markdown
階数の基本md 101a0ef
lecture/math/linear-algebra/rank-basics.lecture.n.md
Download PDF

階数かいすうrankの基本きほん

date2026-07-14document_iddoc_ae771dde9206a080e233af7a5f63cd9adescription行列の階数を列空間の次元として定義し、ピボット・行基本変形・列基本変形・解空間との関係を、線型写像への一般化前の段階として整理する講義である。prerequisites列ベクトルの独立性 / 行基本変形 / 列基本変形 / 階段形と掃き出し法type講義content_typelecturestatusactiverelateddata/lecture/math/linear-algebra/linear-algebra-portal.lecture.n.md / data/lecture/math/linear-algebra/elementary-row-operations.lecture.n.md / data/lecture/math/linear-algebra/elementary-column-operations.lecture.n.md / data/lecture/math/linear-algebra/column-independence-and-rank.lecture.n.md / data/lecture/math/linear-algebra/rank-and-nullity-of-linear-maps.lecture.n.md / data/lecture/math/linear-algebra/inverse-matrix-basics.lecture.n.md / data/lecture/math/linear-algebra/determinants.lecture.n.md / data/exercise/math/linear-algebra/vector-spaces-bases-and-rank.exercise.n.md
mathlinear-algebraundergraduatelecturerank

Basics of rank階数かいすう

1導入どうにゅう

この講義こうぎで重要じゅうようなのは、ここでの階数かいすうrankは、まず m×n 行列ぎょうれつmatrixの列空間れつくうかんcolumn spaceの次元じげんdimensionとして定義ていぎするということである。

この段階だんかいでは、線型写像せんけいしゃぞうlinear mapの像ぞうimageや退化次数たいかじすうnullityを正式せいしきな主役しゅやくにはしない。もちろん、A は x↦Ax という線型写像せんけいしゃぞうlinear mapを表あらわすため、背後はいごでは同おなじ量りょうを見みている。しかし、一般化後いっぱんかごの定義ていぎと証明しょうめいは次つぎの講義こうぎで改あらためて扱あつかう。

data/lecture/math/linear-algebra/rank-and-nullity-of-linear-maps.lecture.n.md

1Introduction

In this lecture, the rank階数かいすう of an m×n matrix行列ぎょうれつ is first defined as the dimension of its column space列空間れつくうかん. The generalized definition for linear maps, as image dimension, is treated in the next lecture.

data/lecture/math/linear-algebra/rank-and-nullity-of-linear-maps.lecture.n.md

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

A を m×n 行列ぎょうれつmatrixとし、その列れつcolumnを C1,…,Cn∈Km とする。列空間れつくうかんcolumn spaceを

Col(A)=span(C1,…,Cn)

で定義ていぎする。一般化前いっぱんかまえの行列版ぎょうれつばんの階数かいすうrankを

rank(A)=dimCol(A)

で定義ていぎする。

行空間ぎょうくうかんrow spaceは、A の行ぎょうrowが張はる部分空間ぶぶんくうかんsubspaceである。行階数ぎょうかいすうrow rankは行空間ぎょうくうかんrow spaceの次元じげんdimension、列階数れつかいすうcolumn rankは列空間れつくうかんcolumn spaceの次元じげんdimensionである。この講義こうぎでは、最終的さいしゅうてきに両者りょうしゃが一致いっちすることを証明しょうめいし、その共通値きょうつうちを階数かいすうrankと呼よぶ。

また、行列版ぎょうれつばんの核かくkernelを

kerA={x∈Kn∣Ax=0}

と書かく。これは一般化後いっぱんかごには線型写像せんけいしゃぞうlinear mapの核かくkernelとして定義ていぎし直なおされる。

2Terms and definitions

Let A be an m×n matrix行列ぎょうれつ with columns C1,…,Cn. The column space列空間れつくうかん is

Col(A)=span(C1,…,Cn).

The matrix-level definition of rank階数かいすう is

rank(A)=dimCol(A).

The row space行空間ぎょうくうかん is the span of the rows. Row rank and column rank will be proved equal. The matrix-level kernel核かく is

kerA={x∈Kn∣Ax=0}.

3方針ほうしん

階数かいすうrankを計算けいさんするには、列空間れつくうかんcolumn spaceを直接ちょくせつ調しらべるより、階段形かいだんけいechelon formのピボットpivotを数かぞえるほうが効率的こうりつてきである。ただし、基本変形きほんへんけいが何なにを保たもち、何なにを変かえるかを区別くべつする必要ひつようがある。

  1. 行基本変形ぎょうきほんへんけいelementary row operationは階数かいすうrankを保たもつが、列空間れつくうかんcolumn spaceそのものは一般いっぱんに保たもたない。
  2. 列基本変形れつきほんへんけいelementary column operationは列空間れつくうかんcolumn spaceそのものを保たもつため、階数かいすうrankも保たもつ。
  3. ピボットpivotの個数こすうは、列空間れつくうかんcolumn spaceに残のこる独立どくりつindependentな方向ほうこうの個数こすうである。

3Plan

Rank is computed by pivots, but the meaning of the row and column operations must be separated. Row operations preserve rank but usually move the column space. Column operations preserve the column space itself. The number of pivots counts the independent directions that remain in the columns.

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

行列ぎょうれつmatrixの列れつcolumnは、出力空間しゅつりょくくうかんの中なかに置おかれた生成元せいせいげんである。すべての列れつcolumnが互たがいに別べつの方向ほうこうを提供ていきょうするとは限かぎらない。ある列れつcolumnが他ほかの列れつcolumnの線型結合せんけいけつごうlinear combinationなら、それは新あたらしい方向ほうこうを増ふやしていない。

階数かいすうrankは、列れつcolumnたちが実際じっさいに張はる方向ほうこうの数かずである。したがって、階数かいすうrankが小ちいさいとは、見みかけの列れつcolumnの本数ほんすうよりも情報じょうほうが少すくないということである。正方行列せいほうぎょうれつsquare matrixで階数かいすうrankが最大さいだいでなければ、ある入力方向にゅうりょくほうこうが 0 へ潰つぶれるため、逆行列ぎゃくぎょうれつinverse matrixは存在そんざいしない。

4Intuitive explanation

The columns of a matrix are generators in the output space. A column that is a linear combination of previous columns adds no new direction. Rank counts the number of genuinely independent directions spanned by the columns. For a square matrix, failure of full rank means some input direction is collapsed, so no inverse matrix exists.

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

5.11. 行基本変形ぎょうきほんへんけいelementary row operationが階数かいすうrankを保たもつ理由りゆう

行基本変形ぎょうきほんへんけいelementary row operationは、左ひだりから可逆行列かぎゃくぎょうれつinvertible matrix E を掛かけることと同おなじである。したがって変形後へんけいごの列空間れつくうかんcolumn spaceは

Col(EA)=E(Col(A))

である。E は可逆かぎゃくinvertibleな線型写像せんけいしゃぞうlinear mapなので、部分空間ぶぶんくうかんsubspaceの次元じげんdimensionを保たもつ。よって

rank(EA)=rank(A)

である。ただし、E(Col(A)) は一般いっぱんに Col(A) そのものではない。したがって、行基本変形ぎょうきほんへんけいelementary row operationで階数かいすうrankは計算けいさんできるが、もとの列空間れつくうかんcolumn spaceの基底きていを読よむときは、もとのピボット[pivot]pivot 列れつへ戻もどる必要ひつようがある。

5.22. 列基本変形れつきほんへんけいelementary column operationが列空間れつくうかんcolumn spaceを保たもつ理由りゆう

列基本変形れつきほんへんけいelementary column operationは、右みぎから可逆行列かぎゃくぎょうれつinvertible matrix F を掛かけることと同おなじである。AF の列れつcolumnは、A の列れつcolumnの線型結合せんけいけつごうlinear combinationであるため、

Col(AF)⊂Col(A)

である。一方いっぽう、F は可逆かぎゃくinvertibleなので A=(AF)F-1 であり、A の列れつcolumnも AF の列れつcolumnの線型結合せんけいけつごうlinear combinationである。したがって

Col(A)⊂Col(AF)

である。よって

Col(AF)=Col(A),rank(AF)=rank(A)

が成立せいりつする。

5.33. ピボットpivotの個数こすうが階数かいすうrankである理由りゆう

A を行基本変形ぎょうきほんへんけいelementary row operationで階段形かいだんけいechelon form U へ変形へんけいする。すでに示しめしたように、行基本変形ぎょうきほんへんけいelementary row operationは階数かいすうrankを保たもつため、

rank(A)=rank(U)

である。階段形かいだんけいechelon formでは、ピボットpivotを持もつ列れつcolumnが新あたらしい独立どくりつな方向ほうこうを提供ていきょうし、ピボットpivotを持もたない列れつcolumnは先さきのピボットpivot 列れつの線型結合せんけいけつごうlinear combinationになる。したがって、階数かいすうrankはピボットpivotの個数こすうである。

5.44. 行階数ぎょうかいすうrow rankと列階数れつかいすうcolumn rankが一致いっちする理由りゆう

階段形かいだんけいechelon form U の非零行ひぜろぎょうの個数こすうを r とする。U の非零行ひぜろぎょうは、先頭せんとうのピボットpivotの位置いちが互たがいに異ことなるため、一次独立いちじどくりつlinearly independentである。したがって U の行階数ぎょうかいすうrow rankは r である。

同時どうじに、U のピボットpivot 列れつは r 本ほんあり、前節ぜんせつより列階数れつかいすうcolumn rankも r である。行基本変形ぎょうきほんへんけいelementary row operationは行空間ぎょうくうかんrow spaceの生成系せいせいけいを取とり替かえるだけなので行階数ぎょうかいすうrow rankを保たもち、また階数かいすうrankも保たもつ。よって、もとの A でも

rowrank=columnrank

である。

5.55. 解空間かいくうかんとの関係かんけい

同次方程式どうじほうていしきhomogeneous equation Ax=0 を考かんがえる。簡約階段形かんやくかいだんけいreduced echelon formでピボットpivot 列れつが r 本ほんなら、自由変数じゆうへんすうfree variableは n-r 個こである。したがって、行列版ぎょうれつばんの核かくkernelについて

dimkerA=n-rank(A)

である。これは次つぎの講義こうぎで証明しょうめいする階数・退化次数定理ていりrank-nullity theoremの行列版ぎょうれつばんである。

5Precise explanation

5.11. Why row operations preserve rank

An elementary row operation is left multiplication by an invertible matrix E. Hence

Col(EA)=E(Col(A)).

Since E is an invertible linear map, it preserves dimension, so rank(EA)=rank(A). The column space itself may move, so row operations should not be used to read a concrete basis of the original column space without returning to the original pivot columns.

5.22. Why column operations preserve the column space

An elementary column operation is right multiplication by an invertible matrix F. The columns of AF are linear combinations of the columns of A, so Col(AF)⊂Col(A). Since A=(AF)F-1, the reverse inclusion also holds. Therefore

Col(AF)=Col(A),rank(AF)=rank(A).

5.33. Why pivots count rank

Row reduction preserves rank. In echelon form, pivot columns provide the independent directions, and non-pivot columns are linear combinations of pivot columns. Thus rank equals the number of pivots.

5.44. Row rank equals column rank

In echelon form, the number r of nonzero rows equals the number of pivots. The nonzero rows are linearly independent, so row rank is r. The pivot count also gives column rank r. Since row operations preserve both dimensions, row rank and column rank agree for the original matrix.

5.55. Relation to the solution space

For Ax=0, if there are r pivot columns among n variables, then there are n-r free variables. Hence the matrix-level kernel satisfies

dimkerA=n-rank(A).

This is the matrix version of the rank-nullity theorem proved in the next lecture.

6具体例ぐたいれい

A=(123246110)

を行基本変形ぎょうきほんへんけいで階段形かいだんけいへ変形へんけいする。

(123246110)⟶(1230000-1-3)⟶(10-3013000)

ピボットpivotは 2 個こである。したがって

rank(A)=2

である。もとの A の列空間れつくうかんcolumn spaceの基底きていbasisを取とるときは、簡約後かんやくごの列れつcolumnではなく、もとの A のピボット[pivot]pivot 列れつを選えらぶ。この例れいでは第だい 1 列れつと第だい 2 列れつが対応たいおうする。

また、未知数みちすうは 3 個こ、ピボットpivotは 2 個こなので、kerA の次元じげんdimensionは 1 である。

6Worked example

For

A=(123246110),

row reduction gives

(10-3013000).

There are two pivots, so rank(A)=2. To obtain a basis of the original column space, use the original pivot columns, not the reduced columns. Since there are three variables and two pivots, dimkerA=1.

7線型写像せんけいしゃぞうlinear mapへの一般化いっぱんか

ここまでの定義ていぎは、行列ぎょうれつそのものを主役しゅやくにした定義ていぎである。次つぎの講義こうぎでは、線型写像せんけいしゃぞうlinear map T:V→W に対たいして

rank(T)=dimimT,nullity(T)=dimkerT

と定義ていぎし直なおす。この一般化後いっぱんかごの定義ていぎは、基底きていを選えらんで表現行列ひょうげんぎょうれつrepresentation matrixを作つくると、ここでの行列版ぎょうれつばんの階数かいすうrankと一致いっちする。

data/lecture/math/linear-algebra/rank-and-nullity-of-linear-maps.lecture.n.md

7Generalization to linear maps

This lecture used the matrix-level definition. In the next lecture, rank is redefined for a linear map T:V→W by

rank(T)=dimimT,nullity(T)=dimkerT.

After bases are chosen, the generalized definition agrees with the matrix definition above.

data/lecture/math/linear-algebra/rank-and-nullity-of-linear-maps.lecture.n.md

8見分みわけ方かた

  • ピボットpivotの個数こすうを問とわれたら、階数かいすうrankを求もとめている。
  • 列空間列空間れつくうかんの具体的ぐたいてきな基底きていbasisを問とわれたら、行基本変形ぎょうきほんへんけいelementary row operationで位置いちを特定とくていし、もとの列れつcolumnへ戻もどる。
  • 列基本変形れつきほんへんけいelementary column operationは列空間れつくうかんcolumn spaceそのものを保たもつが、未知数みちすうunknownの座標ざひょうcoordinateの読よみ方かたを変かえる。
  • 正方行列せいほうぎょうれつsquare matrixで rank(A)=n なら、逆行列ぎゃくぎょうれつinverse matrixや行列式ぎょうれつしきdeterminantの判定はんていへ接続せつぞくする。

8How to recognize what to use

Pivot count is rank. For a basis of the original column space, row-reduce to locate pivot positions but return to the original columns. Column operations preserve the column space itself but change the coordinate reading of unknowns. For square matrices, full rank connects to inverse matrices and determinants.

9どこまで成立せいりつするか

この講義こうぎの階数かいすうrankは、有限個ゆうげんこの行ぎょうrowと列れつcolumnを持もつ行列ぎょうれつmatrixに対たいする定義ていぎである。線型写像せんけいしゃぞうlinear mapや抽象的ちゅうしょうてきなベクトル空間くうかんvector spaceへ移うつると、像ぞうimageの次元じげんdimensionとして再定義さいていぎする方ほうが自然しぜんになる。

また、行列式ぎょうれつしきdeterminantは正方行列せいほうぎょうれつsquare matrixにだけ定義ていぎするが、階数かいすうrankは長方行列ちょうほうぎょうれつrectangular matrixにも定義ていぎできる。この違ちがいは、可逆性かぎゃくせい・片側逆かたがわぎゃく・擬似逆行列ぎじぎゃくぎょうれつpseudoinverse matrixを学まなぶときに重要じゅうようである。

9Scope

This lecture defines rank for finite matrices. For abstract linear maps, the natural definition is image dimension. Determinants belong to square matrices, but rank is defined for rectangular matrices as well.

10最終形さいしゅうけい

[PARSE ERROR: Undefined("Command(\"boxed\")")]rank(A)=dimCol(A)
[PARSE ERROR: Undefined("Command(\"boxed\")")]rank(EA)=rank(A),rank(AF)=rank(A)
[PARSE ERROR: Undefined("Command(\"boxed\")")]rowrank=columnrank
[PARSE ERROR: Undefined("Command(\"boxed\")")]dimkerA=n-rank(A)

10Final forms

[PARSE ERROR: Undefined("Command(\"boxed\")")]rank(A)=dimCol(A)
[PARSE ERROR: Undefined("Command(\"boxed\")")]rank(EA)=rank(A),rank(AF)=rank(A)
[PARSE ERROR: Undefined("Command(\"boxed\")")]rowrank=columnrank
[PARSE ERROR: Undefined("Command(\"boxed\")")]dimkerA=n-rank(A)

11一言ひとことでいうと

  • 行列版ぎょうれつばんの階数かいすうrankは、列空間れつくうかんcolumn spaceの次元じげんdimensionである。
  • ピボットpivotは、その次元じげんdimensionを計算けいさんするための印しるしである。
  • 一般化後いっぱんかごには、線型写像せんけいしゃぞうlinear mapの像ぞうimageの次元じげんdimensionとして定義ていぎし直なおす。

12演習えんしゅうリンク

data/exercise/math/linear-algebra/vector-spaces-bases-and-rank.exercise.n.md

11In one sentence

  • Matrix rank is the dimension of the column space.
  • Pivots compute that dimension.
  • The next lecture generalizes rank to image dimension for linear maps.

12Exercise links

data/exercise/math/linear-algebra/vector-spaces-bases-and-rank.exercise.n.md
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
タブを全て閉じる