-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotes_math.latex
More file actions
893 lines (821 loc) · 29.6 KB
/
notes_math.latex
File metadata and controls
893 lines (821 loc) · 29.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
\documentclass[a4paper,12pt]{book}
\usepackage{xeCJK,xunicode}
\usepackage{syntonly,fontspec,graphicx}
\usepackage{enumitem,verbatim,array}
\usepackage[bookmarks]{hyperref}
\usepackage{amsmath,amsthm,amssymb}
\usepackage{scalerel}
\hypersetup{
colorlinks,
linkcolor=blue
}
%\punctstyle{kaiming}
\makeatletter
\let\@afterindentfalse\@afterindenttrue
\@afterindenttrue
\makeatother
\setlength{\parindent}{2em}%中文缩进两个汉字位
\setCJKmainfont[BoldFont=SimHei,ItalicFont=KaiTi]{SimSun}
\setCJKmonofont{FangSong}
\newcommand*\conj[1]{\bar{#1}}
\newcommand*\mean[1]{\bar{#1}}
\newtheorem{theorem}{Theorem}[section]
\theoremstyle{definition}
\newtheorem{definition}{Definition}[section]
\theoremstyle{plain}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{example}{Example}[section]
\author{陶旭}
\date{\today}
\title{数学笔记}
\begin{document}
\maketitle
%\tableofcontents
\part{Linear Algebra}
\chapter{Matrix Theory}
\section{Matrix Inverse}
计算$A^{-1}$的方法之一,设
\[A=\left(\begin{array}{ccc}
1 & 2 & 0\\
1 & 3 & 1\\
0 & 1 & 2
\end{array}\right)\]
\[
A^{'} =\left(\begin{array}{cccc}
1 & 2 & 0 & a\\
1 & 3 & 1 & b\\
0 & 1 & 2 & c
\end{array}\right)
\]
\[
rref(A^{'}) = \left(\begin{array}{cccc}
1 & 0 & 0 & 5a-4b+2c\\
0 & 1 & 0 & -2a+2b-c\\
0 & 0 & 1 & a-b+c
\end{array}\right)
\]
\[
A^{-1} = \left(\begin{array}{ccc}
5 & -4 & 2\\
-2 & 2 & -1\\
1 & -1 & 1
\end{array}\right)
\]
如果$P$是一个permutation matrix,那么$P = S_1S_2\cdots S_k,
P^{-1}=P^T$, $S_i$是初等行交换矩阵
设$Q\in\mathbb{R}^{n \times n}$, $Q$为正交阵(\emph{orrhogonal})当且仅当
$Q^TQ = I_n$,所有正交阵的集合记为$O(n,\mathbb{R})$,$O(n,\mathbb{R})$称为
正交群,易见$P(n)$是$O(n,\mathbb{R})$的子群
$O(2,\mathbb{R})$上的一个子群记为$SO(2)$,称为rotation group,这个子群的元
素为
\[
R_\theta = \left( \begin{array}{cc}
\cos \theta & -\sin \theta\\
\sin \theta & \cos \theta
\end{array} \right)
\]
\[
R_\theta R_\mu = R_\mu R_\theta = R_{\theta+\mu}
\]
实际上$SO(2)$的正交矩阵是以下一种形式
\[
\left[
\begin{array}{cc}
\cos\theta & -\sin\theta\\
\sin\theta & \cos\theta
\end{array}
\right]
\]
或
\[
\left[
\begin{array}{cc}
\cos\theta & \sin\theta\\
\sin\theta & -\cos\theta
\end{array}
\right]
\]
要么是rotation matrix,要么是对称阵
\section{$LPDU$分解}
\subsection{$L,P,D\text{ and }U$}
\begin{definition}
$L,D$是对角元全为1的下、上三角矩阵
\end{definition}
\begin{definition}
$P$是\emph{partial permutation matrix}记作$\Pi_n$
\end{definition}
\begin{definition}
$D$是\emph{invertible diagonal matrix}记作$\mathcal{D}_n$
\end{definition}
\begin{proposition}
所有的下三角unipotent矩阵集合$\mathcal{L}_n$是$GL(n,\mathbb{R})$的
子群,同理可证$\mathcal{U}_n$
\end{proposition}
\begin{proposition}
若可逆矩阵$A$可分解为$LDU$(即$P=I_n$),那么$L,D,U$都是唯一的
\end{proposition}
\begin{proposition}
若可逆对称阵$A = LDU$, 那么$A = (LDU)^T = U^TDL^T = LDL^T$
\end{proposition}
\begin{definition}\emph{Cholosky decomposition}
Hermitian、正定矩阵$A=LDU$可以被分解为$A = CC^T$,$C$是下三角矩阵
\end{definition}
\chapter{Groups}
\section{Subgroup}
\begin{definition}\emph{symmetric group}
对称群是集合到自身的所有置换构成的群,通常记作$S_n$
\end{definition}
\begin{definition}\emph{special linear group}
行列式为1的$n \times n$矩阵是$GL_n$的子群,称为special linear
group,记为$SL_n$
\end{definition}
\begin{theorem}
设$S$是$\mathbb{Z}^+$的子群,那么$S$只有两种形式,一是当然群$\{0\}$
,一是$\mathbb{Z}a$,其中$a$是$S$中的最小正整数。
\end{theorem}
\begin{proposition}
设$a,b$是非零整数,$d$是生成子群$a\mathbb{Z}+b\mathbb{Z}$的正整数,
那么\begin{enumerate}[label={\normalfont(}\roman*{\normalfont)}]
\item\label{itm:1} 存在$r,s$使得$d = ar + sb$
\item\label{itm:2} $d$整除$a,b$
\item\label{itm:3} 若$e$整除$a,b$,则也整除$d$
\end{enumerate}
\end{proposition}
\begin{proof}
\ref{itm:1}仅仅是说$d$在$a\mathbb{Z}+b\mathbb{Z}$中,易见。
$a,b \in a\mathbb{Z}+b\mathbb{Z}$,所以\ref{itm:2}易证。最后,若$e$
整除$a,b$,则$a,b$在$e\mathbb{Z}$中,进一步说,任意$ra+sb$在
$e\mathbb{Z}$中,这正是$d$的形式,所以$e$整除$d$
\end{proof}
\begin{proposition}
设$a,b$是非零整数,$d = \mathrm{gcd}(a,b)$,易见$\mathbb{Z}d =
\mathbb{Z}a + \mathbb{Z}b$,并且存在整数$r,s$,使得$d = ra + sb$
\end{proposition}
若$a,b$互素,则$\mathbb{Z}a + \mathbb{Z}b = \mathbb{Z}$
\begin{corollary}
$a,b$互素当且仅当存在整数$r,s$,使得$ra + sb = 1$
\end{corollary}
\begin{proposition}
设$a,b$为非零整数,$m = \mathrm{lcd}(a,b)$,那么$\mathbb{Z}a \cap
\mathbb{Z}b = \mathbb{Z}m$
\end{proposition}
\begin{corollary}
$ab = \mathrm{gcd}(a,b) \times \mathrm{lcm}(a,b)$
\end{corollary}
\begin{definition}\emph{循环群cyclic group}
由群$G$的元素$x$生成的循环群$H = \{\cdots, x^{-2}, x^{-1}, 1, x,
x^2, \cdots \}$,记作$<x>$
\end{definition}
\begin{definition}
交错群\emph{alternating group}是有限集的偶置换的集合\\$A_n =
\left\{\sigma \in S_n : sgn(\sigma) = 1\right\}$
\end{definition}
\begin{proposition} 设$<x>$是由$x \in G$生成的循环群,$S$为满足$x^k =
1$的所有整数$k$ 构成的集合。那么
\begin{enumerate}[label={\normalfont(}\roman*{\normalfont)}]
\item $S$ 是$\mathbb{Z}^+$的子群
\item $x^r = x^s (r \geq s)$ 当且仅当 $x^{r-s} = 1$,即$r-s
\in S$
\item 若$S$不是当然群,那么$S = \mathbb{Z}n$,并且$1, x, x^2,
\ldots, x^{n-1}$是$<x>$中的不 同元素,$<x>$的阶为$n$
\end{enumerate}
\end{proposition}
群$<x> = \{1, x, \ldots, x^{n-1}\}$称为cyclic group of order $n$,``循
环''的意思是说,连续乘以$x$的结果在这$n$个元素中循环。循环群与
$\mathbb{Z}^+$同构
\begin{definition}\emph{normal subgroup}
满足下列条件的$G$的子群$N$称为正规子群:$\forall a \in N \mbox{ and
} b \in G $,其共轭$bab^{-1} \in N$。特别的任意abelian群的子群是正规
子群
\end{definition}
每个群同态$\varphi$确定了两个重要子群,\emph{image}和\emph{kernel},
\begin{align*}
\mathrm{im}\,\varphi &= \{ x \in G' \mid x = \varphi(a) \mbox{ for some
} a \in G\}\\
\mathrm{ker}\,\varphi &= \{a \in G \mid \varphi(a) = 1\}
\end{align*}
行列式同态的kernel是所有行列式为1的子群,这个子群称为\emph{special
linear group }$SL_n(\mathbb{R})$。
kernel除了是子群,还有一个重要性质,若$a \in \mathrm{ker}\,\varphi $那么
$bab^{-1} \in \mathrm{ker}\;\varphi$,即$ker\,\varphi$是正规子群
\begin{definition}\emph{center}
群$G$的\emph{中心}记为$Z$或$Z(G)$,\[
Z = \{ z \in G \mid zx = xz, \mbox{for all } x \in G\}
\]
\end{definition}
center也是一个正规子群
\section{Homomorphism}
\begin{definition}
\emph{同态}$\varphi:G \rightarrow G'$是一个从$G$到$G'$的映射,满足
$\varphi(ab) = \varphi(a)\varphi(b)$
\end{definition}
\section{Equivalence Relations}
\begin{proposition}
设$\varphi:G \rightarrow G'$是一个kernel为$N$的群同态,$a,b \in G$,
那么$\varphi(a) = \varphi(b)$当且仅当存在$n \in N$使得$b = an$,或者
等价的,$a^{-1}b \in N$
\end{proposition}
\begin{corollary}
群同态$\varphi:G \rightarrow G'$是单射的,当且仅当其kernel是平凡子群
$\{1\}$
\end{corollary}
\section{Coset}
\begin{theorem}
$\forall g \in G, gH = H$ if and only if $g \in H$
\end{theorem}
\begin{proof}
必要性易见。$gH \subset H$易见。$\forall h \in H \quad h =
gg^{-1}h, \because g \in H,\therefore g^{-1}h \in H,h \in gH, H
\subset gH.\therefore gH = H$
\end{proof}
\begin{theorem}
两个左$H-cosets$要么a相同,要么不想交,$H-cosets$是$G$的一个划分
\end{theorem}
\begin{theorem}
设$H$是$G$的子群,任意在$G$的左$H-coset$与$H$之间是双射的,特别的
,当$H$是有限群时,$H$的所有cosets与$H$的阶相同
\end{theorem}
\begin{definition}
设$H$是$G$的子群,$H$在$G$中的左陪集数目叫做\emph{index},记作
$[G:H]$
\end{definition}
\begin{theorem}
若$H$是有限群$G$的子群,那么$[G:H] = (\#G)/(\#H)$
\end{theorem}
\begin{theorem}\emph{Lagrange's Theorem}
任意有限群的子群的阶整除有限群的阶
\end{theorem}
\begin{corollary}
设$G$的阶为素数,$a \in G, a \neq 1$,那么$G =
\{1,a,\ldots,a^{p-1}\}$是一个循环群
\end{corollary}
\begin{example}
$\forall a,b \in \mathbb{Z}^+ \quad \displaystyle \frac{(ab)!}{(a!)^b},
\frac{(ab)!}{(a!)^b b!}$都是整数
\end{example}
\begin{proof}
将从1到$ab$的整数写成如下形式\[
1,2,\ldots,a; a+1,\ldots, 2a; 2a+1,\ldots,
3a;(b-1)a+1,\ldots,ba
\]
分子相当于$S_{ab}$,分子是按分号分隔的子群的大小
\end{proof}
\begin{theorem}
设$H,K$是有限群$G$的两个阶互素的子群,那么$H \cap K = \{e\}$
\end{theorem}
设$\varphi:G \rightarrow G'$是一个同态,易见$\mathrm{ker} \varphi$的左
陪集是映射$\varphi$的fiber,\begin{align*}
[G:\mathrm{ker}\,\varphi] &= |\mathrm{im}\,\varphi|\\
\Rightarrow |G| &= |\mathrm{ker}\,\varphi| \cdot
|\mathrm{im}\,\varphi|
\end{align*}
\section{Restriction to a Subgroup}
两个子群的交集$K \cap H$是$H$的子群。若$K$是$G$的正规子群,那么$K \cap
H$是$H$的正规子群
\chapter{Fields, Vector Spaces}
\section{Fields}
\begin{definition}
\emph{域}
$\mathbb{F}$ is a set with two binary operations,满足以下条件
\begin{enumerate}[label={\normalfont(}\roman*{\normalfont)}]
\item $a+b = b+a$ (加法可交换commutative)
\item $(a+b)+c = a+(b+c)$(加法结合率assosiative)
\item $ab = ba$(乘法交换率)
\item $a(bc) = (ab)c$(乘法结合律)
\item $a(b+c) = ab+ac$(乘法分配distributive)
\item 加法零元$a+0=0$,乘法单位元$1a=a$
\item $0 \neq 1$
\item $\forall a \in \mathbb{F}$,存在加法逆元$-a$
\item $\forall a \neq 0$,存在乘法逆元$a^{-1}$
\end{enumerate}
\end{definition}
\begin{proposition}
任意域$\mathbb{F}$,加法和乘法单位元是唯一的
\end{proposition}
\begin{theorem}
\emph{(算术基本定理Fundamental Theorom of Arithmetic)}
设$m$是一个大于
$1$的数,那么$m$可以被唯一因式分解为$m=p_1p_2 \cdots p_k$,其中
$p_1,p_2,\ldots , p_k$是素数,
\end{theorem}
设$m \in \mathbb{Z}$ be positive and square free,$\mathbb{Q}(\sqrt m)$
表示所有形如$a + b\sqrt m$, $a,b$是任意有理数,$\mathbb{Q}(\sqrt m)$是
一个域,并且是包含有理数$\mathbb{Q}$和$\sqrt m$的最小域
\begin{definition}
仅包含有限元素的域称为Galois field.包含素数个数元素的域称为 \emph{素
域}
\end{definition}
对于$\mathbb{F}_p$, $p-1$的乘法逆元是$p-1$, 1的乘法逆元是1,
其余元素的逆元成对出现
\subsection{Characteristic}
\begin{proposition}
如果一个域$\mathbb{F}$有positive characteristic$p$, 那么$p$是一个素
数,并且$pa = 0, \forall a \in \mathbb{F}$
\end{proposition}
\begin{proposition}
若域$\mathbb{F}$的characteristic $p>0$,那么对任意$a_1, a_2, \cdots
a_n \in \mathbb{F}$\[
(a_1 + \cdots + a_n)^p = a_1^p + \cdots + a_n^p
\]
\end{proposition}
\begin{proposition}\emph{(费马小定理)}
$\forall a \in \mathbb{F}_p,\quad a^{p-1} = 1$,特别的,$a^{-1} = a^{p-2}$
\end{proposition}
\begin{definition}
$a-b$可以被$c$整除$\Rightarrow a \equiv b \pmod{c}$
\end{definition}
\begin{definition}
\emph{B\'ezout's identity贝组等式}
设$a,b$是非零整数,$(a, b) = d \Rightarrow \exists x, y$, 使得 \[
ax + by = d
\]
\end{definition}
\begin{definition}
\emph{Fundamental Theorem of Algebra}\\
复(实)系数方程 \[
f(x) = x^n + a_1x^{n-1} + \cdots + a_{n-1}x + a_n
\]
在$\mathbb{C}$上有$n$个根
\end{definition}
\subsection{Complex Number}
$z = a+ib$的\emph{共轭conjudate}$\conj{z} = a-ib$,并且
\begin{align*}
\overline{w+z} &= \overline{w} + \overline{z}\\
\overline{wz} &= \overline{w}\,\overline{z}
\end{align*}
$z^{-1} = \frac{\overline{z}}{|z|^2}$
$e^{i\theta} := \cos\theta + i\sin\theta$
\begin{proposition}
任意$z\in\mathbb{C}$可以表示为$z = |z|e^{i\theta}$
\end{proposition}
\begin{proposition}
设$p(x) in \mathbb{R}[x]$,即实系数多项式$p(x) = 0$的根成共轭出现
\end{proposition}
\begin{proof}
$p(x) = 0 = \overline{p(x)} = p(\overline{x})$
\end{proof}
\begin{definition}
\emph{Algebraically closed field}\\
\textbf{algebraically closed field} $\mathbb{F}$对任意非常量多项式
$\mathbb{F}[x]$有属于$\mathbb{F}$的根
\end{definition}
\section{Vector Spaces}
\begin{definition}
$\mathbb{F}$是一个域,$V$是一个集合,$\mathbb{F}$上的向量空间$V$满足
\begin{enumerate}[label=(\roman*)]
\item 向量加法交换率, $\mathbf{a+b = b+a}, \forall
\mathbf{a,b} \in V$
\item 向量加法结合率, $\mathbf{(a+b)+c = a+(b+c), \forall
a,b,c} \in V$
\item $V$存在加法单位元, $\mathbf{0+a = a, \forall a} \in V$
\item $\forall \mathbf{a} \in V, 1\mathbf{a} = \mathbf{a}$,
$1$是$\mathbb{F}$的乘法单位元
\item $\forall \mathbf{a} \in V, \exists \mathbf{-v}$, 使得
$\mathbf{v+(-v) = 0}$
\item 数乘结合率, 若 $r,s \in \mathbb{F},\mathbf{a} \in V$,那么
$(rs)\mathbf{a} = r(s\mathbf{a})$
\item 数乘分配率,若$r,s \in \mathbb{F}, \mathbf{a, b} \in V$,那
么$r(\mathbf{a+b})
= r\mathbf{a}+r\mathbf{b}, (r+s)\mathbf{a} =
r\mathbf{a}+s\mathbf{a}$
\end{enumerate}
\end{definition}
\begin{definition}
设$V$是$\mathbb{F}$上的向量空间,子空间的定义$W$满足如下要求
\begin{enumerate}[label=(\roman*)]
\item $\mathbf{a+b} \in W, \mathbf{a+b} \in W$
\item $r\mathbf{a} \in W, r \in \mathbb{F}$
\end{enumerate}
\end{definition}
\section{Inner Product Spaces}
实、复内积空间
\subsection{实内积空间}
\begin{definition}
$V$是一个real vector space,$V$被称为内积空间,如果对于$\mathbf{a,b}
\in V$, 存在\emph{标量}$\mathbf{(a,b)}$,满足以下条件
\begin{enumerate}[label={\normalfont(\arabic*)}]
\item $\mathbf{(a,b) = (b,a)}$
\item $\mathbf{(a+b,c) = (a,c)+(b,c)}, \forall c \in V$
\item $(r\mathbf{a,b)} = r\mathbf{(a,b)}, \forall r \in
\mathbb{R}$
\item $\mathbf{a \neq 0 \Rightarrow (a, a)}>0$
\end{enumerate}
\end{definition}
$\mathbf{v} \in V$的长度$|\mathbf{v}|$定义为$|\mathbf{v}| =
\sqrt{(\mathbf{v, v})}$
$\mathbf{a,b}$之间的距离$d\mathbf{(a,b) =
|a-b|}$
\begin{definition}
向量空间中$\mathbf{a,b}$正交$\equiv \mathbf{(a,b)}=0$
\end{definition}
\begin{proposition}
\emph{(Pythagoras's Theorem)}
$\mathbf{a,b} \in V$正交,当且仅当\[
|\mathbf{a+b}|^2 = |\mathbf{a-b}|^2 = |\mathbf{a}|^2 +
|\mathbf{b}|^2
\]
\end{proposition}
\begin{proposition}
\emph{(Cauchy-Schwartz Inequality)}
$\forall \mathbf{a,b} \in V$,
\begin{equation}\label{eq:cauchy_schwartz_inequality}
|\mathbf{(a,b)}| \leq \mathbf{|a||b|}
\end{equation}
等号成立当且仅当$\mathbf{a}$是$\mathbf{b}$的倍数
\end{proposition}
\begin{proof}
当$\mathbf{a = \lambda b}$或$\mathbf{b=0}$时,等号显然成立\\
当$\mathbf{b \neq 0}$时,设$\mathbf{a = \lambda b + c, (b,
c)}=$$0, \lambda$唯一确定,且$\lambda =
\mathbf{\tfrac{(a,b)}{(b,b)}}$,由Pythagoras's Theorem知
$\mathbf{|a|}^2 = \lambda^2\mathbf{|b|^2 + |c|^2} \Rightarrow
\mathbf{|a|^2} \geq \lambda^2\mathbf{|b|^2}$,代入$\lambda$即证
\end{proof}
\begin{example}
$\mathbb{R}^n$上的Cauchy-Schwartz不等式为\[
|\sum_{i=1}^n a_ib_i| \leq (\sum_{i=1}^na_i^2)^{1/2}
\sum_{i=1}^n b_i^2)^{1/2}
\]
\end{example}
\begin{example}
向量空间$C[a,b]$---定义在$[a,b]$上的连续实函数,其内积定义为\[
(f,g) = \int_a^b\!f(t)g(t) \,\mathrm{d}t
\]
应用公式\ref{eq:cauchy_schwartz_inequality}\[
\left|\int_a^b\!f(t)g(t)\,\mathrm{d}t\right| \leq
\left(\int_a^b\!f(t)^2\,\mathrm{d}t\right)^{1/2}
\left(\int_a^b\!g(t)^2\,\mathrm{d}t\right)^{1/2}
\]
\end{example}
$\mathbf{\frac{(a,b)}{(b,b)}b}$是$\mathbf{a}$在$\mathbf{b}$上的投影,
$\dfrac{\int_a^b\!(f,g)\,\mathrm{d}t}{\int_a^b\!(g,g)\,\mathrm{d}t}g$
是$f$在$g$上的投影
\subsection{Hermitian Inner Products}
\begin{example}
\emph{埃尔米特$n$维向量}
$\mathbf{w,z} \in \mathbb{C}^n$上的Hermitian内积空间定义为
\[
\mathbf{w}\bullet\mathbf{z}
= \mathbf{w}^T\mathbf{\overline{z}}
= (w_1 \; w_2 \cdots w_n)
\begin{pmatrix}
\overline{z_1}\\
\overline{z_2}\\
\overline{z_3}\\
\vdots\\
\overline{z_n}\\
\end{pmatrix}
= \sum_{i=1}^n w_i\overline{z_i}
\]
\end{example}
\begin{definition}
设$V$是一个复向量空间,$V$上的Hermitian inner product是为任意
$\mathbf{w,z} \in \mathbb{C}$赋予一个标量,满足
\begin{enumerate}[label=(\roman*)]
\item $\mathbf{(w+w', z) = (w,z)+(w',z) \mbox{ and } (w,z+z')
= (w,z)+(w,z')}$
\item $\mathbf{(z,w) = \overline{(w,z)}}$
\item $(\alpha \mathbf{w,z)} = \alpha\mathbf{(w,z)} \mbox{ and }
(\mathbf{w},\beta\mathbf{z}) = \overline{\beta}\mathbf{(w,z)}$
\item $\mathbf{w \neq 0} \Rightarrow \mathbf{(w,w)} > 0$
\end{enumerate}
\end{definition}
\section{子空间和Spanning Sets}
\begin{definition}(\emph{Subspace})
设$V$是$\mathbb{F}$上的向量空间,当下面两个条件成立时,非空子集$W$称
为是$V$的子空间\begin{enumerate}
\item $\mathbf{a+b} \in W, \quad \forall \mathbf{a,b} \in W$
\item $r\mathbf{a} \in W, \quad \forall r \in \mathbb{F}$
\end{enumerate}
\end{definition}
\section{Finite Dimensional Vector Spaces}
设$V$是$\mathbb{F=F}_p$上的向量空间
\begin{definition}(\emph{basis})
向量空间$V$的线性无关子集,并且可以生成$V$
\end{definition}
\begin{example}\emph{(column space)}
设$A_{mn}$是$\mathbb{F}$上的矩阵,$\mathbf{b} \in col(A)$当
且仅当$A\mathbf{x = b}$有解
\end{example}
\begin{proposition}
$V$中元素的个数恰好是$p^{\mathrm{dim} V}$
\end{proposition}
\begin{proposition}
设$\mathbb{F}$的characteristic是$p$,那么$|\mathbb{F}|=p^n$,
$n$是$\mathbb{F}$在子域$\mathbb{F}'$上的向量空间的dimension,
$\mathbb{F}'$由1的所有倍数组成
\end{proposition}
\begin{example}
$\mathbb{F}^{mn}$的基是$E_{ij}, \mathrm{dim}\,\mathbb{F}^{m \times
n} = mn$
\end{example}
\begin{example}
设$\mathbb{F}_s^{n \times n}$表示$\mathbb{F}$上的$n \times n$对称
阵,显然$\mathbb{F}_s^{n \times n}$是$\mathbb{F}^{n \times n}$的子空
间,$S_{ij} = E_{ij}+E_{ji}(i<j), E_{ii}$是$\mathbb{F}_s^{n \times
n}$的基
\end{example}
\begin{example}
设$\mathbb{F}_{ss}^{n \times n}$是$\mathbb{F}$上的反对称阵
,$E_{ij}-E_{ji}$是$\mathbb{F}_{ss}^{n \times n}$的基
\end{example}
\begin{theorem}
\emph{Rank-nullity theorem}
设$T:V \rightarrow W$是一个线性映射,$\mathrm{rank}(T)=
\mathrm{dim}(\mathrm{im}(T)), \mathrm{nul}(T) =
\mathrm{dim}(\mathrm{ker}(T))$
\[
\mathrm{dim}(\mathrm{im}(T)) + \mathrm{dim}(\mathrm{ker}(T)) =
\mathrm{dim}(V)
\]
\end{theorem}
\begin{example}
设$V$是$\mathbb{F}_p$上的dimension为$n$的向量空间,$V$的一个含$m$个线性
无关元素子集叫做$m$-frame,$V$中$m$-frame的个数为
\[
(p^n-1)(p^n-p)\cdots(p^n-p^{m-2})(p^n-p^{m-1})
\]
\end{example}
\begin{example}
设$V$是$\mathbb{F}_p$上的dimension为$n$的向量空间,dimension为$m$的
子空间数目为
\[
\dfrac{(p^n-1)(p^n-p)\cdots(p^n-p^{m-2})(p^n-p^{m-1})}
{(p^m-1)(p^m-p)\cdots(p^n-p^{m-2})(p^m-p^{m-1})}
\]
Grassmannian
\end{example}
\section{Intersecions and Sums of Subspaces}
\begin{proposition}
子空间$W, Y$的交$W \cap Y$也是$V$的子空间,$V$的任意子空间的交仍是
子空间
\end{proposition}
上述命题是对齐次线性方程组解空间是$\mathbb{F}^n$子空间的一种范化,解空
间是$\mathbb{F}^n$中超平面的交集
\subsection{Hausdorff Intersection Formula}
\begin{theorem}
如果$W,Y$是有限维向量空间$V$的子空间,那么\[
\mathrm{dim}(W+Y) = \mathrm{dim}\,W + \mathrm{dim}\,Y -
\mathrm{dim}(W \cap Y)
\]
\end{theorem}
\begin{corollary}
$\mathrm{dim}(W \cap Y) \geq \mathrm{dim}\,W + \mathrm{dim}\,Y -
\mathrm{dim}\,V$,当$\mathrm{dim}\,W + \mathrm{dim}\,Y >
\mathrm{dim}\,V$时,$\mathrm{dim}(Y \cap W) > 0$
\end{corollary}
\begin{example}
\emph{(Intersections of hyperplanes)}\[
\mathrm{dim}(H_1 \cap H_2) \geq (n-1)+(n-1)-n = n-2
\]
\end{example}
\subsection{Direct Sum}
\begin{definition}
\emph{(Direct Sum)}
当说$V$是两个子空间$W,Y$的直接和时,如果$V = W+Y$,并且$\forall
\mathbf{v} \in V$,表达式$\mathbf{v = w+y}(\mathbf{w} \in W,
\mathbf{y} \in Y)$是唯一的,记作$V = W \oplus Y$.更一般的情形:$V$
是
子空间$V_1,\cdots,V_k$的直接和时,如果$V = \sum V_i$并且$\forall
\mathbf{v} \in V$,表达式$\mathbf{v} = \sum \mathbf{v_i}, \exists!
\mathbf{v_i} \in V_i$,记作$V = \bigoplus\limits_{i=1}^{k} V_i$
\end{definition}
\begin{proposition}
$V = W \oplus Y$的充要条件是$V = W+Y, W \cap Y = \{\mathbf{0}\}$,
另
$V = W \oplus Y$当且仅当$V = W+Y, \mathrm{dim}\,V =
\mathrm{dim}\,W +
\mathrm{dim}\,Y$
\end{proposition}
\begin{proposition}
$char(\mathbb{F}) \neq 2$,那么$\forall A \in \mathbb{F}^{n \times
n}$, $A$可以唯一表示为对称阵和反对称阵的和
\end{proposition}
\begin{proposition}
设$V$是有限维,$V_1,\cdots,V_k$是$V$的子空间, $V = \sum_{i=1}^k
V_i$, 那么$V = \bigoplus_{i=1}^k V_i$当且仅当$\mathrm{dim}\, V =
\sum_{i=1}^k \mathrm{dim}\, V_i$
\end{proposition}
\begin{example}
\[
\mathbb{R}^n = V+V^{\perp}
\]
\end{example}
\begin{definition}
\emph{(External Direct Sum)}\[
V \times W = \{\mathbf{(v,w)} | \mathbf{v} \in V,\mathbf{w}
\in W\}
\]
加法定义$\mathbf{(v,w) + (v',w') = (v+v',w+w')}\\$
乘法定义$r\mathbf{(v,w)} = (r\mathbf{v}, r\mathbf{w})$
\end{definition}
\section{Vector Space Quotients}
\begin{definition}
(relation)设$S$是一个非空集合,$S \times S$的子集$E$称为$S$
上的关系。如果$E$是$S$上的关系,$a,b \in S$,我们说$a,b$有$E$关系即
$aEb$,当且仅当 $(a,b) \in E$
\end{definition}
$S$上的关系$E$是等价关系(\emph{equivalence relation}),当$\forall a,b,c\in S$
下面三个条件成立:
\begin{enumerate}[label={\normalfont(}\roman*{\normalfont)}]
\item (reflexive) $aEa$
\item (symmetric) $aEb \Rightarrow bEa$
\item (transitive) $aEb, bEc \Rightarrow aEc$
\end{enumerate}
若$E$是$S$上的等价关系,$a \in S, a$的等价类(equivalence class)是一个集
合,集合元素$b, b\in S$满足$bEa$
\begin{definition}
\emph{(quotient)}$S$上的关系$E$的等价类的集合叫做quotient,记作
$S/E$
\end{definition}
\subsection{Cosets}
设$V$是$\mathbb{F}$上的向量空间,$W$是一个子空间,定义$V$上的等价关系
,其等价类叫做$W$在$V$中的cosets.所有cosets的集合记作$V/W$
\begin{proposition}
设$V$是$\mathbb{F}$上的向量空间,$W$是一个子空间,$\forall
\mathbf{v, y} \in V, \mathbf{v}E_W\mathbf{y}$当且仅当$\mathbf{v-y}
\in W$.那么$E_W$是一个等价关系
\begin{enumerate}[label={\normalfont(}\alph*{\normalfont)}]
\item $[\mathbf{v}] = \mathbf{v}+W$
\item $\forall \mathbf{v,y} \in V, \mathbf{v}+W = \mathbf{y}+W
\mbox{ or } (\mathbf{v}+W) \cap (\mathbf{y}+W) = \emptyset$
\item {\normalfont The set of distinct cosets of $W$ is a
\emph{partition} of $V$}
\end{enumerate}
\end{proposition}
\begin{proposition}
$W$在$V$中的cosets的形式是$\mathbf{v}+W, \mathbf{v} \in V$,特别的
,$\mathbf{v}+W = \mathbf{y}+W \Leftrightarrow \mathbf{v-y} \in W$
\end{proposition}
\begin{proposition}
$\mathrm{codim}\,(W) = \mathrm{dim}\,(V/W) = \mathrm{dim}\,V -
\mathrm{dim}\,W$
\end{proposition}
\begin{example}
设$C(\mathbb{R})$是$\mathbb{R}$上的连续函数空间,$\mathcal{P}$是包含
多项式的子空间,给定$f \in C(\mathbb{R})$,$f$的coset是\[
f+\mathcal{P} = \{f+p : p \mbox{ \normalfont is a polynomial}\}
\]
$f+\mathcal{P} = g+\mathcal{P}$当且仅当$f-g$是多项式,因此
$f+\mathcal{P}$可以认为是$f \mbox { \normalfont modulo the
polynomials}$,即和$f$相差仅为多项式的函数构成的等价类
\end{example}
\begin{proposition}
设$V$是$\mathbb{F}_p$上,维度为$n$的向量空间,$W$是维度为$k$的子空
间。那么\begin{enumerate}
\item $W$的每一个陪集的阶为$p^k$
\item 陪集的数目是$p^{n-k}$
\end{enumerate}
\end{proposition}
设 $\preceq$ 是集合$S$上的偏序关系,关系$\succeq, \prec, \succ,
\perp,\parallel $
的定义如下
\begin{enumerate}
\item $x \succeq y$当且仅当$y \preceq x$
\item $x \prec y$当且仅当$x \preceq y$ and $x \neq y$
\item $x \succ y$当且仅当$y \prec x$
\item $x \perp y$当且仅当$x \preceq y$ or $y \preceq x$
\item $x \parallel y$当且仅当neither $x \preceq y$ or $y \preceq x$
\end{enumerate}
$x \perp y$表示$x,y$在偏序集中是相关的,$x \parallel y$表示$x,y$在偏序集
中无关
若$x \prec y$并且不存在$z \in S$,满足$x \prec z \prec y$,那么$y$ \emph{cover} $x$
\chapter{Linear Coding Theory}
\section{Linear Codes}
\begin{definition}
($p$-ary code) $p$-ary code是$V(n,p)$的非空子集$C$, $n$称为$C$的
\emph{length}, $C$的元素叫做\emph{codeword}
\end{definition}
\begin{definition}
$p$-ary linear $[n,k]$-code $C$的\emph{generating matrix}是
$\mathbb{F}_p$上的$k \times n$矩阵,形如$M = (I_k|A)$,使得$C =
\mbox{row}(M)$
\end{definition}
\section{Error-Correcting Codes}
\subsection{Hamming Distance}
\begin{proposition}
设$\mathbf{u,v,w} \in V(n,p)$,那么
\begin{enumerate}[label=(\roman*{\normalfont)}]
\item $d(\mathbf{u,v}) \geq 0$,等号仅在$\mathbf{u=v}$时成立
\item $d(\mathbf{u,v}) = d(\mathbf{v,u})$
\item $d(\mathbf{u,v}) \leq d(\mathbf{u,w}) + d(\mathbf{w,v})$
\end{enumerate}
\end{proposition}
通常,若$S$是集合,满足(i),(ii),(iii)的函数$d:S \times S \rightarrow
\mathbb{R}$称为$S$上的\emph{metric}
\begin{proposition}
$(n, M, d)$-code $C$最多可以检测到$d-1$个错误,做多可以纠正$e =
[(d-1)/2]$个错误
\end{proposition}
\section{Codes With Large Minimal Distance}
\begin{definition}
$\mathbb{R}$上$n \times n$矩阵$H$,其每一项都是$\pm 1$,若$HH^T =
nI_n$,则此矩阵称为\emph{Hadamard}
\end{definition}
\chapter{Linear Transformations}
\section{Definition and General Properties}
\begin{definition}
设$V,W$是$\mathbb{F}$上的向量空间,变换$T:V \rightarrow W$称为
\emph{linear}当
\begin{enumerate}[label=(\arabic*)]
\item $T(\mathbf{x+y}) = T(\mathbf{x}) + T(\mathbf{y})$ for
all $\mathbf{x,y} \in V$
\item
$T(r \mathbf{x}) = rT(\mathbf{x})$ for all $r \in
\mathbb{F} \mbox{ and } \mathbf{x} \in V$
\end{enumerate}
\end{definition}
\begin{definition}
\emph{semisimple} 线性变换$T:V \rightarrow V$称为是
\emph{semisimple}如果存在$T(\mathbf{v}_i) = \lambda_i
\mathbf{v}_i,$,其中$\mathbf{v}_1,\cdots,\mathbf{v}_n$是$V$的基
,$\lambda_i \in \mathbb{F}$
\end{definition}
\begin{proposition}
设$V,W$是$\mathbb{F}$上的向量空间,$L(V,W)$表示所有的线性变换$T:V
\rightarrow W$的集合。那么$L(V,W)$是$\mathbb{F}$上的向量空间。若
$\mathrm{dim\,} V = n, \mathrm{dim\,}W = m$,那么$L(V,W)$的维度是
$mn$,并且$T_{ij}(\mathbf{v}_j) = \mathbf{w}_i(1 \leq i \leq n,
1 \leq j \leq m)$构成$L(V,W)$的基
\end{proposition}
\begin{proposition}
设$T:V\rightarrow W$是一个线性变换,$T$是单射当且仅当$T(\mathbf{x
})= \mathbf{0} \Leftrightarrow \mathbf{x=0}$
\end{proposition}
\begin{proposition}
每个线性变换$T:\mathbb{F}^n \rightarrow \mathbb{F}^m$对应一个$m
\times n$矩阵$A$,其第$i$列是$T(e_i)$
\end{proposition}
\begin{proof}
$\forall \mathbf{x} \in \mathbb{F}$,可唯一表达为\[
\mathbf{x} = \sum_{i=1}^n x_i \mathbf{e}_i
\]因此\[
T(\mathbf{x}) = T(\sum_{i=1}^n x_i \mathbf{e}_i) =
\sum_{i=1}^n x_i T(\mathbf{e}_i)
\]
\end{proof}
\begin{definition}(\emph{Orthogonal Transformation})
$T: V \rightarrow V$,对任意$\mathbf{u,v} \in V$,满足
$(\mathbf{u, v}) = (T(\mathbf{u}), T(\mathbf{v}))$。该线性变换的矩阵
是正交阵
\end{definition}
\begin{proposition}
projection $P_a(\mathbf{x}) = \mathbf{\left( \dfrac{a \cdot x}{a
\cdot a} \right)a}$,任意投影矩阵$P$满足$P^2 = P$
\end{proposition}
\section{Matrices for Linear Transformations}
\begin{theorem}
设$T: V \rightarrow W$是一个线性变换,$V$的基为$\mathcal{B} =
{\mathbf{v}_1, \mathbf{v}_2, \cdots, \mathbf{v}_n}$,$W$的基为
$\mathcal{B}' = {\mathbf{w}_1, \mathbf{w}_2, \cdots,
\mathbf{w}_n}$,每个 $T(\mathbf{v}_j)$可以唯一表
达为\[ T(\mathbf{v}_j) = (\mathbf{w}_1, \mathbf{w}_2, \cdots
\mathbf{w}_m) \left( \begin{array}{c}
a_{1j}\\
a_{2j}\\
\vdots\\
a_{mj}
\end{array} \right) = \sum_{i=1}^m a_{ij}\mathbf{w}_i
\]
设$\mathbf{v} = x_1\mathbf{v}_1 + x_2\mathbf{v}_2 + \cdots +
x_n\mathbf{v}_n$,有\[
T(\mathbf{v}) = (\mathbf{w}_1, \mathbf{w}_2, \cdots,
\mathbf{w}_m) \left( \begin{array}{cccc}
a_{11} & a_{12}& \cdots & a_{1n}\\
a_{21} & a_{22}& \cdots & a_{2n}\\
\vdots &\vdots &\vdots &\vdots \\
a_{m1} & a_{m2}& \cdots & a_{mn}
\end{array} \right) \left( \begin{array}{c}
x_1\\
x_2\\
\vdots\\
x_n
\end{array}
\right)
\]
当$\mathcal{B,B'}$给定时,$T$由$A$决定
\end{theorem}
\part{Complex Number}
\chapter{Representation}
复数$i$的矩阵表示为
$J = \left( \begin{array}{cc}
0 & -1\\
1 & 0
\end{array} \right)$,
$a+bi$的矩阵表示为
$\left( \begin{array}{cc}
a & -b\\
b & a
\end{array}\right) = aI + bJ
$\\
$z^{-1} = \frac{\bar{z}}{a^2 + b^2}$\\
$wz = (|w|e^{i\mu})(|z|e^{i\theta})$,两个复数的积:实部相乘,argument相
加
\begin{definition}{Algebraic Number}
a possibly complex number that is a root of a finite, non-zero
polynomial in one variable with rational coefficients.如果方程两边同
乘最小公分母,则为整数系数方程
\end{definition}
\end{document}