Professional Documents
Culture Documents
MA2071 Lecture Notes
MA2071 Lecture Notes
MA2071 Page 1
Intro
Sunday, January 12, 2020 3:28 PM
Prof. Naralah
hmnasralah@wpi.edu
MA2071 Page 2
L1: Systems of linear equations in Lin Alg
Wednesday, January 15, 2020 12:20 PM
if 2 lines (in2 variables) are not parallel, then they only have exactly One solution.
if they are parallel, They either have no solution or overlap giving infinitely many solutions.
Remark:
1. one solution
2. no solutions
3. Infinitely many Solutions
MA2071 Page 3
Matrix notation
- used all term
- idea: record Sys. of eqs. without redundancies
MA2071 Page 4
L2: Row reduction and Echelon form
Thursday, January 16, 2020 11:57 AM
1. first nonzero entry of each row is 1. these are called " Pivot" / lead
1s"
2. every entry below a pivot must be 0
Methods to solve:
1. Gaussian elimination
2. transform system in matrix form to row echelon form
3. use back substitution to get Solution
MA2071 Page 5
use either gaussian or gauss Jordan elimination to solve the system
MA2071 Page 6
L3 + L4 : Vector equations
Friday, January 17, 2020 12:00 PM
example:
scaling
MA2071 Page 7
Recall: making new vectors out of old ones
MA2071 Page 8
MA2071 Page 9
MA2071 Page 10
L4B & L5: 1.4: the Matrix equation
Tuesday, January 21, 2020 12:39 PM
MA2071 Page 11
MA2071 Page 12
For every
The columns of
MA2071 Page 13
MA2071 Page 14
L6 Solution sense of linear systems
Friday, January 24, 2020 11:57 AM
MA2071 Page 15
MA2071 Page 16
L6 B + L7A : applications of linear systems
Friday, January 24, 2020 12:35 PM
MA2071 Page 17
MA2071 Page 18
MA2071 Page 19
MA2071 Page 20
MA2071 Page 21
MA2071 Page 22
MA2071 Page 23
MA2071 Page 24
L7B + 8A : Linear independence
Monday, January 27, 2020 12:34 PM
MA2071 Page 25
MA2071 Page 26
MA2071 Page 27
L8B + 9A : Linear Transformations
Tuesday, January 28, 2020 12:35 PM
MA2071 Page 28
MA2071 Page 29
MA2071 Page 30
MA2071 Page 31
9B, 10A : the matrix of linear transformation
Thursday, January 30, 2020 12:49 PM
The only Linear transformations are matrix ones. If T is linear, there is a matrix A that T(x) =A(x)
MA2071 Page 32
MA2071 Page 33
10B/11A Matrix operations/arithmetic
Monday, February 3, 2020 12:01 PM
MA2071 Page 34
MA2071 Page 35
11B/12A: Inverse of a Matrix
Tuesday, February 4, 2020 12:00 PM
MA2071 Page 36
MA2071 Page 37
MA2071 Page 38
L13:intro to determinants
Thursday, February 6, 2020 12:18 PM
MA2071 Page 39
MA2071 Page 40
personal notes for the determinant
Monday, February 3, 2020 5:12 PM
MA2071 Page 41
L14: Determinants continued
Monday, February 10, 2020 11:58 AM
MA2071 Page 42
MA2071 Page 43
L15: vector space and subspace
Tuesday, February 11, 2020 11:55 AM
MA2071 Page 44
MA2071 Page 45
MA2071 Page 46
2.8 Subspace of R^n
Thursday, February 13, 2020 11:58 AM
MA2071 Page 47
MA2071 Page 48
MA2071 Page 49
5.1 Eigenvectors and eigenvalues
Friday, February 14, 2020 12:01 PM
MA2071 Page 50
MA2071 Page 51
MA2071 Page 52
L16
Monday, February 17, 2020 11:58 AM
MA2071 Page 53
MA2071 Page 54
L18
Tuesday, February 18, 2020 12:02 PM
MA2071 Page 55
MA2071 Page 56
L19
Thursday, February 20, 2020 12:00 PM
MA2071 Page 57
MA2071 Page 58
MA2071 Page 59
L20
Friday, February 21, 2020 12:01 PM
MA2071 Page 60
MA2071 Page 61
L21
Monday, February 24, 2020 12:02 PM
MA2071 Page 62
MA2071 Page 63
MA2071 Page 64
MA2071 Page 65
MA2071 Page 66
MA2071 Page 67
L22
Tuesday, February 25, 2020 12:26 PM
MA2071 Page 68
MA2071 Page 69
L23
Monday, March 2, 2020 12:04 PM
MA2071 Page 70
MA2071 Page 71
MA2071 Page 72
L24
Tuesday, March 3, 2020 12:01 PM
MA2071 Page 73
MA2071 Page 74
FINAL NOTES TO STUDY
Wednesday, March 4, 2020 6:26 PM
2.8: Subspaces of
- Column space of A
○ The set of Col a of all linear combinations of the columns of A
○ Ex:
MA2071 Page 75
- Null Space: Vectors x that satisfy
Create
Null space:
Nullity of 2
- Key notes:
○ Find the free variables, row reduce and solve everything.
MA2071 Page 76
○ Example: if a 5x7 matrix has only 3 pivots, then the rank of A is 3
3.1: Determinants
The numbers will change signs based on the expansion when they become the factors of a
matrix similar to the image below
MA2071 Page 77
3.2: Properties of Determinants
Row Operations
A. If a row of A is added to another row to produce a matrix B,
B. If two rows are switched in a matrix:
C. If one row is multiplied by , then
Triangle Theorem
If
Same for if
Vector Space: a non empty set V of vectors which are defined two operations, addition and
multiplication by scalars
Rules:
1. The Sum of u and v denoted by is in V
2. The Scalar multiple of u by c is known as is in V
These operations apply with the same addition and multiplication rules as with standard
addition and multiplication
Subspaces
- A vector subspace is a subset H of V with the three properties
1. The zero vector of Vis in H
2. H is closed under addition, meaning that the sum of is in H
3. H is closed under multiplication by scalars, meaning that vector is in H
- How do you test this?
○ Check these two statements
▪ are in if u and v are in
▪ is in if v is in
MA2071 Page 78
5.1: Eigenvectors and eigenvalues
Subtract an eigen identity matrix from the main matrix, and then row reduce to find the
value,
Example:
MA2071 Page 79
Eigen Value Rules
1. 0 is not an eigenvalue of A
2. The determinant of A is not zero
Lets say and are eigen values and they form the basis
For this case, you find vectors that satisfy the conditions until you have enough for an eigen
basis
5.3: Diagonalization
- If D =
-
If told to find
- matrix A
- Diagonal nxn matrix B
- Example:
○
- A square matrix A is diagonalizable if A is similar to a diagonal matrix
Theorems
A.
B.
C.
D. and if and only
Vector Length:
Orthogonal Vectors:
MA2071 Page 80
6.2: Orthogonal Sets
- Think of it similarly to a basis, these are vector sets that are orthogonal. In this set, all
vectors are orthogonal to each other.
Orthonormal Sets:
- For this to be true, and
Convert the orthogonal basis into ortho normal for this to work at all.
If this is truly orthogonal, Then the matrix should be 0 in every entry except for the diagonal
which should appear as , or
Orthogonal Decomposition:
So, for the full formula, to show the orthogonal projection of y onto W:
MA2071 Page 81
To find a new vector based off of an old one, use the following:
- For vectors
○
○
○
Orthonormal Basis:
Alternative Calculations
-
MA2071 Page 82
MA2071 Page 83
Homework
Sunday, January 19, 2020 1:55 PM
MA2071 Page 84
HW 1 Scratchpad
Sunday, January 19, 2020 1:55 PM
MA2071 Page 85
pad 3
Monday, January 20, 2020 2:14 PM
MA2071 Page 86
MA2071 Page 87
pad 4
Tuesday, January 21, 2020 1:52 AM
MA2071 Page 88
MA2071 Page 89
MA2071 Page 90
Pad 5
Tuesday, January 21, 2020 5:57 PM
MA2071 Page 91
Pad 6: Linear determinant example
Tuesday, January 28, 2020 2:59 PM
MA2071 Page 92
Pad 7
Monday, February 3, 2020 5:36 PM
MA2071 Page 93
Pad 8
Sunday, February 16, 2020 10:45 PM
MA2071 Page 94
MA2071 Page 95
MA2071 Page 96
Pad 9
Monday, February 17, 2020 12:42 AM
MA2071 Page 97
P10
Tuesday, February 18, 2020 5:16 PM
MA2071 Page 98
MA2071 Page 99
MA2071 Page 100
MA2071 Page 101
P11
Sunday, March 1, 2020 2:54 PM
Augmented Matrix
Row Operations
- Add and Subtract
- Scale
- Switch Rows
Planes
Matrix Equation
Chemical Formulas
Flow
Linear Combination:
T(x) = A(x)
Linear Transformation
Identity Matrix
- A matrix that is completely row reduced and square (nxn, one pivot in each row)
Matrix Arithmetic
- Addition/Subtraction of a matrix: Matrices A and B must have the same dimensions (mxn)
- Multiplication: Columns of A must be equal to the rows of B
( )
Inverse Matrix
-
Augment an identity matrix to the original matrix and row reduce to find the new matrix
-
Determinant of a 5x5 or higher matrix: Reduce to Row Echelon and Multiply diagonally
Transposed Matrix:
Inversion Rules:
A is invertible
B. A is row equivalent to the NXN identity matrix
C. A has n Pivots
D. AX=0 has only the trivial solution
E. the Columns of A form a linearly independent set
F. Linear transformation x Ax is one to one
g. has at least one solution for each b in
h. Columns of A span
i. maps an onto
j. There is a matrix , C such that CA =I
k there is a matrix nxn, D such that AD = I
h is invertible
THESE RULES ARE EITHER ALL TRUE OR ALL FALSE, NOTHING IN BETWEEN
>> A = [1,1;0,3]
A=
1 1
0 3
>> a = [8;21]
a=
8
21
>> A*a
ans =
29
63
>> a1=rem(A*a,26)
a1 =
3
11
>> b=[19;18]
b=
19
18
>> b=[18;18]
b=
18
18
>> A*b
ans =
>> rem(A*b,26)
ans =
10
2
>> c= [25;21]
c=
25
21
>> A*c
ans =
46
63
>> rem(A*c,26)
ans =
20
11
>> d = [16;16]
d=
16
16
>> A*d
ans =
32
48
>> d1=rem(A*d,26)
d1 =
6
22