第11章連立方程式と連立不等式Systems of Equations and Inequalities
11.5 Matrices and Matrix Operations11.5 行列と行列の演算
Learning Objectives 学習目標
In this section, you will:
この節を終えると、次のことができるようになる。
• Find the sum and difference of two matrices.• Find scalar multiples of a matrix.• Find the product of two matrices.
・二つの行列の和と差を求める。・行列のスカラー倍を求める。・二つの行列の積を求める。

Two club soccer teams, the Wildcats and the Mud Cats, are hoping to obtain new equipment for an upcoming season. Table 1 shows the needs of both teams.
二つのクラブのサッカー隊、ワイルドキャッツとマッドキャッツが、次の季に向けて新しい用具を手に入れたいと思っている。表1に両隊の必要数を示す。
| Wildcatsワイルドキャッツ | Mud Catsマッドキャッツ | |
|---|---|---|
| Goalsゴール | 6 | 10 |
| Ballsボール | 30 | 24 |
| Jerseysユニフォーム | 14 | 20 |
A goal costs $300; a ball costs $10; and a jersey costs $30. How can we find the total cost for the equipment needed for each team? In this section, we discover a method in which the data in the soccer equipment table can be displayed and used for calculating other information. Then, we will be able to calculate the cost of the equipment.
ゴールは1台300ドル、ボールは1個10ドル、ユニフォームは1着30ドルである。各隊に必要な用具の総費用はどう求めればよいか。この節では、サッカーの用具の表の資料を並べて示し、ほかの情報を計算するのに使う方法を見つける。そうすれば用具の費用が計算できる。
Finding the Sum and Difference of Two Matrices二つの行列の和と差を求める
To solve a problem like the one described for the soccer teams, we can use a matrix, which is a rectangular array of numbers. A row in a matrix is a set of numbers that are aligned horizontally. A column in a matrix is a set of numbers that are aligned vertically. Each number is an entry, sometimes called an element, of the matrix. Matrices (plural) are enclosed in [ ] or ( ), and are usually named with capital letters. For example, three matrices named and are shown below.
サッカー隊について述べたような問題を解くには、数の長方形の並びである行列が使える。行列の行とは、横に並んだ数の組である。行列の列とは、縦に並んだ数の組である。各数はその行列の成分で、要素ともいう。行列(複数)は [ ] か ( ) で囲み、ふつう大文字で名を付ける。たとえば、 と という名の三つの行列を下に示す。
Describing Matrices行列を述べる
A matrix is often referred to by its size or dimensions: indicating rows and columns. Matrix entries are defined first by row and then by column. For example, to locate the entry in matrix identified as we look for the entry in row column In matrix shown below, the entry in row 2, column 3 is
行列はしばしば、その大きさすなわち型で呼ばれる。 は 行 列を示す。行列の成分は、まず行、次に列で定める。たとえば、行列 の と呼ばれる成分の場所を知るには、 行 列の成分を見る。下に示す行列 では、2行3列の成分は である。
A square matrix is a matrix with dimensions meaning that it has the same number of rows as columns. The matrix above is an example of a square matrix.
正方行列とは、型が の行列、すなわち行の数と列の数が同じものである。上の 行列は正方行列の例である。
A row matrix is a matrix consisting of one row with dimensions
行行列とは、型が の一行からなる行列である。
A column matrix is a matrix consisting of one column with dimensions
列行列とは、型が の一列からなる行列である。
A matrix may be used to represent a system of equations. In these cases, the numbers represent the coefficients of the variables in the system. Matrices often make solving systems of equations easier because they are not encumbered with variables. We will investigate this idea further in the next section, but first we will look at basic matrix operations.
行列は連立方程式を表すのに使える。その場合、数はこの組の変数の係数を表す。行列は変数に煩わされないので、しばしば連立方程式を解くのを楽にする。この考えは次の節でさらに調べるが、まず行列の基本の演算を見る。
Matrices 行列
A matrix is a rectangular array of numbers that is usually named by a capital letter: and so on. Each entry in a matrix is referred to as such that represents the row and represents the column. Matrices are often referred to by their dimensions: indicating rows and columns.
行列とは数の長方形の並びであり、ふつう大文字 などで名を付ける。行列の各成分は と呼ばれ、 が行、 が列を表す。行列はしばしばその型で呼ばれる。 は 行 列を示す。
Example 1例1
Finding the Dimensions of the Given Matrix and Locating Entries与えられた行列の型を求め、成分の場所を知る
Given matrix
行列 が与えられたとき、
ⓐWhat are the dimensions of matrix ⓑWhat are the entries at and
ⓐ行列 の型はいくらか。ⓑ と の成分はいくらか。
Solution 解答
ⓐThe dimensions are because there are three rows and three columns.ⓑEntry is the number at row 3, column 1, which is 3. The entry is the number at row 2, column 2, which is 4. Remember, the row comes first, then the column.
ⓐ3行3列なので、型は である。ⓑ成分 は3行1列の数で、3である。成分 は2行2列の数で、4である。行が先、次が列であることを覚えておけ。
Adding and Subtracting Matrices行列の足し算と引き算
We use matrices to list data or to represent systems. Because the entries are numbers, we can perform operations on matrices. We add or subtract matrices by adding or subtracting corresponding entries.
行列は資料を並べたり、組を表したりするのに使う。成分は数なので、行列に演算を行える。行列の足し引きは、対応する成分どうしを足し引きして行う。
In order to do this, the entries must correspond. Therefore, addition and subtraction of matrices is only possible when the matrices have the same dimensions. We can add or subtract a matrix and another matrix, but we cannot add or subtract a matrix and a matrix because some entries in one matrix will not have a corresponding entry in the other matrix.
そのためには、成分が対応していなければならない。したがって、行列の足し算と引き算は、行列の型が同じときにかぎってできる。 行列と別の 行列は足し引きできるが、 行列と 行列は足し引きできない。一方の行列のいくつかの成分に、もう一方の行列で対応する成分が無いからである。
Adding and Subtracting Matrices 行列の加法と減法
Given matrices and of like dimensions, addition and subtraction of and will produce matrix or
matrix of the same dimension.
型が同じ行列 と が与えられたとき、 と の足し引きは、同じ型の行列 や行列 を生む。
Matrix addition is commutative.
行列の足し算は交換できる。
It is also associative.
結合もできる。
Example 2例2
Finding the Sum of Matrices行列の和を求める
Find the sum of and given
次が与えられたとき、 と の和を求めよ。
Solution 解答
Add corresponding entries.
対応する成分どうしを足す。
Example 3例3
Adding Matrix A and Matrix B行列Aと行列Bを足す
Find the sum of and
と の和を求めよ。
Solution 解答
Add corresponding entries. Add the entry in row 1, column 1, of matrix to the entry in row 1, column 1, of Continue the pattern until all entries have been added.
対応する成分どうしを足す。行列 の1行1列の成分 を、 の1行1列の成分 に足す。すべての成分を足し終えるまで同じように続ける。
Example 4例4
Finding the Difference of Two Matrices二つの行列の差を求める
Find the difference of and
と の差を求めよ。
Solution 解答
We subtract the corresponding entries of each matrix.
各行列の対応する成分どうしを引く。
Example 5例5
Finding the Sum and Difference of Two 3 x 3 Matrices二つの 3 × 3 行列の和と差を求める
Given and
と が与えられたとき、
ⓐFind the sum.ⓑFind the difference.
ⓐ和を求めよ。ⓑ差を求めよ。
Solution 解答
ⓐAdd the corresponding entries. ⓑSubtract the corresponding entries.
ⓐ対応する成分どうしを足す。ⓑ対応する成分どうしを引く。
Try It #1やってみよう1
Add matrix and matrix
行列 と行列 を足せ。
Finding Scalar Multiples of a Matrix行列のスカラー倍を求める
Besides adding and subtracting whole matrices, there are many situations in which we need to multiply a matrix by a constant called a scalar. Recall that a scalar is a real number quantity that has magnitude, but not direction. For example, time, temperature, and distance are scalar quantities. The process of scalar multiplication involves multiplying each entry in a matrix by a scalar. A scalar multiple is any entry of a matrix that results from scalar multiplication.
行列全体を足し引きするほかに、行列にスカラーという定数を掛ける必要がある場面は多い。スカラーとは大きさを持つが向きを持たない実数の量であることを思い出せ。たとえば時間、温度、距離はスカラーの量である。スカラー倍の手順では、行列の各成分にスカラーを掛ける。スカラー倍とは、スカラー倍で得られる行列の成分すべてである。
Consider a real-world scenario in which a university needs to add to its inventory of computers, computer tables, and chairs in two of the campus labs due to increased enrollment. They estimate that 15% more equipment is needed in both labs. The school’s current inventory is displayed in Table 2.
在籍者が増えたため、ある大学が構内の二つの実験室で計算機・計算機の机・椅子の在庫を増やす必要がある、という現実の筋書きを考えよ。どちらの実験室でも用具が15%多く要ると見積もっている。この学校の今の在庫を表2に示す。
| Lab A実験室A | Lab B実験室B | |
|---|---|---|
| Computers計算機 | 15 | 27 |
| Computer Tables計算機の机 | 16 | 34 |
| Chairs椅子 | 16 | 34 |
Converting the data to a matrix, we have
この資料を行列に直すと、次を得る。
To calculate how much computer equipment will be needed, we multiply all entries in matrix by 0.15.
計算機の用具がどれだけ要るかを計算するため、行列 のすべての成分に0.15を掛ける。
We must round up to the next integer, so the amount of new equipment needed is
次の整数へ切り上げねばならないので、新たに要る用具の数は次である。
Adding the two matrices as shown below, we see the new inventory amounts.
下に示すとおり二つの行列を足すと、新しい在庫の数が分かる。
This means
これは次を意味する。
Thus, Lab A will have 18 computers, 19 computer tables, and 19 chairs; Lab B will have 32 computers, 40 computer tables, and 40 chairs.
よって、実験室Aには計算機18台、計算機の机19台、椅子19脚が置かれ、実験室Bには計算機32台、計算機の机40台、椅子40脚が置かれる。
Scalar Multiplication スカラー倍
Scalar multiplication involves finding the product of a constant by each entry in the matrix. Given
スカラー倍とは、定数と行列の各成分との積を求めることである。次が与えられたとき、
the scalar multiple is
スカラー倍 は次である。
Scalar multiplication is distributive. For the matrices and with scalars and
スカラー倍は分配できる。行列 と 、スカラー と について、
Example 6例6
Multiplying the Matrix by a Scalar行列にスカラーを掛ける
Multiply matrix by the scalar 3.
行列 にスカラー3を掛けよ。
Solution 解答
Multiply each entry in by the scalar 3.
の各成分にスカラー3を掛ける。
Try It #2やってみよう2
Given matrix find where
行列 が与えられたとき、 を求めよ。ここで
Example 7例7
Finding the Sum of Scalar Multiplesスカラー倍の和を求める
Find the sum
和 を求めよ。
Solution 解答
First, find then
まず を求め、次に を求める。
Now, add
では を足す。
Finding the Product of Two Matrices二つの行列の積を求める
In addition to multiplying a matrix by a scalar, we can multiply two matrices. Finding the product of two matrices is only possible when the inner dimensions are the same, meaning that the number of columns of the first matrix is equal to the number of rows of the second matrix. If is an matrix and is an matrix, then the product matrix is an matrix. For example, the product is possible because the number of columns in is the same as the number of rows in If the inner dimensions do not match, the product is not defined.
行列にスカラーを掛けるほかに、二つの行列を掛けることもできる。二つの行列の積が求まるのは、内側の型が同じとき、すなわち一つ目の行列の列の数が二つ目の行列の行の数に等しいときだけである。 が 行列、 が 行列なら、積の行列 は 行列である。たとえば、積 は求められる。 の列の数が の行の数と同じだからである。内側の型が合わないなら、積は定められない。

We multiply entries of with entries of according to a specific pattern as outlined below. The process of matrix multiplication becomes clearer when working a problem with real numbers.
下に述べる決まった型に従って、 の成分と の成分を掛ける。行列の掛け算の手順は、実際の数で問題を解いてみるとはっきりする。
To obtain the entries in row of we multiply the entries in row of by column in and add. For example, given matrices and where the dimensions of are and the dimensions of are the product of will be a matrix.
の 行の成分を得るには、 の 行の成分に の 列を掛けて足す。たとえば、 の型が 、 の型が である行列 と が与えられたとき、 の積は 行列になる。
Multiply and add as follows to obtain the first entry of the product matrix
次のように掛けて足し、積の行列 の最初の成分を得る。
1. To obtain the entry in row 1, column 1 of multiply the first row in by the first column in and add. 2. To obtain the entry in row 1, column 2 of multiply the first row of by the second column in and add. 3. To obtain the entry in row 1, column 3 of multiply the first row of by the third column in and add.
1. の1行1列の成分を得るには、 の1行目に の1列目を掛けて足す。2. の1行2列の成分を得るには、 の1行目に の2列目を掛けて足す。3. の1行3列の成分を得るには、 の1行目に の3列目を掛けて足す。
We proceed the same way to obtain the second row of In other words, row 2 of times column 1 of row 2 of times column 2 of row 2 of times column 3 of When complete, the product matrix will be
の2行目も同じように進めて得る。言い換えれば、 の2行目に の1列目、 の2行目に の2列目、 の2行目に の3列目である。終わると、積の行列は次になる。
Properties of Matrix Multiplication 行列の乗法の性質
For the matrices and the following properties hold.
行列 と について、次の性質が成り立つ。
• Matrix multiplication is associative: • Matrix multiplication is distributive:
・行列の掛け算は結合できる。・行列の掛け算は分配できる。
Note that matrix multiplication is not commutative.
行列の掛け算は交換できないことに注意せよ。
Example 8例8
Multiplying Two Matrices二つの行列を掛ける
Multiply matrix and matrix
行列 と行列 を掛けよ。
Solution 解答
First, we check the dimensions of the matrices. Matrix has dimensions and matrix has dimensions The inner dimensions are the same so we can perform the multiplication. The product will have the dimensions
まず、行列の型を確かめる。行列 の型は 、行列 の型は である。内側の型が同じなので掛け算ができる。積の型は になる。
We perform the operations outlined previously.
先に述べた演算を行う。

Example 9例9
Multiplying Two Matrices二つの行列を掛ける
Given and
と が与えられたとき、
ⓐFind ⓑFind
ⓐ を求めよ。ⓑ を求めよ。
Solution 解答
ⓐAs the dimensions of are and the dimensions of are these matrices can be multiplied together because the number of columns in matches the number of rows in The resulting product will be a matrix, the number of rows in by the number of columns in ⓑThe dimensions of are and the dimensions of are The inner dimensions match so the product is defined and will be a matrix.
ⓐ の型が 、 の型が なので、 の列の数が の行の数と合い、この行列どうしは掛けられる。できる積は 行列、すなわち の行の数 × の列の数になる。ⓑ の型は 、 の型は である。内側の型が合うので積は定められ、 行列になる。
Analysis 考察
Notice that the products and are not equal.
積 と が等しくないことに注意せよ。
This illustrates the fact that matrix multiplication is not commutative.
これは、行列の掛け算が交換できないことを示している。
Q&A 疑問と答え
Is it possible for AB to be defined but not BA?
AB は定められるが BA は定められない、ということはありうるか。
Yes, consider a matrix A with dimension and matrix B with dimension For the product AB the inner dimensions are 4 and the product is defined, but for the product BA the inner dimensions are 2 and 3 so the product is undefined.
ありうる。型 の行列Aと型 の行列Bを考えよ。積 AB では内側の型が4で積は定められるが、積 BA では内側の型が2と3なので積は定められない。
Example 10例10
Using Matrices in Real-World Problems現実世界の問題で行列を使う
Let’s return to the problem presented at the opening of this section. We have Table 3, representing the equipment needs of two soccer teams.
この節の初めに出した問題に戻ろう。表3に、二つのサッカー隊の用具の必要数を示す。
| Wildcatsワイルドキャッツ | Mud Catsマッドキャッツ | |
|---|---|---|
| Goalsゴール | 6 | 10 |
| Ballsボール | 30 | 24 |
| Jerseysユニフォーム | 14 | 20 |
We are also given the prices of the equipment, as shown in Table 4.
表4に示すとおり、用具の値段も与えられている。
| Goalゴール | $300 |
| Ballボール | $10 |
| Jerseyユニフォーム | $30 |
We will convert the data to matrices. Thus, the equipment need matrix is written as
この資料を行列に直す。よって、用具の必要数の行列は次のように書ける。
The cost matrix is written as
費用の行列は次のように書ける。
We perform matrix multiplication to obtain costs for the equipment.
行列の掛け算を行って用具の費用を得る。
The total cost for equipment for the Wildcats is $2,520, and the total cost for equipment for the Mud Cats is $3,840.
ワイルドキャッツの用具の総費用は2,520ドル、マッドキャッツの用具の総費用は3,840ドルである。
How To 手順
Given a matrix operation, evaluate using a calculator.
行列の演算が与えられたとき、電卓を使って値を求める。
1. Save each matrix as a matrix variable 2. Enter the operation into the calculator, calling up each matrix variable as needed.3. If the operation is defined, the calculator will present the solution matrix; if the operation is undefined, it will display an error message.
1. 各行列を行列の変数 として保存する。2. 必要に応じて各行列の変数を呼び出しながら、演算を電卓に入れる。3. その演算が定められているなら電卓は答えの行列を示す。定められていないなら誤りの知らせを表示する。
Example 11例11
Using a Calculator to Perform Matrix Operations電卓を使って行列の演算を行う
Find given
次が与えられたとき、 を求めよ。
Solution 解答
On the matrix page of the calculator, we enter matrix above as the matrix variable matrix above as the matrix variable and matrix above as the matrix variable
電卓の行列の画面で、上の行列 を行列の変数 として、上の行列 を行列の変数 として、上の行列 を行列の変数 として入れる。
On the home screen of the calculator, we type in the problem and call up each matrix variable as needed.
電卓の最初の画面で問題を打ち込み、必要に応じて各行列の変数を呼び出す。
The calculator gives us the following matrix.
電卓は次の行列を与える。
Media 教材
Access these online resources for additional instruction and practice with matrices and matrix operations.
行列と行列の演算についての説明と練習をさらに求めるなら、次のオンライン教材にあたるとよい。
• Dimensions of a Matrix• Matrix Addition and Subtraction• Matrix Operations• Matrix Multiplication
・行列の型・行列の足し算と引き算・行列の演算・行列の掛け算
Verbal言葉で答える問題
2. Can we multiply any column matrix by any row matrix? Explain why or why not.
2. どの列行列も、どの行行列とも掛けられるか。なぜそうか、あるいはなぜそうでないかを説明せよ。
4. Can any two matrices of the same size be multiplied? If so, explain why, and if not, explain why not and give an example of two matrices of the same size that cannot be multiplied together.
4. 同じ大きさの二つの行列はどれも掛けられるか。できるならその理由を説明し、できないならその理由を説明して、掛け合わせられない同じ大きさの二つの行列の例を挙げよ。
Algebraic代数の問題
For the following exercises, use the matrices below and perform the matrix addition or subtraction. Indicate if the operation is undefined.
次の各問について、下の行列を使って行列の足し算または引き算を行え。その演算が定められていないなら、そう示せ。
For the following exercises, use the matrices below to perform scalar multiplication.
次の各問について、下の行列を使ってスカラー倍を行え。
For the following exercises, use the matrices below to perform matrix multiplication.
次の各問について、下の行列を使って行列の掛け算を行え。
For the following exercises, use the matrices below to perform the indicated operation if possible. If not possible, explain why the operation cannot be performed.
次の各問について、下の行列を使い、できるなら示された演算を行え。できないなら、なぜその演算ができないかを説明せよ。
For the following exercises, use the matrices below to perform the indicated operation if possible. If not possible, explain why the operation cannot be performed. (Hint: )
次の各問について、下の行列を使い、できるなら示された演算を行え。できないなら、なぜその演算ができないかを説明せよ。(手がかり: )
For the following exercises, use the matrices below to perform the indicated operation if possible. If not possible, explain why the operation cannot be performed. (Hint: )
次の各問について、下の行列を使い、できるなら示された演算を行え。できないなら、なぜその演算ができないかを説明せよ。(手がかり: )
Technology機器を使う問題
For the following exercises, use the matrices below to perform the indicated operation if possible. If not possible, explain why the operation cannot be performed. Use a calculator to verify your solution.
次の各問について、下の行列を使い、できるなら示された演算を行え。できないなら、なぜその演算ができないかを説明せよ。電卓を使って答えを確かめよ。