L.A. Slides
L.A. Slides
1
2
----------------------------------------------------------------------------------------------------------------
3
4
5
6
7
8
A matrix with m rows and n columns is referred to as an m × n matrix or as having size m × n.
9
A is
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
Properties of trace
▪ 𝒕𝒓 𝑨 + 𝑩 = 𝒕𝒓 𝑨 + 𝒕𝒓 𝑩
▪ 𝒕𝒓 𝑨𝑩 = 𝒕𝒓 𝑩𝑨
▪ 𝒕𝒓(𝒄𝑨) = 𝒄𝒕𝒓 𝑨
▪ 𝒕𝒓(𝑨𝒕 ) = 𝒕𝒓 𝑨
38
39
40
41
42
43
44
Elementary Row operations
45
Equivalent Matrices
e.g 𝑰𝟐 and the matrix are equivalent because we can obtain A from
identity matrix by multiplying row 2 by -3
Elementary Matrix
46
47
Determinants
Let’s talk about minor and cofactor of an element with the help of which we will calculate determinants of higher order matrices.
48
Minor & Cofactor of an element
(In a Square Matrix)
49
50
51
Problem
52
By cofactor expansion along the first coulmn
53
54
e. g
55
56
57
58
59
60
61
62
63
64
In general
65
Evaluating Determinants by Row Reduction
66
67
68
Practice Problem
Use either elementary row operation or cofactor expansion, to
evaluate the determinant by hand.
69
A matrix is said to be in Echelon form if it has the following properties
2. In each successive nonzero row, the number of zeros before the leading entry of a
row increases row by row.
70
71
72
73
74
75
Inverse of a 2 × 2 Matrix
76
77
Problem
Find the inverse of the matrix
Sol
Another method for finding inverse of a matrix is illustrated in the coming slides.
78
79
80
81
82
Note
83
84
Practice Problem
85
86
87
88
General Form of a Diagonal Matrix
89
Inverse of a Diagonal Matrix
90
91
Practice Problem
92
93
Practice Problem
94
95
96
A system of linear equations (or a linear system) is a collection of
one or more linear equations involving the same variables.
97
98
Linear System
is a solution of
99
In matrix form, we can write ( ) as
where,
A is called the
100
101
102
103
104
Fundamental Theorem for Linear System
is consistent, that is, has solutions, if and only if the coefficient matrix A and the
augmented matrix have the same rank. Here,
105
(b) Uniqueness. The system has precisely one solution if and only if this common
rank r of A and equals n.
(c) Infinitely many solutions. If this common rank r is less than n, the system
has infinitely many solutions. All of these solutions are obtained by determining r
suitable unknowns (whose submatrix of coefficients must have rank r) in terms of the
remaining unknowns, to which arbitrary values can be assigned.
106
𝒓𝟏 = Rank of coefficient Matrix
𝒓𝟐 = Rank of Augment Matrix Linear System
𝒏=Number of Unknowns
𝒓𝟏 = 𝒓𝟐 𝒓𝟏 ≠ 𝒓𝟐
consistent inconsistent
𝒓𝟏 = 𝒓𝟐 = n 𝒓𝟏 = 𝒓𝟐 < n
107
Practice Problem
Use Fundamental theorem of linear system to check the consistency of the
following linear system. If the system is consistent, then find all possible
solutions:
8𝑥 + 5𝑦 + 11𝑧 = 30
−𝑥 − 4𝑦 + 2𝑧 = 3
2𝑥 − 𝑦 + 5𝑧 = 12.
108
Problem
109
Practice Problem
110
m = Number of Equations
n =Number of Unknowns
Linear System
𝒎 = 𝒏 𝒎≠𝒏
𝒅𝒆𝒕 𝑨 = 𝟎
𝒅𝒆𝒕(𝑨) ≠ 𝟎 Gauss Gauss
Elimination Jordan
Elimination
Unique Solution Gauss Gauss
Elimination Jordan
Elimination
112
Problem
113
114
115
116
117
118
119
120
121
122
Problem
123
If we reduced the augmented matrix to reduce echelon form, we have
124
125
Practice Problem
126
127
Problem
128
Practice Problem
Use Cramer’s Rule to solve (if possible) the system of linear equations.
129
e.g.
130
131
Use Fundamental theorem of
linear system to check the
consistency of the linear system.
132
133
134
135
A point where two or more things are joined is called a junction.
136
137
Problem 1
138
139
140
141
142
143
144
Practice Problem
40
145
Practice Problem
Find conditions on 𝑎 such that the system has (i) no solution (ii) one
solution or (iii) infinitely many solutions.
146
Practice Problem
147
A chemical equation is said to be balanced if for each type of atom in the reaction, the same
number of atoms appears on each side of the arrow. For example
by which we mean that one methane molecule combines with two stable oxygen molecules
to produce one carbon dioxide molecule and two water molecules.
148
If a chemical equation is not balanced, for example
The standard convention is to use the smallest positive integers that will balance
the equation.
To balance this equation we must find positive integers 𝑥1 , 𝑥2 , 𝑥3 and 𝑥4 such
that
For each of the atoms in the equation, the number of atoms on the left must be
equal to the number of atoms on the right. Expressing this in tabular form we
have
149
150
151
152
Problem
(b)
154
155
156
Solving the linear system we can obtain 𝑎 and 𝑏 and then by putting these
value in (8) we can get the equation of line.
157
158
Problem
Find a polynomial that interpolate the points −2, 3 , −1, 5 , 0, 1 , (1, 4) and
2, 10 .
Solution
159
Solving the linear system we obtain
160
Practice Problem
161
Practice Problem
Make a linear system for the following problem.
162
Practice Problem
163
164
The set of all ordered 𝑛-tuples of real numbers is denoted by the symbol 𝑅𝑛 .
When convenient, ordered 𝑛-tuples can be denoted in matrix notation as column
vectors. For example, the matrix
165
It may have occurred to you that an ordered pair 𝑣1 , 𝑣2 can represent
either a vector with components 𝑣1 and 𝑣2 or a point with coordinates 𝑣1
and 𝑣2 (and similarly for ordered triples). Both are valid geometric
interpretation.
The term “vector” is used in various ways in mathematics, physics,
engineering, and other applications.
166
167
168
169
170
3, 4, 5, 7, 8, 9, and 10.
171
172
173
𝑚𝑛
𝑛𝑛
174
175
176
177
178
We know that the sum of two symmetric n × n matrices is symmetric
and that a scalar multiple of a symmetric n × n matrix is symmetric. Thus, the set of
symmetric n × n matrices is closed under addition and scalar multiplication and hence
is a subspace of 𝑀𝑛𝑛 . Similarly, the sets of upper triangular matrices, lower triangular
matrices, and diagonal matrices are subspaces of 𝑀𝑛𝑛 .
179
180
181
182
Thus the solution set of a homogenous Linear system of 𝑚 equations in 𝑛 unknowns is a
subspace of 𝑅𝑛 .
183
Practice Problem
Determine whether the following sets are subspaces of R 3 with respect to the standard
operation of vector addition and scalar multiplication. [06 Marks]
(a) A = {( x, y, z) R : x + 2 y − z = 0 = 3x − 5z}
3
(b) B = {( x, y, z) R3 : x + 2 y − z = 1}
184
Linear Combination of vectors
𝑐1 𝒗𝟏 + 𝑐2 𝒗𝟐 + ⋯ + 𝑐𝑛 𝒗𝒏
------------------------------------------------------------------------------------------------------------
185
186
Examples
187
188
189
190
191
Problem
192
193
194
Practice Problems
195
196
Problem
197
198
199
200
201
Linear Independence
202
203
204
205
Problem
Solution
206
207
208
Problem
209
210
211
212
213
214
A vector space 𝑉 is said to be finite-dimensional if there is a
finite set of vectors in 𝑉 that spans 𝑉 and is said to be infinite-dimensional
if no such set exists.
_____________________________________________________________
215
216
217
218
219
220
Dimension
221
222
223
224
Practice Problem
225
Coordinates Relative to a Basis
226
227
228
229
Problem
230
231
Problem
The vectors
232
233
.
234
Practice Problem
235
.
236
237
238
239
Transition Matrices
240
In short
241
Problem
Solution
242
243
244
Practice Problem
245
and use the transition matrix obtained in part 1 solution to compute
246
Row Space, Column Space and Null Space
247
248
249
250
Then we can write
251
252
Problem
253
Thus
254
255
Problem
256
257
258
Problem
Solution
259
260
261
Problem
262
Solution
263
264
Problem
Solution
265
266
267
Practice Problem 1
Determine whether b is in the column space of 𝐴, and if so, express b as a
linear combination of the column vectors of 𝐴.
268
Practice Problem 2
Find bases for the row space and column space of the matrix
269
270
271
Problem
Solution
272
273
Inner Product Spaces
274
275
276
277
278
279
280
281
282
283
284
Practice Problems
285
Norm of a vector and Distance b/w two vectors in an Inner Product Space
286
Practice Problems
287
288
More Practice Problems
1)
Let 𝒖=(𝑢1 , 𝑢2 ) and 𝒗=(𝑣1 , 𝑣2 ) be vectors in ℝ2 . Show that < 𝒖, 𝒗 >= 4𝑢1 𝑣1 + 𝑢2 𝑣1 +
𝑢1 𝑣2 + 4𝑢2 𝑣2 is an inner product on ℝ2 .
2)
−1 3 0 −2
For 𝐴 = and 𝐵 = , use the inner product < 𝑨, 𝑩 > =2 𝑎11 𝑏11 +
4 −2 1 1
𝑎12 𝑏12 + 𝑎21 𝑏21 + 2𝑎22 𝑏22 in 𝑀22 to find (a) < 𝑨, 𝑩 > (b) 𝑨 (c) 𝑑 𝑨, 𝑩 .
----------------------------------------------------------------------------------------------------------------------------------------------------
289
290
291
292
293
Technique for making an orthogonal set an orthonormal Set
294
Example
295
Practice Problem
296
The Gram-Schmidt Process
297
Problem
298
299
300
Practice Problem
301
302
303
304
305
𝒃
b−𝑨ෝ
𝒙
306
307
For every linear system A𝒙 = 𝒃, the associated normal system
𝐴𝑇 A𝒙 = 𝐴𝑇 𝒃---------------------------------------(1)
308
Problem
Solution
309
310
311
312
Problem
Solution
313
314
315
316
Note
317
318
319
320
321
We know that a square matrix has linearly independent column vectors if and only if it is
invertible. Thus, every invertible matrix has a 𝑄𝑅-decomposition.
322
Problem
Solution
Applying the Gram–Schmidt process with normalization to these column vectors yields the
orthonormal vectors
323
324
325
Eigenvalues & Eigenvectors
326
327
Note: An eigenvalue of 𝜆 = 0 is possible.
328
329
330
Example
331
The question is : How to find the eigenvalues and eigenvectors of a given
square matrix.
332
333
334
335
Problem
Solution
( Characteristic Polynomial )
336
337
338
Problem
Solution
339
340
341
342
343
344
Problem
Solution
345
we have
346
Similarly
347
348
Practice Problem
349
Finding characteristic equation can sometime become tedious, here is
a short formula for find characteristic equation of a 3 × 3 matrix
det 𝜆𝐼 − 𝐴 = 𝜆3 − 𝑐1 𝜆2 + 𝑐2 𝜆 − 𝑐3
350
In short, characteristic polynomial of a 3 × 3 matrix is given by:
det 𝜆𝐼 − 𝐴 = 𝜆3 − 𝑡𝑟 𝐴 𝜆2 + 𝑆𝑢𝑚 𝑜𝑓 𝑚𝑖𝑛𝑜𝑟𝑠 𝑜𝑓 𝑑𝑖𝑎𝑔𝑜𝑛𝑎𝑙 𝑒𝑙𝑒𝑚𝑒𝑛𝑡𝑠 𝜆 − det(𝐴)
351
352
Practice Problem 1
Find the characteristic equation, the eigenvalues, and bases for the
eigenspaces of the given matrices.
𝐴= & 𝐵=
353
Practice Problem 2
354
Similar Matrices
355
and are similar matrices
356
Diagonalizable Matrix
e.g
is diagonalizable
357
358
359
Problem
360
361
362
363
364
365
366
Problem
367
368
369
Practice Problem
370
371
372
373
374
375
Problem
( Previous Slides )
376
377
Practice Problems
(1)
(a) (b)
378
Linear Transformations
379
380
381
Problem
Solution
382
383
Linear Transformation
384
Examples of Linear Transformation
385
386
387
388
389
Problem
Solution
390
391
392
393
Problem
Solution
394
That's why
395
Problem
396
397
398
399
Kernel & Range of a Linear Transformation
400
Problem
Solution
401
402
Practice Problem
Determine whether the mapping 𝑇 is a linear transformation, and if so, find its kernel:
403
404
405
406
407
408
409
410
.
411
412
413
𝑅𝑛 𝑅𝑚
414
Method for finding standard Matrix for a Linear Transformation
from 𝑹𝒏 to 𝑹𝒎
415
Problem
Solution
416
417
Practice Problem
418
Problem
Solution
419
By solving both systems we get
420
By using the linearity properties of 𝑇, we obtain
421
422
Problem
Solution
The standard matrix for T is
423
424
Practice Problem 1
425
Practice Problem 2
426
Reflection Operators
427
Reflection about 𝑦-axis
428
Reflection about 𝑥𝑦-plane
429
Reflection about 𝑥𝑧-plane
430
Thank you
431