markdown
Matrix calculation and linear transformations - Basic Exercisesmd 6852656
exercise/math/linear-algebra/matrix-computation-and-linear-transformations.exercise.n.md

Matrix calculation行列計算ぎょうれつけいさん and linear transformations線型変換せんけいへんかん - Basic Exercises

date2026-07-14document_iddoc_c8d56cb4911f30c6aa75792c7319d65ddescription行列の和・積・転置・単位行列・零行列を、サイズ条件と線型変換の意味から確認する基本演習である。prerequisites線型性の基本 / 行列の基本演算 / 行列の積の意味 / 単位行列・零行列・転置の基本 / 線型写像と行列type問題演習content_typeexercisestatusactiverelateddata/lecture/math/linear-algebra/linearity-basics.lecture.n.md / data/lecture/math/linear-algebra/matrix-operations.lecture.n.md / data/lecture/math/linear-algebra/meaning-of-matrix-multiplication.lecture.n.md / data/lecture/math/linear-algebra/identity-zero-and-transpose-matrices.lecture.n.md / data/lecture/math/linear-algebra/complex-inner-products-and-unitary-matrices.lecture.n.md / data/lecture/math/linear-algebra/linear-maps-and-matrices.lecture.n.md
mathlinear-algebraexercisematrixlinear-map
data/lecture/math/linear-algebra/linearity-basics.lecture.n.md data/lecture/math/linear-algebra/matrix-operations.lecture.n.md data/lecture/math/linear-algebra/meaning-of-matrix-multiplication.lecture.n.md data/lecture/math/linear-algebra/identity-zero-and-transpose-matrices.lecture.n.md data/lecture/math/linear-algebra/complex-inner-products-and-unitary-matrices.lecture.n.md

1Exercise plan

Before computing with a matrix行列ぎょうれつ, check the size conditionサイズ条件じょうけん. The product AB means "first B, then A," so changing the order順序じゅんじょ changes the meaning and often the result.


Before multiplying matrices, check dimensions and meaning. The product AB means first applying B and then applying A, so the order is part of the statement. The columns of a matrix are the images of the standard basis vectors, which is often the fastest way to identify the associated linear transformation.

For inverse and transpose questions, keep the structural rules visible: (AB)-1=B-1A-1, (AB)T=BTAT, and a map is invertible only when it is one-to-one and onto in the square finite-dimensional setting. If a calculation fails by dimension mismatch, that is not a minor arithmetic error; it means the proposed composition is not defined.

Order note: the detailed computation of inverse matrices is treated later. In this exercise, we use only the definition: for a square matrix A, an inverse matrix逆行列ぎゃくぎょうれつ is a matrix satisfying AA-1=A-1A=I.

data/lecture/math/linear-algebra/inverse-matrix-basics.lecture.n.md

2Check problem: linearity線型性せんけいせい

Define T:R2R2 by

T(xy)=(x+y2x-y).

Show linearity by checking additivity and homogeneity.

2.1Answer example

For u=(x1,y1)T and v=(x2,y2)T,

T(u+v)=(x1+x2+y1+y22(x1+x2)-(y1+y2))=T(u)+T(v).

For a scalar c,

T(cu)=(cx1+cy12cx1-cy1)=cT(u).

Therefore T is a linear map線型写像せんけいしゃぞう.

2.2Explanation

The proof uses arbitrary vectors and scalars, not a few examples.


The additivity check compares the two full expressions

T(u+v)

and

T(u)+T(v)

for arbitrary u=(x1,y1)T and v=(x2,y2)T, and the two components agree term by term. The homogeneity check also uses an arbitrary scalar c. This is why the argument is a proof from the definition定義ていぎ, rather than verification on a few numerical examples.

3Problem 1

For

A=(120-134),B=(2015-12),

find A+B and 2A-B, and explain why they are defined.

3.1Answer example

Both are 2×3 matrices, so addition and subtraction are defined.

A+B=(321426),2A-B=(04-1-776).

3.2Explanation

Matrix sums are entrywise, so row and column counts must match.


4Problem 2

For

A=(1201),B=(2013),

compute AB and BA and explain the difference.

4.1Answer example

AB=(4613),BA=(2415).

Thus ABBA.

4.2Explanation

AB applies B first and then A. BA reverses the order.


The product AB means that the transformation represented by B is applied first and the transformation represented by A is applied second. Reversing the order changes the geometry: shearing and stretching in different orders generally give different outputs.

5Problem 3

A linear transformation T:R2R3 satisfies

T(e1)=(102),T(e2)=(-131).

Find its representation matrix表現行列ひょうげんぎょうれつ and compute T(4,-2)T.

5.1Answer example

The representation matrix is

A=(1-10321).

Then

T(4-2)=A(4-2)=(6-66).

5.2Explanation

The columns of a matrix are the images of the standard basis vectors, and matrix multiplication is a linear combination of columns.


6Problem 4

Let A be 2×3 and B be 3×4. Decide whether AB, BA, ATB, and BAT are defined.

6.1Answer example

AB is defined and has size 2×4. BA is not defined. Since AT is 3×2, ATB is not defined. BAT is also not defined.

6.2Explanation

For a product, the number of columns of the left matrix must equal the number of rows of the right matrix. Recheck sizes after transposition.


7Problem 5

Let A be m×n. Explain AIn=A and ImA=A from sizes and transformations. Also state what A0 and 0A represent.

7.1Answer example

In is the identity on Rn and Im is the identity on Rm. Thus AIn does nothing before A, and ImA does nothing after A. Both equal A.

Multiplying by a zero matrix of suitable size sends everything to zero.

7.2Explanation

The identity matrix preserves information; the zero matrix collapses all input differences. Therefore composing with an identity matrix leaves the transformation unchanged, while composing with a zero matrix can drastically change later invariants such as rank and kernel. Rank and kernel are later vocabulary here; in this problem, the main distinction is that identity keeps the transformation and zero destroys input information.


8Supplementary problems: operations and transpose

8.1Problem 6

Why is the sum of two 2×3 matrices defined?

8.2Answer example

Matrix addition is entrywise, so the row and column counts must match; both are 2×3.

8.3Problem 7

For A=(1023-14), compute -2A.

8.4Answer example

-2A=(-20-4-62-8).

8.5Problem 8

Compare the sizes of (12) and (12).

8.6Answer example

The first is 1×2 and the second is 2×1.

8.7Problem 9

What is the size of the product of a 2×3 matrix and a 3×4 matrix?

8.8Answer example

The product is defined and has size 2×4.

8.9Problem 10

For A=(1021) and x=(3,4)T, compute Ax.

8.10Answer example

Ax=(310).

8.11Problem 11

Give an example where matrix multiplication is not commutative可換かかん.

8.12Answer example

For A=(1101) and B=(2001),

AB=(2101),BA=(2201).

8.13Problem 12

Find AT for A=(0123).

8.14Answer example

AT=(0213).

8.15Problem 13

For I2A=A to hold, what number of rows must A have?

8.16Answer example

Since I2 is 2×2, A must have 2 rows.

8.17Problem 14

Why does order reverse in (AB)T=BTAT?

8.18Answer example

AB means first B and then A. Transposition swaps row and column roles, so the composition is read back in the reversed order.

8.19Problem 15

Preview note: rank, row space, and column space are developed in the later rank lectures and exercises. Read this problem as an advanced check of how transpose exchanges rows and columns.

Explain why rank(A)=rank(AT).

8.20Answer example

The row space of A corresponds to the column space of AT, and row rank equals column rank. Therefore rank(A)=rank(AT).


8.21Problem 16

Preview note: elementary row operations行基本変形ぎょうきほんへんけい and elementary column operations列基本変形れつきほんへんけい are treated systematically in later exercises on elementary operations. This problem only checks that transpose転置てんち converts a row operation into the corresponding column operation.

For A=(1234), apply R2R2+3R1 to get B. What column operation changes AT into BT?

8.22Answer example

B=(12610),BT=(16210).

Since AT=(1324), the operation is C2C2+3C1.

8.23Problem 17

For

A=(1102),B=(2011),x=(34),

compute A(Bx) and (AB)x.

8.24Answer example

Bx=(67), so A(Bx)=(1314). Also AB=(3122), so (AB)x=(1314).

8.25Problem 18

For

A=(1201),B=(1324)=[b1b2],

confirm that the columns of AB are Ab1,Ab2.

8.26Answer example

AB=(51124),Ab1=(52),Ab2=(114).

Thus AB=[Ab1Ab2].


10Proof exercise: matrix products and inverse matrices

10.1Problem

Prove (AB)x=A(Bx) using the column viewpoint. Also prove that an inverse matrix, if it exists, is unique.

10.2Answer

Let the columns of B be b1,,bp. Then Bx=xjbj. By linearity,

A(Bx)=xjAbj.

The j-th column of AB is Abj, so (AB)x gives the same expression.

If B,C are both inverses of A, then

B=BI=B(AC)=(BA)C=IC=C.

10.3Explanation

Matrix product is composition of linear maps, and an inverse matrix is the unique map that undoes the composition.

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