-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfour_iii.tex
277 lines (238 loc) · 5.92 KB
/
four_iii.tex
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
% see: https://groups.google.com/forum/?fromgroups#!topic/comp.text.tex/s6z9Ult_zds
\makeatletter\let\ifGm@compote\relax\makeatother
\documentclass[10pt,t]{beamer}
\usefonttheme{professionalfonts}
\usefonttheme{serif}
\PassOptionsToPackage{pdfpagemode=FullScreen}{hyperref}
\PassOptionsToPackage{usenames,dvipsnames}{color}
% \DeclareGraphicsRule{*}{mps}{*}{}
\usepackage{../linalgjh}
\usepackage{present}
\usepackage{xr}\externaldocument{../det3} % read refs from .aux file
\usepackage{catchfilebetweentags}
\usepackage{etoolbox} % from http://tex.stackexchange.com/questions/40699/input-only-part-of-a-file-using-catchfilebetweentags-package
\makeatletter
\patchcmd{\CatchFBT@Fin@l}{\endlinechar\m@ne}{}
{}{\typeout{Unsuccessful patch!}}
\makeatother
\mode<presentation>
{
\usetheme{boxes}
\setbeamercovered{invisible}
\setbeamertemplate{navigation symbols}{}
}
\addheadbox{filler}{\ } % create extra space at top of slide
\hypersetup{colorlinks=true,linkcolor=blue}
\title[Laplace's Expansion] % (optional, use only with long paper titles)
{Four.III Laplace's Expansion}
\author{\textit{Linear Algebra} \\ {\small Jim Hef{}feron}}
\institute{
\texttt{http://joshua.smcvt.edu/linearalgebra}
}
\date{}
\subject{Laplace's Expansion}
% This is only inserted into the PDF information catalog. Can be left
% out.
\begin{document}
\begin{frame}
\titlepage
\end{frame}
% =============================================
% \begin{frame}{Reduced Echelon Form}
% \end{frame}
% ..... Four.III.1 .....
\section{Laplace's formula for the determinant}
%..........
\begin{frame}
\ex[ex:ExpThreeFirstRow]
\ExecuteMetaData[../det3.tex]{LaplaceExample0}
\end{frame}
\begin{frame}
\ExecuteMetaData[../det3.tex]{LaplaceExample1}
\end{frame}
\begin{frame}
\ExecuteMetaData[../det3.tex]{LaplaceExample2}
\pause
\ExecuteMetaData[../det3.tex]{LaplaceExample3}
\end{frame}
\begin{frame}{Minor}
\df[df:Minor]
\ExecuteMetaData[../det3.tex]{df:Minor}
\pause
\ex For this matrix
\begin{equation*}
S=
\begin{mat}
3 &1 &2 \\
5 &4 &-1 \\
7 &0 &-3
\end{mat}
\end{equation*}
the $2,3$~minor is
\begin{equation*}
\begin{mat}
3 &1 \\
7 &0
\end{mat}
\end{equation*}
so the associated cofactor is $S_{2,3}=(-1)^{5}\cdot (-7)=7$.
\end{frame}
\begin{frame}{Laplace's formula}
\th[th:LaPlaceExp]
\ExecuteMetaData[../det3.tex]{th:LaPlaceExp}
\pause
\pf
\nearbyexercise{exer:LaplaceProof}.
\qed
\pause
We can find this determinant
\begin{equation*}
\begin{vmat}
3 &1 &2 \\
5 &4 &-1 \\
7 &0 &-3
\end{vmat}
\end{equation*}
by expanding along the second row.
Besides $S_{2,3}=7$, the other two cofactors are here.
\begin{equation*}
S_{2,1}=
(-1)^{3}\cdot
\begin{vmat}
1 &2 \\
0 &-3
\end{vmat}
=3
\quad
S_{2,2}=
(-1)^{4}\cdot
\begin{vmat}
3 &2 \\
7 &-3
\end{vmat}
=-23
\end{equation*}
The Laplace expansion gives $5\cdot 3+4\cdot(-23)-1\cdot 7=-84$.
\end{frame}
\begin{frame}{Adjoint}
\df[df:Adjoint]
\ExecuteMetaData[../det3.tex]{df:Adjoint}
\medskip
Note that the order of the subscripts in this matrix
is opposite to the order that you might expect: the entry
above in row~$i$ and column~$j$ is $T_{j,i}$.
\end{frame}
\begin{frame}
\ex The matrix adjoint to this
\begin{equation*}
S=
\begin{mat}[r]
3 &1 &2 \\
5 &4 &-1 \\
7 &0 &-3
\end{mat}
\end{equation*}
is this (some of these cofactors we have calculated above).
\begin{equation*}
\begin{mat}
S_{1,1} &S_{2,1} &S_{3,1} \\
S_{1,2} &S_{2,2} &S_{3,2} \\
S_{1,3} &S_{2,3} &S_{3,3}
\end{mat}
=
\begin{mat}[r]
-12 &3 &-9 \\
8 &-23 &13 \\
-28 &7 &7
\end{mat}
\end{equation*}
\end{frame}
\begin{frame}
\th[th:MatTimesAdjEqDiagDets]
\ExecuteMetaData[../det3.tex]{th:MatTimesAdjEqDiagDets}
\pause
\medskip
This summarizes.
\begin{multline*}
\generalmatrix{t}{n}{n}
\begin{mat}
T_{1,1} &T_{2,1} &\ldots &T_{n,1} \\
T_{1,2} &T_{2,2} &\ldots &T_{n,2} \\
&\vdots & & \\
T_{1,n} &T_{2,n} &\ldots &T_{n,n}
\end{mat} \\
=\begin{mat}
|T| &0 &\ldots &0 \\
0 &|T| &\ldots &0 \\
&\vdots & & \\
0 &0 &\ldots &|T|
\end{mat}
\end{multline*}
\end{frame}
\begin{frame}
\pf[th:MatTimesAdjEqDiagDets]
\nearbytheorem{th:LaPlaceExp} says we can calculate
the determinant of an \( \nbyn{n} \) matrix \( T \)
by taking linear combinations of entries from a row and
their associated cofactors.
\begin{equation*}
t_{i,1}\cdot T_{i,1}+t_{i,2}\cdot T_{i,2}+\dots+t_{i,n}\cdot T_{i,n}
=\deter{T}
% \tag*{($*$)}
\end{equation*}
This immediately gives the diagonal entries of the matrix result
of $T\adj(T)$.
\pause
For the off-diagonal entries,
recall that a matrix with two identical rows has a determinant of~$0$.
Thus, for any matrix \( T \),
weighing the cofactors by entries from
row~$k$ with $k\neq i$ gives $0$
\begin{equation*}
t_{i,1}\cdot T_{k,1}+t_{i,2}\cdot T_{k,2}+\dots+t_{i,n}\cdot T_{k,n}=0
%\tag*{($**$)}
\end{equation*}
because it represents the expansion along the row~$k$ of a matrix with
row~\( i \) equal to row~\( k \).
\qed
\end{frame}
\begin{frame}
\ex
The inverse of this matrix
\begin{equation*}
S=
\begin{mat}[r]
3 &1 &2 \\
5 &4 &-1 \\
7 &0 &-3
\end{mat}
\end{equation*}
is this.
\begin{equation*}
\frac{1}{\deter{S}}\cdot\adj(S)
=
\frac{1}{-84}
\cdot
\begin{mat}[r]
-12 &3 &-9 \\
8 &-23 &13 \\
-28 &7 &7
\end{mat}
\end{equation*}
\pause
\medskip
\no
The formulas from this section are useful for theory, and for
computations with small or special-case matrices.
But they are
not the best choice for computations with arbitrary matrices
because they use more arithmetic than the
Gauss-Jordan method.
\end{frame}
%...........................
% \begin{frame}g
% \ExecuteMetaData[../gr3.tex]{GaussJordanReduction}
% \df[def:RedEchForm]
%
% \end{frame}
\end{document}