Professional Documents
Culture Documents
Linear Algebra
Linear Algebra
2 36 Row1 * ½
1 1.5 3
4 39 4 3 9
Operasi Baris Elementer - OBE Elementary Row Operation - ERO
2 36 Interchange Row1
and Row2
4 39
4 39 2 36
Operasi Baris Elementer - OBE Elementary Row Operation - ERO
2. If there are any row that consist entirely of zeros, then they are grouped together
at the bottom of the matrix.
3. If any two successive rows that do not consist entirely of zeros, the leading one in
the lower row occurs farther to the right than the leading one in the higher row.
Row Echelon
Form – REF
Gaussian Elimination
Reduced Row Echelon Form – RREF
1. If a row does not consist entirely of zeros, then the first nonzero number in the row is a 1
(we call this a leading one).
2. If there are any row that consist entirely of zeros, then they are grouped together at the
bottom of the matrix.
3. If any two successive rows that do not consist entirely of zeros, the leading one in the
lower row occurs farther to the right than the leading one in the higher row.
4. Each column that contains a leading one has zeros everywhere else
(above and below)
Reduced
Row Echelon
Form – RREF
Gauss-Jordan Elimination
0 1 2 8 1 2 3 6
3 1 2 11 2 4 6 12
6 2 1 13 2 3 4 9
1 2 3 9 1 2 39 1 0 11
2 4 6 18 0 1 25 0 1 25
2 3 4 13 0 0 00 0 0 00
(AM) (REF) (RREF)
• Homogeneous Linear System :
• In a homogeneous linear system the constant terms are all zeros.
• Solution:
• Trivial (xi = 0; i = 1, 2, 3, .. n ) All variables must independent
• Non-trivial (infinitely many solutions , plus the trivial solution) At least one
variable is dependent
Intro Matrices
• Matrix Operations
• Special Matrices
What will we • Determinant
• Inverse Matrix
learn?
• Addition
• 𝐶 = 𝐴+𝐵
Matrix • Subtraction
Operations • 𝐶 = 𝐴−𝐵
• Scalar multiplication
• 𝐶 = 𝑏(𝐴)
• Matrices multiplication
• 𝐶 = 𝐴𝐵
• Trace
• 𝑡𝑟 𝐴 = σ𝑛𝑖=1 𝑎𝑖𝑖 = 𝑎11 + 𝑎22 + ⋯ + 𝑎𝑛𝑛
• Transpose
• 𝑇 = 𝐴𝑇
• Diagonal matrix
Special • 𝐷: 𝑎𝑖𝑗 = 0 𝑓𝑜𝑟 𝑖 ≠ 𝑗
• Upper triangular matrix
Matrices • 𝑈: 𝑎𝑖𝑗 = 0 𝑓𝑜𝑟 𝑖 > 𝑗
• Lower triangular matrix
• 𝐿: 𝑎𝑖𝑗 = 0 𝑓𝑜𝑟 𝑖 < 𝑗
• Symmetric matrix
• 𝑆: 𝑎𝑖𝑗 = 𝑎𝑗𝑖
• Cofactor matrix
• Adjoint matrix
• 𝐽 = 𝑎𝑑𝑗 𝐴 = 𝐶 𝑇
Matrix of cofactors:
A= 3 1 –4
2 5 6
1 4 8
M23 = 3 1 = 12 – 1 = 11
1 4
B= 1 2 3 1 2 3
-4 5 6 -4 5 6
7 -8 9 7 -8 9
B= 1 2 3 1 2 3
-4 5 6 -4 5 6
7 -8 9 7 -8 9
det (B) = 1 5 6 – 2 –4 6 + 3 –4 5
–8 9 7 9 7 –8
“Proof”: 2 7 -3 2 7
0 -3 7 0 -3
0 0 6 0 0
If a square matrix A is transformed into matrix B
by
• ERO 1: then det(B) = k det(A)
• ERO 2: then det(B) = – det(A)
• ERO 3: then det(B) = det(A)
Example 2
B= 1 2 3 1 2 3
–4 5 6 -4 5 6
7 –8 9 7 –8 9
det(B) = (45+84+96) – (105+(-48)+(-72)) = 240
B’ = 1 2 3 B’’ = 1 2 3
0 13 18 0 13 18
0 -22 -12 0 0 240/13
u = (u1, u2) R2
the norm of vector u = ||u|| = (u12 + u22)
iff u . v = 0
Dot product (Euclidean Inner Product):
u . v = scalar
then
2-space: u . v = u1v1 + u2v2
3-space: u . v = u1v1 + u2v2 + u3v3
Cross product :
vector u and vector v are both in 3-space
u = (u1, u2, u3) v = (v1, v2, v3)
then u v = w where w is orthogonal to u and v
uv= u2 u 3 , – u1 u3 , u1 u2
v2 v3 v1 v3 v1 v2
w1 w2 w3
w= uv
https://youtu.be/kYB8IZa5AuE?t=8m
Euclidean n-spaces
n-space
The set of vectors with n components
{ … , v = (v1, v2, v3, v4, …, vn), ….. }
(v1, v2, v3, v4, …, vn) is called ordered n-tuple
Example
• Your grade (100, 28, 49, 89, 90) quintuple