Skip to content

Commit 9168ecb

Browse files
authored
Merge pull request #140 from RobAltena/master
[ja] Linear algebra
2 parents bc9000f + 94d7297 commit 9168ecb

File tree

1 file changed

+342
-0
lines changed

1 file changed

+342
-0
lines changed

ja/refresher-linear-algebra.md

+342
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,342 @@
1+
**1. Linear Algebra and Calculus refresher**
2+
3+
⟶
4+
線形代数と微積分の復習
5+
<br>
6+
7+
**2. General notations**
8+
9+
&#10230;
10+
一般表記
11+
<br>
12+
13+
**3. Definitions**
14+
15+
&#10230;
16+
定義
17+
<br>
18+
19+
**4. Vector ― We note x∈Rn a vector with n entries, where xi∈R is the ith entry:**
20+
21+
&#10230;
22+
ベクトル - x∈Rn は n個の要素を持つベクトルを表し、xi∈Rはi番目の要素を表します。
23+
<br>
24+
25+
**5. Matrix ― We note A∈Rm×n a matrix with m rows and n columns, where Ai,j∈R is the entry located in the ith row and jth column:**
26+
27+
&#10230;
28+
行列 - m行n列の行列をA∈Rm×nと表記し、Ai、j∈Rは i行目のj列目の要素を指します。
29+
<br>
30+
31+
**6. Remark: the vector x defined above can be viewed as a n×1 matrix and is more particularly called a column-vector.**
32+
33+
&#10230;
34+
備考:上記で定義されたベクトルxはn×1の行列と見なすことができ、列ベクトルと呼ばれます。
35+
<br>
36+
37+
**7. Main matrices**
38+
39+
&#10230;
40+
主な行列の種類
41+
<br>
42+
43+
**8. Identity matrix ― The identity matrix I∈Rn×n is a square matrix with ones in its diagonal and zero everywhere else:**
44+
45+
&#10230;
46+
単位行列 - 単位行列I∈Rn×nは、対角成分に 1 が並び、他は全て 0 となる正方行列です。
47+
<br>
48+
49+
**9. Remark: for all matrices A∈Rn×n, we have A×I=I×A=A.**
50+
51+
&#10230;
52+
備考:すべての行列A∈Rn×nに対して、A×I = I×A = Aとなります。
53+
<br>
54+
55+
**10. Diagonal matrix ― A diagonal matrix D∈Rn×n is a square matrix with nonzero values in its diagonal and zero everywhere else:**
56+
57+
&#10230;
58+
対角行列 - 対角行列D∈Rn×nは、対角成分の値がゼロ以外で、それ以外はゼロである正方行列です。
59+
<br>
60+
61+
**11. Remark: we also note D as diag(d1,...,dn).**
62+
63+
&#10230;
64+
備考:Dをdiag(d 1、...、d n)とも表記します。
65+
<br>
66+
67+
**12. Matrix operations**
68+
69+
&#10230;
70+
行列演算
71+
<br>
72+
73+
**13. Multiplication**
74+
75+
&#10230;
76+
行列乗算
77+
<br>
78+
79+
**14. Vector-vector ― There are two types of vector-vector products:**
80+
81+
&#10230;
82+
ベクトル-ベクトル - ベクトル-ベクトル積には2種類あります。
83+
<br>
84+
85+
**15. inner product: for x,y∈Rn, we have:**
86+
87+
&#10230;
88+
内積: x、y∈Rnに対して、内積の定義は下記の通りです:
89+
<br>
90+
91+
**16. outer product: for x∈Rm,y∈Rn, we have:**
92+
93+
&#10230;
94+
外積: x∈Rm,y∈Rnに対して、外積の定義は下記の通りです:
95+
<br>
96+
97+
**17. Matrix-vector ― The product of matrix A∈Rm×n and vector x∈Rn is a vector of size Rn, such that:**
98+
99+
&#10230;
100+
行列-ベクトル - 行列A∈Rm×nとベクトルx∈Rnの積は以下の条件を満たすようなサイズRnのベクトルです。
101+
<br>
102+
103+
**18. where aTr,i are the vector rows and ac,j are the vector columns of A, and xi are the entries of x.**
104+
105+
&#10230;
106+
上記 aTr、iはAの行ベクトルで、ac、jはAの列ベクトルです。 xiはxの要素です。
107+
<br>
108+
109+
**19. Matrix-matrix ― The product of matrices A∈Rm×n and B∈Rn×p is a matrix of size Rn×p, such that:**
110+
111+
&#10230;
112+
行列-行列 - 行列A∈Rm×nとB∈Rn×pの積は以下の条件を満たすようなサイズRm×pの行列です。 (There is a typo in the original: Rn×p)
113+
<br>
114+
115+
**20. where aTr,i,bTr,i are the vector rows and ac,j,bc,j are the vector columns of A and B respectively**
116+
117+
&#10230;
118+
aTr,i、bTr,iはAとBの行ベクトルで ac,j、bc,jはAとBの列ベクトルです。
119+
<br>
120+
121+
**21. Other operations**
122+
123+
&#10230;
124+
その他の演算
125+
<br>
126+
127+
**22. Transpose ― The transpose of a matrix A∈Rm×n, noted AT, is such that its entries are flipped:**
128+
129+
&#10230;
130+
転置 ― A∈Rm×nの転置行列はATと表記し、Aの行列要素が交換した行列です。
131+
<br>
132+
133+
**23. Remark: for matrices A,B, we have (AB)T=BTAT**
134+
135+
&#10230;
136+
備考: 行列AとBの場合、(AB)T = BTAT** となります。
137+
<br>
138+
139+
**24. Inverse ― The inverse of an invertible square matrix A is noted A−1 and is the only matrix such that:**
140+
141+
&#10230;
142+
逆行列 ― 可逆正方行列Aの逆行列はA − 1と表記し、 以下の条件を満たす唯一の行列です。
143+
<br>
144+
145+
**25. Remark: not all square matrices are invertible. Also, for matrices A,B, we have (AB)−1=B−1A−1**
146+
147+
&#10230;
148+
備考: すべての正方行列が可逆とは限りません。 行列A、Bについては、(AB)−1=B−1A−1
149+
<br>
150+
151+
**26. Trace ― The trace of a square matrix A, noted tr(A), is the sum of its diagonal entries:**
152+
153+
&#10230;
154+
跡 - 正方行列Aの跡は、tr(A)と表記し、その対角成分の要素の和です。
155+
<br>
156+
157+
**27. Remark: for matrices A,B, we have tr(AT)=tr(A) and tr(AB)=tr(BA)**
158+
159+
&#10230;
160+
備考: 行列A、Bの場合: tr(AT)=tr(A)とtr(AB)=tr(BA)となります。
161+
<br>
162+
163+
**28. Determinant ― The determinant of a square matrix A∈Rn×n, noted |A| or det(A) is expressed recursively in terms of A∖i,∖j, which is the matrix A without its ith row and jth column, as follows:**
164+
165+
&#10230;
166+
行列式 ― 正方行列A∈Rn×nの行列式は|A| または det(A) と表記し、以下のように i番目の行とj番目の列を抜いたA, Aijによって再帰的に表現されます。
167+
それはi番目の行とj番目の列のない行列Aです。 次のように:
168+
<br>
169+
170+
**29. Remark: A is invertible if and only if |A|≠0. Also, |AB|=|A||B| and |AT|=|A|.**
171+
172+
&#10230;
173+
備考: |A|≠0の場合に限り、行列は可逆行列です。また|AB|=|A||B| と |AT|=|A|。
174+
<br>
175+
176+
**30. Matrix properties**
177+
178+
&#10230;
179+
行列の性質
180+
<br>
181+
182+
**31. Definitions**
183+
184+
&#10230;
185+
定義
186+
<br>
187+
188+
**32. Symmetric decomposition ― A given matrix A can be expressed in terms of its symmetric and antisymmetric parts as follows:**
189+
190+
&#10230;
191+
対称分解 ― 行列Aは次のように対称および反対称的な部分で表現できます。
192+
<br>
193+
194+
**33. [Symmetric, Antisymmetric]**
195+
196+
&#10230;
197+
[対称、反対称]
198+
<br>
199+
200+
**34. Norm ― A norm is a function N:V[0,+∞[ where V is a vector space, and such that for all x,y∈V, we have:**
201+
202+
&#10230;
203+
ノルムは関数N:V[0,+∞[ Vはすべてのx、y∈Vに対して、以下の条件を満たすようなベクトル空間です。
204+
]]
205+
<br>
206+
207+
**35. N(ax)=|a|N(x) for a scalar**
208+
209+
&#10230;
210+
スカラー a に対して N(ax)=|a|N(x)
211+
<br>
212+
213+
**36. if N(x)=0, then x=0**
214+
215+
&#10230;
216+
N(x)= 0ならば x = 0
217+
<br>
218+
219+
**37. For x∈V, the most commonly used norms are summed up in the table below:**
220+
221+
&#10230;
222+
x∈Vに対して、最も多用されているノルムは、以下の表にまとめられています。
223+
<br>
224+
225+
**38. [Norm, Notation, Definition, Use case]**
226+
227+
&#10230;
228+
[ノルム、表記法、定義、使用事例]
229+
<br>
230+
231+
**39. Linearly dependence ― A set of vectors is said to be linearly dependent if one of the vectors in the set can be defined as a linear combination of the others.**
232+
233+
&#10230;
234+
線形従属 ― ベクトルの集合に対して、少なくともどれか一つのベクトルを他のベクトルの線形結合として定義できる場合、その集合が線形従属であるといいます。
235+
<br>
236+
237+
**40. Remark: if no vector can be written this way, then the vectors are said to be linearly independent**
238+
239+
&#10230;
240+
備考:この方法でベクトルを書くことができない場合、ベクトルは線形独立していると言われます。
241+
<br>
242+
243+
**41. Matrix rank ― The rank of a given matrix A is noted rank(A) and is the dimension of the vector space generated by its columns. This is equivalent to the maximum number of linearly independent columns of A.**
244+
245+
&#10230;
246+
行列の階数 ― 行列Aの階数は rank(A)と表記し、列空間の次元を表します。これは、Aの線形独立の列の最大数に相当します。
247+
<br>
248+
249+
**42. Positive semi-definite matrix ― A matrix A∈Rn×n is positive semi-definite (PSD) and is noted A⪰0 if we have:**
250+
251+
&#10230;
252+
半正定値行列 ― 行列 A, A∈Rn×nに対して、以下の式が成り立つならば、 Aを半正定値(PSD)といい、A⪰0と表記します。
253+
<br>
254+
255+
**43. Remark: similarly, a matrix A is said to be positive definite, and is noted A≻0, if it is a PSD matrix which satisfies for all non-zero vector x, xTAx>0.**
256+
257+
&#10230;
258+
備考: 同様に、全ての非ゼロベクトルx, xTAx>0に対して条件を満たすような行列Aは正定値行列といい、A≻0と表記します。
259+
<br>
260+
261+
**44. Eigenvalue, eigenvector ― Given a matrix A∈Rn×n, λ is said to be an eigenvalue of A if there exists a vector z∈Rn∖{0}, called eigenvector, such that we have:**
262+
263+
&#10230;
264+
固有値、固有ベクトル ― 行列 A, A∈Rn×nに対して、以下の条件を満たすようなベクトルz, z∈Rn∖{0}が存在するならば、λは固有値といい、z は固有ベクトルといいます。
265+
<br>
266+
267+
**45. Spectral theorem ― Let A∈Rn×n. If A is symmetric, then A is diagonalizable by a real orthogonal matrix U∈Rn×n. By noting Λ=diag(λ1,...,λn), we have:**
268+
269+
&#10230;
270+
スペクトル定理 ― A∈Rn×nとします。 Aが対称ならば、Aは実直交行列U∈Rn×nによって対角化可能です。Λ=diag(λ1,...,λn)と表記すると、次のように表現できます。
271+
<br>
272+
273+
**46. diagonal**
274+
275+
&#10230;
276+
対角
277+
<br>
278+
279+
**47. Singular-value decomposition ― For a given matrix A of dimensions m×n, the singular-value decomposition (SVD) is a factorization technique that guarantees the existence of U m×m unitary, Σ m×n diagonal and V n×n unitary matrices, such that:**
280+
281+
&#10230;
282+
特異値分解 ― Aをm×nの行列とします。特異値分解(SVD)は、ユニタリ行列U m×m、Σ m×nの対角行列、およびユニタリ行列V n×nの存在を保証する因数分解手法で、以下の条件を満たします。
283+
<br>
284+
285+
**48. Matrix calculus**
286+
287+
&#10230;
288+
行列微積分
289+
<br>
290+
291+
**49. Gradient ― Let f:Rm×n→R be a function and A∈Rm×n be a matrix. The gradient of f with respect to A is a m×n matrix, noted ∇Af(A), such that:**
292+
293+
&#10230;
294+
勾配 ― f:Rm×n→Rを関数とし、A∈Rm×nを行列とします。 Aに対するfの勾配はm×n行列で、∇Af(A)と表記し、次の条件を満たします。
295+
<br>
296+
297+
**50. Remark: the gradient of f is only defined when f is a function that returns a scalar.**
298+
299+
&#10230;
300+
備考: fの勾配は、fがスカラーを返す関数であるときに限り存在します。
301+
<br>
302+
303+
**51. Hessian ― Let f:Rn→R be a function and x∈Rn be a vector. The hessian of f with respect to x is a n×n symmetric matrix, noted ∇2xf(x), such that:**
304+
305+
&#10230;
306+
ヘッセ行列 ― f:Rn→Rを関数とし、x∈Rnをベクトルとします。 xに対するfのヘッセ行列は、n×n対称行列で∇2xf(x)と表記し、以下の条件を満たします。
307+
<br>
308+
309+
**52. Remark: the hessian of f is only defined when f is a function that returns a scalar**
310+
311+
&#10230;
312+
備考: fのヘッセ行列は、fがスカラーを返す関数である場合に限り存在します。
313+
<br>
314+
315+
**53. Gradient operations ― For matrices A,B,C, the following gradient properties are worth having in mind:**
316+
317+
&#10230;
318+
勾配演算 ― 行列A、B、Cの場合、特に以下の勾配の性質を意識する甲斐があります。
319+
<br>
320+
321+
**54. [General notations, Definitions, Main matrices]**
322+
323+
&#10230;
324+
[表記, 定義, 主な行列の種類]
325+
<br>
326+
327+
**55. [Matrix operations, Multiplication, Other operations]**
328+
329+
&#10230;
330+
[行列演算, 乗算, その他の演算]
331+
<br>
332+
333+
**56. [Matrix properties, Norm, Eigenvalue/Eigenvector, Singular-value decomposition]**
334+
335+
&#10230;
336+
[行列特性, 行列ノルム, 固有値/固有ベクトル, 特異値分解]
337+
<br>
338+
339+
**57. [Matrix calculus, Gradient, Hessian, Operations]**
340+
341+
&#10230;
342+
[行列微積分, 勾配, ヘッセ行列, 演算]

0 commit comments

Comments
 (0)