SlideShare una empresa de Scribd logo
1 de 31
Linear Algebra
& Matrix
T- 1-855-694-8886
Email- info@iTutor.com
By iTutor.com
Linear Algebra
History:
 The beginnings of matrices and determinants goes back to
the second century BC although traces can be seen back to
the fourth century BC. But, the ideas did not make it to
mainstream math until the late 16th
century.
 The Babylonians around 300 BC studied problems which
lead to simultaneous linear equations.
 The Chinese, between 200 BC and 100 BC, came much closer
to matrices than the Babylonians. Indeed, the text Nine
Chapters on the Mathematical Art written during the Han
Dynasty gives the first known example of matrix methods.
 In Europe, two-by-two determinants were considered by
Cardano at the end of the 16th
century and larger ones by
Leibniz and, in Japan, by Seki about 100 years later.
What is a Matrix?
A matrix is a set of elements, organized into rows and columns






dc
ba
Rows
Columns
 a and d are the diagonal elements.
 b and c are the off-diagonal elements.
 Matrices are like plain numbers in many ways: they can be
added, subtracted, and, in some cases, multiplied and
inverted (divided).
Examples:
[ ]δβα=





−
= b
d
b
A ;
1
1
Dimensions of a matrix:
Numbers of rows by numbers of columns. The Matrix A is
a 2x2 matrix, b is a 1x3 matrix.
A matrix with only one column or only one row is called a
vector.
If a matrix has an equal numbers of rows and columns, it is
called a square matrix. Matrix A, above, is a square matrix.
Usual Notation: Upper case letters => matrices
Lower case => vectors
Matrix multiplication
 Multiplication of matrices requires a conformability condition
The conformability condition for multiplication is that the
column dimensions of the lead matrix A must be equal to the
row dimension of the lag matrix B.
If A is an (m x n) and B an (n x p) matrix (A has the same
number of columns a B has rows), then we define the product
of AB. AB is (m x p) matrix with its ij-th element is
What are the dimensions of the vector, matrix, and result?
[ ] [ ]131211
232221
131211
1211 cccc
bb
bbb
aaaB ==








=
[ ]231213112212121121121111 babababababa +++=
 Dimensions: a(1 x 2), B(2 x 3) => c (1 x 3)
jk
n
j ijba∑ =1
Transpose Matrix










−
=′=>




 −
=
49
08
13
401
983
AA:Example
 The transpose of a matrix A is another matrix AT
(also written A
′) created by any one of the following equivalent actions:
- Write the rows (columns) of A as the columns (rows) of AT
- Reflect A by its main diagonal to obtain AT
 Formally, the (i, j) element of AT
is the (j, i) element of A:
[AT
]ij
= [A]ji
 If A is a m × n matrix => AT
is a n × m matrix.
 (A')' = A
 Conformability changes unless the matrix is square.
Special Matrices: Identity and Null




















000
000
000
100
010
001
 Identity Matrix is a square matrix with ones
along the diagonal and zeros everywhere else.
Similar to scalar “1.”
 Null matrix is one in which all elements are
zero. Similar to scalar “0.”
 Both are diagonal matrices => off-diagonal
elements are zero.
 Both are symmetric and examples of idempotent
matrices. That is,
A = AT
and A = A2
= A3
= …
Basic Operations
Addition, Subtraction, Multiplication






++
++
=





+





hdgc
fbea
hg
fe
dc
ba






−−
−−
=





−





hdgc
fbea
hg
fe
dc
ba






++
++
=











dhcfdgce
bhafbgae
hg
fe
dc
ba
Just add elements
Just subtract elements
Multiply each row by
each column and add






=





kdkc
kbka
dc
ba
k Multiply each
element by the scalar
Basic Matrix Operations: Examples
222222
117
25
20
13
97
12
xxx CBA =+






=





+





Matrix addition
Matrix subtraction
Matrix multiplication
Scalar multiplication






=





−





65
11
32
01
97
12
222222 x
2726
34
32
01
x
97
12
xxx CBA =






=

















=





8143
2141
16
42
8
1
Laws of Matrix Addition & Multiplication






++
++
=





+





=+
22222121
12121111
2221
1211
2221
1211
abaa
abba
bb
bb
aa
aa
BA
 Commutative law of Matrix Addition: A + B = B + A






++
++
=





+





=+
22222121
12121111
2221
1211
2221
1211
abab
abab
bb
aa
bb
bb
AB
 Matrix Multiplication is distributive across Additions:
A (B+ C) = AB + AC (assuming comformability applies).
Matrix Multiplication
 Matrix multiplication is generally not commutative. That is,
AB ≠ BA even if BA is conformable
(because diff. dot product of rows or col. of A&B)





 −
=





=
76
10
,
43
21
BA
( ) ( ) ( ) ( )
( ) ( ) ( ) ( ) 





=





+−+
+−+
=
2524
1312
74136403
72116201
AB
( ) ( )( ) ( ) ( )
( ) ( ) ( ) ( ) 




 −−
=





++
−+−+
=
4027
43
47263716
41203110
BA
 Exceptions to non-commutative law:
AB=BA iff
B = a scalar,
B = identity matrix I, or
B = the inverse of A -i.e., A-1
 Theorem: It is not true that AB = AC => B=C
Proof:










−−−=









 −
=










−−
−=
132
111
212
;
011
010
111
;
321
101
121
CBA
Note: If AB = AC for all matrices A, then B=C.
Inverse of a Matrix
 Identity matrix:
AI = A










=
100
010
001
3I
Notation: Ij is a jxj identity matrix.
 Given A (mxn), the matrix B (nxm) is a right-inverse for A iff
AB = Im
 Given A (mxn), the matrix C (mxn) is a left-inverse for A iff
CA = In
 Theorem: If A (mxn), has both a right-inverse B and a left-inverse C,
thenC = B.
Proof:
We have AB=Im and CA=In.
Thus,
C(AB)= C Im = C and C(AB)=(CA)B= InB = B
=> C(nxm)=B(mxn)
Note:
- This matrix is unique. (Suppose there is another left-inverse D,
then D=B by the theorem, so D=C.)
- If A has both a right and a left inverse, it is a square matrix. It
is usually called invertible.
 Inversion is tricky:
(ABC)-1
= C-1
B-1
A-1
 Theorem: If A (mxn) and B (nxp) have inverses, then AB is
invertible and (AB)-1
= B-1
A-1
Proof:
We have AA-1
=In and A-1
A=Im
BB-1
=In and B-1
B=Ip
Thus,
B-1
A-1
(AB) = B-1
(A-1
A) B= B-1
InB = B-1
B = Ip
(AB) B-1
A-1
= A (BB-1
) A-1
= A In A-1
= A A-1
= Im
=> AB is invertible and (AB)-1
= B-1
A-1
 More on this topic later
Transpose and Inverse Matrix
 (A + B)' = A' + B'
 If A' = A, then A is called a symmetric matrix.
 Theorems:
- Given two conformable matrices A and B, then (AB)' = B'A'
- If A is invertible, then (A-1
)' = (A')-1
(and A' is also invertible).
16
Properties of Symmetric Matrices
 Definition:
If A' = A, then A is called a symmetric matrix.
 Theorems:
- If A and B are n x n symmetric matrices, then (AB)' = BA
- If A and B are n x n symmetric matrices, then (A+B)' = B+A
- If C is any n x n matrix, then B = C'C is symmetric.
 Useful symmetric matrices:
V = X’X
P = X(X’X)-1
X’
M = I – P = I - X(X’X)-1
X’
4.1 Application I: System of equations
 Assume an economic model as system of linear equations with:
aij parameters, where i = 1.. n rows, j = 1.. m columns, and n=m
xi endogenous variables,
di exogenous variables and constants
nn
n
n
nm
m
m
nn d
d
d
x
x
x
ax
ax
ax
axa
axa
axa






2
1
2
22
12
211
22121
12111
=
=
=
+
+
+
+
+
+
 A general form matrix of a system of linear equations
Ax = d where
A = matrix of parameters
x = column vector of endogenous variables
d = column vector of exogenous variables and constants
 Solve for x*
dAx
d
d
d
x
x
x
aaa
aaa
aaa
nnnmnn
m
m
=












=





























2
1
2
1
21
22221
11211
 Questions: For what combinations of A and d there will zero,
one, many or an infinite number of solutions? How do we
compute (characterize) those sets of solutions?
Application: System of equations
Solution of a General-equation System
 Theorem: Given A (mxn). If A has a right-inverse, then the
equation Ax = d has at least one solution for every d (mx1).
Proof:
Pick an arbitrary d. Let H be a right-inverse (so AH=Im).
Define x*=Hd.
Thus,
Ax* = A Hd = Imd = d => x* is a solution.
20
 Theorem: Given A (mxn). If A has a left-inverse, then the
equation Ax=d has at most one solution for every d (mx1). That
is, if Ax=d has a solution x* for a particular d, then x* is unique.
Proof:
Suppose x* is a solution and z* is another solution. Thus, Ax*=d
and Az*=d. Let G be a left-inverse for A (so GA=In).
Ax*=d => GA x*= Gd
=> Inx* = x* = Gd.
Az*= d => GA z* = Gd
=> Inz* = z* = Gd.
Thus,
x*=z*=Gd. ■
 Assume the 2x2 model
2x + y = 12
4x + 2y = 24
Find x*, y*:
y = 12 – 2x
4x + 2(12 – 2x) = 24
4x +24 – 4x = 24
0 = 0 ? indeterminate!
 Why?
4x + 2y =24
2(2x + y) = 2(12)
 One equation with two
unknowns
2x + y = 12
x, y
Conclusion:
not all simultaneous
equation models have
solutions
(not all matrices have inverses).
 Problem with the previous proof? We’re assuming the left-
inverse exists (and there’s always a solution).
Linear dependence
 A set of vectors is linearly dependent if any one of them can
be expressed as a linear combination of the remaining
vectors; otherwise, it is linearly independent.
 Formal definition: Linear independence (LI)
The set {u1,...,uk} is called a linearly independent set of vectors
iff
c1 u1+....+ ckuk = θ => c1= c2=...=ck,=0.
 Notes:
- Dependence prevents solving a system of equations. More
unknowns than independent equations.
- The number of linearly independent rows or columns in a
matrix is the rank of a matrix (rank(A)).
 Examples:
[ ]
[ ]
//
2
/
1
'
2
'
1
'
2
'
1
02
2412
105
2410
125
=−








=





=
=
vv
v
v
v
v
[ ] [ ]
[ ]
023
54
162216
23
5
4
;
8
1
;
7
2
321
3
21
321
=−−
==
−=
−






=





=





=
vvv
v
vv
vvv
Upper and Lower Triangular Matrices
LT
021
012
000
UT
100
600
521



















 A square (n x n) matrix C is:
-Upper Triangular (UT) iff Cij=0 for i>j
(if the diagonal elements are all equal to 1,
we have a upper-unit triangular (UUT)matrix)
-Lower Triangular (LT) iff Cij=0 for i<j
(if the diagonal elements are all equal to 1,
we have a lower-unit triangular (LUT) matrix)
-Diagonal (D) iff Cij=0 for i ≠j
 Theorem:
The product of the two UT (UUT) matrices is UT (UUT).
The product of the two LT (LUT) matrices is LT (LUT).
The product of the two D matrices is D.
 Q: Why are we interested in these matrices?
Suppose Ax=d, where A is LT (with non-zero diagonal
terms). Then, the solutions are recursive (forward substitution).
Example:
x1 = d1
a21 x1 + a22 x2 = d2
a31 x1 +a32 x2 + a33 x3 = d3
Similarly, suppose Ax=d, where A is UT (with non-zero diagonal
terms). Then, the solutions are recursive (backward substitution).
Example:
a11 x1 +a12 x2 + a13 x3 = d1
a22 x2 + a23 x3 = d2
a31 x3 = d3
 Finding a solution to Ax=d
Given A (n x n). Suppose we can decompose A into A=LU,
where L is LUT and U is UUT (with non-zero diagonal).
Then
Ax=d => LUx = d.
Suppose L is invertible=> Ux = L-1
d = c (or d = Lc)
=>Solve by forward substitution for c.
Then, Ux = c(Gaussian elimination) => solve by backward
substitution for x.
 Theorem:
If A (n x n) can be decomposed A=LU, where L is LUT
and U is UUT (with non-zero diagonal), then Ax=d has a
unique solution for every d.
 We can write a “symmetric” decomposition. Since U has non-
zero diagonal terms, we can write U=DU*, where U* is UUT.
Example:










==>










=










=
100
210
421
*;
500
030
002
;
500
630
842
UDU
Theorems:
If we can write A (n x n) as A=LDU, where L is LUT, D is
diagonal with non zero diagonal elements, and U is UUT, then L,
D, and U are unique.
If we can write A (n x n) as A=LDU, and A is symmetric,
then we can write A=LDL’.
Theorem: Cholesky decomposition
If A is symmetric, A=LDL’, and all diagonal elements of D are positive,
then A = HH’.
Proof:
Since A is symmetric, then A=LDL.
The product of a LUT matrix and a D matrix is a LUT
matrix.
Let D*=D1/2
and L be a LT matrix.
Then H=LD* is matrix is LT.
=> A=HH’. ■
The Cholesky decomposition is unique. It is used in the numerical
solution systems of equations, non-linear optimization, Kalman
filter algorithms, etc..
André-Louis Cholesky (1875–1918)
Cholesky decomposition: Application
30
System of Equations
If A is symmetric and A=LDL’, and all elements of D are
positive (A is a positive definite matrix), then we can solve
Ax = b by
(1) Compute the Cholesky decomposition A=HH’.
(2) Solve Hy = b for y,
(3) With y known, solve H’x = y for x.
Note: A-1
is never computed.
Ordinary Least squares
Systems of the form Ax = b with A symmetric and positive
definite are common in economics. For example, the normal
equations in ordinary –i.e., linear- least squares problems are of this
form. A-1
is never computed.
The EndThe End
Call us for more
Information:
www.iTutor.com
Visit
1-855-694-8886

Más contenido relacionado

La actualidad más candente

Determinants - Mathematics
Determinants - MathematicsDeterminants - Mathematics
Determinants - MathematicsDrishti Bhalla
 
System Of Linear Equations
System Of Linear EquationsSystem Of Linear Equations
System Of Linear Equationssaahil kshatriya
 
Eigen values and eigenvectors
Eigen values and eigenvectorsEigen values and eigenvectors
Eigen values and eigenvectorsAmit Singh
 
Presentation on inverse matrix
Presentation on inverse matrixPresentation on inverse matrix
Presentation on inverse matrixSyed Ahmed Zaki
 
Inverse Matrix & Determinants
Inverse Matrix & DeterminantsInverse Matrix & Determinants
Inverse Matrix & Determinantsitutor
 
Number theory
Number theory Number theory
Number theory tes31
 
Lesson 11: Limits and Continuity
Lesson 11: Limits and ContinuityLesson 11: Limits and Continuity
Lesson 11: Limits and ContinuityMatthew Leingang
 
Lesson 5: Matrix Algebra (slides)
Lesson 5: Matrix Algebra (slides)Lesson 5: Matrix Algebra (slides)
Lesson 5: Matrix Algebra (slides)Matthew Leingang
 
Cramers rule
Cramers ruleCramers rule
Cramers rulemstf mstf
 
Eigenvalues and Eigenvectors
Eigenvalues and EigenvectorsEigenvalues and Eigenvectors
Eigenvalues and EigenvectorsVinod Srivastava
 
Group Theory and Its Application: Beamer Presentation (PPT)
Group Theory and Its Application:   Beamer Presentation (PPT)Group Theory and Its Application:   Beamer Presentation (PPT)
Group Theory and Its Application: Beamer Presentation (PPT)SIRAJAHMAD36
 
Different types of functions
Different types of functionsDifferent types of functions
Different types of functionsKatrina Young
 

La actualidad más candente (20)

Determinants - Mathematics
Determinants - MathematicsDeterminants - Mathematics
Determinants - Mathematics
 
System Of Linear Equations
System Of Linear EquationsSystem Of Linear Equations
System Of Linear Equations
 
Eigen values and eigenvectors
Eigen values and eigenvectorsEigen values and eigenvectors
Eigen values and eigenvectors
 
Presentation on inverse matrix
Presentation on inverse matrixPresentation on inverse matrix
Presentation on inverse matrix
 
Determinants
DeterminantsDeterminants
Determinants
 
Inverse Matrix & Determinants
Inverse Matrix & DeterminantsInverse Matrix & Determinants
Inverse Matrix & Determinants
 
LinearAlgebra.ppt
LinearAlgebra.pptLinearAlgebra.ppt
LinearAlgebra.ppt
 
Number theory
Number theory Number theory
Number theory
 
Vector space
Vector spaceVector space
Vector space
 
Maths
MathsMaths
Maths
 
Lesson 11: Limits and Continuity
Lesson 11: Limits and ContinuityLesson 11: Limits and Continuity
Lesson 11: Limits and Continuity
 
Set Theory Presentation
Set Theory PresentationSet Theory Presentation
Set Theory Presentation
 
numerical methods
numerical methodsnumerical methods
numerical methods
 
Lesson 5: Matrix Algebra (slides)
Lesson 5: Matrix Algebra (slides)Lesson 5: Matrix Algebra (slides)
Lesson 5: Matrix Algebra (slides)
 
Group Theory
Group TheoryGroup Theory
Group Theory
 
Cramers rule
Cramers ruleCramers rule
Cramers rule
 
Eigenvalues and Eigenvectors
Eigenvalues and EigenvectorsEigenvalues and Eigenvectors
Eigenvalues and Eigenvectors
 
Group Theory and Its Application: Beamer Presentation (PPT)
Group Theory and Its Application:   Beamer Presentation (PPT)Group Theory and Its Application:   Beamer Presentation (PPT)
Group Theory and Its Application: Beamer Presentation (PPT)
 
Ring-ppt.pptx
Ring-ppt.pptxRing-ppt.pptx
Ring-ppt.pptx
 
Different types of functions
Different types of functionsDifferent types of functions
Different types of functions
 

Similar a Linear Algebra and Matrix

Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Rai University
 
Linear Functions And Matrices
Linear Functions And MatricesLinear Functions And Matrices
Linear Functions And Matricesandrewhickson
 
Introduction To Matrix
Introduction To MatrixIntroduction To Matrix
Introduction To MatrixAnnie Koh
 
Engg maths k notes(4)
Engg maths k notes(4)Engg maths k notes(4)
Engg maths k notes(4)Ranjay Kumar
 
My Lecture Notes from Linear Algebra
My Lecture Notes fromLinear AlgebraMy Lecture Notes fromLinear Algebra
My Lecture Notes from Linear AlgebraPaul R. Martin
 
GATE Preparation : Matrix Algebra
GATE Preparation : Matrix AlgebraGATE Preparation : Matrix Algebra
GATE Preparation : Matrix AlgebraParthDave57
 
matrix-algebra-for-engineers (1).pdf
matrix-algebra-for-engineers (1).pdfmatrix-algebra-for-engineers (1).pdf
matrix-algebra-for-engineers (1).pdfShafaqMehmood2
 
chap01987654etghujh76687976jgtfhhhgve.ppt
chap01987654etghujh76687976jgtfhhhgve.pptchap01987654etghujh76687976jgtfhhhgve.ppt
chap01987654etghujh76687976jgtfhhhgve.pptadonyasdd
 
Advanced algebra
Advanced algebraAdvanced algebra
Advanced algebraspark21
 
Business mathametics and statistics b.com ii semester (2)
Business mathametics and statistics b.com ii semester (2)Business mathametics and statistics b.com ii semester (2)
Business mathametics and statistics b.com ii semester (2)shamimakamili
 
Assignments for class XII
Assignments for class XIIAssignments for class XII
Assignments for class XIIindu thakur
 
ALA Solution.pdf
ALA Solution.pdfALA Solution.pdf
ALA Solution.pdfRkAA4
 
Lecture 07 graphing linear equations
Lecture 07 graphing linear equationsLecture 07 graphing linear equations
Lecture 07 graphing linear equationsHazel Joy Chong
 
0.3.e,ine,det.
0.3.e,ine,det.0.3.e,ine,det.
0.3.e,ine,det.m2699
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and DeterminantsAarjavPinara
 

Similar a Linear Algebra and Matrix (20)

1560 mathematics for economists
1560 mathematics for economists1560 mathematics for economists
1560 mathematics for economists
 
Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -
 
Linear Functions And Matrices
Linear Functions And MatricesLinear Functions And Matrices
Linear Functions And Matrices
 
1565 matrix01-ppt
1565 matrix01-ppt1565 matrix01-ppt
1565 matrix01-ppt
 
Introduction To Matrix
Introduction To MatrixIntroduction To Matrix
Introduction To Matrix
 
Engg maths k notes(4)
Engg maths k notes(4)Engg maths k notes(4)
Engg maths k notes(4)
 
My Lecture Notes from Linear Algebra
My Lecture Notes fromLinear AlgebraMy Lecture Notes fromLinear Algebra
My Lecture Notes from Linear Algebra
 
GATE Preparation : Matrix Algebra
GATE Preparation : Matrix AlgebraGATE Preparation : Matrix Algebra
GATE Preparation : Matrix Algebra
 
matrix-algebra-for-engineers (1).pdf
matrix-algebra-for-engineers (1).pdfmatrix-algebra-for-engineers (1).pdf
matrix-algebra-for-engineers (1).pdf
 
chap01987654etghujh76687976jgtfhhhgve.ppt
chap01987654etghujh76687976jgtfhhhgve.pptchap01987654etghujh76687976jgtfhhhgve.ppt
chap01987654etghujh76687976jgtfhhhgve.ppt
 
Advanced algebra
Advanced algebraAdvanced algebra
Advanced algebra
 
Business mathametics and statistics b.com ii semester (2)
Business mathametics and statistics b.com ii semester (2)Business mathametics and statistics b.com ii semester (2)
Business mathametics and statistics b.com ii semester (2)
 
Assignments for class XII
Assignments for class XIIAssignments for class XII
Assignments for class XII
 
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
 
ALA Solution.pdf
ALA Solution.pdfALA Solution.pdf
ALA Solution.pdf
 
Lecture 07 graphing linear equations
Lecture 07 graphing linear equationsLecture 07 graphing linear equations
Lecture 07 graphing linear equations
 
M a t r i k s
M a t r i k sM a t r i k s
M a t r i k s
 
0.3.e,ine,det.
0.3.e,ine,det.0.3.e,ine,det.
0.3.e,ine,det.
 
Ch07 3
Ch07 3Ch07 3
Ch07 3
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and Determinants
 

Más de itutor

Comparing Fractions
Comparing FractionsComparing Fractions
Comparing Fractionsitutor
 
Fractions
FractionsFractions
Fractionsitutor
 
Quadrilaterals
QuadrilateralsQuadrilaterals
Quadrilateralsitutor
 
Properties of Addition & Multiplication
Properties of Addition & MultiplicationProperties of Addition & Multiplication
Properties of Addition & Multiplicationitutor
 
Binomial Theorem
Binomial TheoremBinomial Theorem
Binomial Theoremitutor
 
Equation of Hyperbola
Equation of HyperbolaEquation of Hyperbola
Equation of Hyperbolaitutor
 
Equation of Strighjt lines
Equation of Strighjt linesEquation of Strighjt lines
Equation of Strighjt linesitutor
 
Evolution and Changes
Evolution and ChangesEvolution and Changes
Evolution and Changesitutor
 
Slops of the Straight lines
Slops of the Straight linesSlops of the Straight lines
Slops of the Straight linesitutor
 
Equations of Straight Lines
Equations of Straight LinesEquations of Straight Lines
Equations of Straight Linesitutor
 
Parabola
ParabolaParabola
Parabolaitutor
 
Ellipse
EllipseEllipse
Ellipseitutor
 
Periodic Relationships
Periodic RelationshipsPeriodic Relationships
Periodic Relationshipsitutor
 
Living System
Living SystemLiving System
Living Systemitutor
 
Ecosystems- A Natural Balance
Ecosystems- A Natural BalanceEcosystems- A Natural Balance
Ecosystems- A Natural Balanceitutor
 
Ecosystems
EcosystemsEcosystems
Ecosystemsitutor
 
Gravitation
GravitationGravitation
Gravitationitutor
 
Home bound instruction presentation
Home bound instruction presentationHome bound instruction presentation
Home bound instruction presentationitutor
 
Gas Laws
Gas LawsGas Laws
Gas Lawsitutor
 
Valence Bond theory & Hybridization
Valence Bond theory & HybridizationValence Bond theory & Hybridization
Valence Bond theory & Hybridizationitutor
 

Más de itutor (20)

Comparing Fractions
Comparing FractionsComparing Fractions
Comparing Fractions
 
Fractions
FractionsFractions
Fractions
 
Quadrilaterals
QuadrilateralsQuadrilaterals
Quadrilaterals
 
Properties of Addition & Multiplication
Properties of Addition & MultiplicationProperties of Addition & Multiplication
Properties of Addition & Multiplication
 
Binomial Theorem
Binomial TheoremBinomial Theorem
Binomial Theorem
 
Equation of Hyperbola
Equation of HyperbolaEquation of Hyperbola
Equation of Hyperbola
 
Equation of Strighjt lines
Equation of Strighjt linesEquation of Strighjt lines
Equation of Strighjt lines
 
Evolution and Changes
Evolution and ChangesEvolution and Changes
Evolution and Changes
 
Slops of the Straight lines
Slops of the Straight linesSlops of the Straight lines
Slops of the Straight lines
 
Equations of Straight Lines
Equations of Straight LinesEquations of Straight Lines
Equations of Straight Lines
 
Parabola
ParabolaParabola
Parabola
 
Ellipse
EllipseEllipse
Ellipse
 
Periodic Relationships
Periodic RelationshipsPeriodic Relationships
Periodic Relationships
 
Living System
Living SystemLiving System
Living System
 
Ecosystems- A Natural Balance
Ecosystems- A Natural BalanceEcosystems- A Natural Balance
Ecosystems- A Natural Balance
 
Ecosystems
EcosystemsEcosystems
Ecosystems
 
Gravitation
GravitationGravitation
Gravitation
 
Home bound instruction presentation
Home bound instruction presentationHome bound instruction presentation
Home bound instruction presentation
 
Gas Laws
Gas LawsGas Laws
Gas Laws
 
Valence Bond theory & Hybridization
Valence Bond theory & HybridizationValence Bond theory & Hybridization
Valence Bond theory & Hybridization
 

Último

Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 

Último (20)

Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 

Linear Algebra and Matrix

  • 1. Linear Algebra & Matrix T- 1-855-694-8886 Email- info@iTutor.com By iTutor.com
  • 2. Linear Algebra History:  The beginnings of matrices and determinants goes back to the second century BC although traces can be seen back to the fourth century BC. But, the ideas did not make it to mainstream math until the late 16th century.  The Babylonians around 300 BC studied problems which lead to simultaneous linear equations.  The Chinese, between 200 BC and 100 BC, came much closer to matrices than the Babylonians. Indeed, the text Nine Chapters on the Mathematical Art written during the Han Dynasty gives the first known example of matrix methods.  In Europe, two-by-two determinants were considered by Cardano at the end of the 16th century and larger ones by Leibniz and, in Japan, by Seki about 100 years later.
  • 3. What is a Matrix? A matrix is a set of elements, organized into rows and columns       dc ba Rows Columns  a and d are the diagonal elements.  b and c are the off-diagonal elements.  Matrices are like plain numbers in many ways: they can be added, subtracted, and, in some cases, multiplied and inverted (divided).
  • 4. Examples: [ ]δβα=      − = b d b A ; 1 1 Dimensions of a matrix: Numbers of rows by numbers of columns. The Matrix A is a 2x2 matrix, b is a 1x3 matrix. A matrix with only one column or only one row is called a vector. If a matrix has an equal numbers of rows and columns, it is called a square matrix. Matrix A, above, is a square matrix. Usual Notation: Upper case letters => matrices Lower case => vectors
  • 5. Matrix multiplication  Multiplication of matrices requires a conformability condition The conformability condition for multiplication is that the column dimensions of the lead matrix A must be equal to the row dimension of the lag matrix B. If A is an (m x n) and B an (n x p) matrix (A has the same number of columns a B has rows), then we define the product of AB. AB is (m x p) matrix with its ij-th element is What are the dimensions of the vector, matrix, and result? [ ] [ ]131211 232221 131211 1211 cccc bb bbb aaaB ==         = [ ]231213112212121121121111 babababababa +++=  Dimensions: a(1 x 2), B(2 x 3) => c (1 x 3) jk n j ijba∑ =1
  • 6. Transpose Matrix           − =′=>      − = 49 08 13 401 983 AA:Example  The transpose of a matrix A is another matrix AT (also written A ′) created by any one of the following equivalent actions: - Write the rows (columns) of A as the columns (rows) of AT - Reflect A by its main diagonal to obtain AT  Formally, the (i, j) element of AT is the (j, i) element of A: [AT ]ij = [A]ji  If A is a m × n matrix => AT is a n × m matrix.  (A')' = A  Conformability changes unless the matrix is square.
  • 7. Special Matrices: Identity and Null                     000 000 000 100 010 001  Identity Matrix is a square matrix with ones along the diagonal and zeros everywhere else. Similar to scalar “1.”  Null matrix is one in which all elements are zero. Similar to scalar “0.”  Both are diagonal matrices => off-diagonal elements are zero.  Both are symmetric and examples of idempotent matrices. That is, A = AT and A = A2 = A3 = …
  • 8. Basic Operations Addition, Subtraction, Multiplication       ++ ++ =      +      hdgc fbea hg fe dc ba       −− −− =      −      hdgc fbea hg fe dc ba       ++ ++ =            dhcfdgce bhafbgae hg fe dc ba Just add elements Just subtract elements Multiply each row by each column and add       =      kdkc kbka dc ba k Multiply each element by the scalar
  • 9. Basic Matrix Operations: Examples 222222 117 25 20 13 97 12 xxx CBA =+       =      +      Matrix addition Matrix subtraction Matrix multiplication Scalar multiplication       =      −      65 11 32 01 97 12 222222 x 2726 34 32 01 x 97 12 xxx CBA =       =                  =      8143 2141 16 42 8 1
  • 10. Laws of Matrix Addition & Multiplication       ++ ++ =      +      =+ 22222121 12121111 2221 1211 2221 1211 abaa abba bb bb aa aa BA  Commutative law of Matrix Addition: A + B = B + A       ++ ++ =      +      =+ 22222121 12121111 2221 1211 2221 1211 abab abab bb aa bb bb AB  Matrix Multiplication is distributive across Additions: A (B+ C) = AB + AC (assuming comformability applies).
  • 11. Matrix Multiplication  Matrix multiplication is generally not commutative. That is, AB ≠ BA even if BA is conformable (because diff. dot product of rows or col. of A&B)       − =      = 76 10 , 43 21 BA ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( )       =      +−+ +−+ = 2524 1312 74136403 72116201 AB ( ) ( )( ) ( ) ( ) ( ) ( ) ( ) ( )       −− =      ++ −+−+ = 4027 43 47263716 41203110 BA
  • 12.  Exceptions to non-commutative law: AB=BA iff B = a scalar, B = identity matrix I, or B = the inverse of A -i.e., A-1  Theorem: It is not true that AB = AC => B=C Proof:           −−−=           − =           −− −= 132 111 212 ; 011 010 111 ; 321 101 121 CBA Note: If AB = AC for all matrices A, then B=C.
  • 13. Inverse of a Matrix  Identity matrix: AI = A           = 100 010 001 3I Notation: Ij is a jxj identity matrix.  Given A (mxn), the matrix B (nxm) is a right-inverse for A iff AB = Im  Given A (mxn), the matrix C (mxn) is a left-inverse for A iff CA = In
  • 14.  Theorem: If A (mxn), has both a right-inverse B and a left-inverse C, thenC = B. Proof: We have AB=Im and CA=In. Thus, C(AB)= C Im = C and C(AB)=(CA)B= InB = B => C(nxm)=B(mxn) Note: - This matrix is unique. (Suppose there is another left-inverse D, then D=B by the theorem, so D=C.) - If A has both a right and a left inverse, it is a square matrix. It is usually called invertible.
  • 15.  Inversion is tricky: (ABC)-1 = C-1 B-1 A-1  Theorem: If A (mxn) and B (nxp) have inverses, then AB is invertible and (AB)-1 = B-1 A-1 Proof: We have AA-1 =In and A-1 A=Im BB-1 =In and B-1 B=Ip Thus, B-1 A-1 (AB) = B-1 (A-1 A) B= B-1 InB = B-1 B = Ip (AB) B-1 A-1 = A (BB-1 ) A-1 = A In A-1 = A A-1 = Im => AB is invertible and (AB)-1 = B-1 A-1  More on this topic later
  • 16. Transpose and Inverse Matrix  (A + B)' = A' + B'  If A' = A, then A is called a symmetric matrix.  Theorems: - Given two conformable matrices A and B, then (AB)' = B'A' - If A is invertible, then (A-1 )' = (A')-1 (and A' is also invertible). 16
  • 17. Properties of Symmetric Matrices  Definition: If A' = A, then A is called a symmetric matrix.  Theorems: - If A and B are n x n symmetric matrices, then (AB)' = BA - If A and B are n x n symmetric matrices, then (A+B)' = B+A - If C is any n x n matrix, then B = C'C is symmetric.  Useful symmetric matrices: V = X’X P = X(X’X)-1 X’ M = I – P = I - X(X’X)-1 X’
  • 18. 4.1 Application I: System of equations  Assume an economic model as system of linear equations with: aij parameters, where i = 1.. n rows, j = 1.. m columns, and n=m xi endogenous variables, di exogenous variables and constants nn n n nm m m nn d d d x x x ax ax ax axa axa axa       2 1 2 22 12 211 22121 12111 = = = + + + + + +
  • 19.  A general form matrix of a system of linear equations Ax = d where A = matrix of parameters x = column vector of endogenous variables d = column vector of exogenous variables and constants  Solve for x* dAx d d d x x x aaa aaa aaa nnnmnn m m =             =                              2 1 2 1 21 22221 11211  Questions: For what combinations of A and d there will zero, one, many or an infinite number of solutions? How do we compute (characterize) those sets of solutions? Application: System of equations
  • 20. Solution of a General-equation System  Theorem: Given A (mxn). If A has a right-inverse, then the equation Ax = d has at least one solution for every d (mx1). Proof: Pick an arbitrary d. Let H be a right-inverse (so AH=Im). Define x*=Hd. Thus, Ax* = A Hd = Imd = d => x* is a solution. 20
  • 21.  Theorem: Given A (mxn). If A has a left-inverse, then the equation Ax=d has at most one solution for every d (mx1). That is, if Ax=d has a solution x* for a particular d, then x* is unique. Proof: Suppose x* is a solution and z* is another solution. Thus, Ax*=d and Az*=d. Let G be a left-inverse for A (so GA=In). Ax*=d => GA x*= Gd => Inx* = x* = Gd. Az*= d => GA z* = Gd => Inz* = z* = Gd. Thus, x*=z*=Gd. ■
  • 22.  Assume the 2x2 model 2x + y = 12 4x + 2y = 24 Find x*, y*: y = 12 – 2x 4x + 2(12 – 2x) = 24 4x +24 – 4x = 24 0 = 0 ? indeterminate!  Why? 4x + 2y =24 2(2x + y) = 2(12)  One equation with two unknowns 2x + y = 12 x, y Conclusion: not all simultaneous equation models have solutions (not all matrices have inverses).  Problem with the previous proof? We’re assuming the left- inverse exists (and there’s always a solution).
  • 23. Linear dependence  A set of vectors is linearly dependent if any one of them can be expressed as a linear combination of the remaining vectors; otherwise, it is linearly independent.  Formal definition: Linear independence (LI) The set {u1,...,uk} is called a linearly independent set of vectors iff c1 u1+....+ ckuk = θ => c1= c2=...=ck,=0.  Notes: - Dependence prevents solving a system of equations. More unknowns than independent equations. - The number of linearly independent rows or columns in a matrix is the rank of a matrix (rank(A)).
  • 24.  Examples: [ ] [ ] // 2 / 1 ' 2 ' 1 ' 2 ' 1 02 2412 105 2410 125 =−         =      = = vv v v v v [ ] [ ] [ ] 023 54 162216 23 5 4 ; 8 1 ; 7 2 321 3 21 321 =−− == −= −       =      =      = vvv v vv vvv
  • 25. Upper and Lower Triangular Matrices LT 021 012 000 UT 100 600 521                     A square (n x n) matrix C is: -Upper Triangular (UT) iff Cij=0 for i>j (if the diagonal elements are all equal to 1, we have a upper-unit triangular (UUT)matrix) -Lower Triangular (LT) iff Cij=0 for i<j (if the diagonal elements are all equal to 1, we have a lower-unit triangular (LUT) matrix) -Diagonal (D) iff Cij=0 for i ≠j  Theorem: The product of the two UT (UUT) matrices is UT (UUT). The product of the two LT (LUT) matrices is LT (LUT). The product of the two D matrices is D.
  • 26.  Q: Why are we interested in these matrices? Suppose Ax=d, where A is LT (with non-zero diagonal terms). Then, the solutions are recursive (forward substitution). Example: x1 = d1 a21 x1 + a22 x2 = d2 a31 x1 +a32 x2 + a33 x3 = d3 Similarly, suppose Ax=d, where A is UT (with non-zero diagonal terms). Then, the solutions are recursive (backward substitution). Example: a11 x1 +a12 x2 + a13 x3 = d1 a22 x2 + a23 x3 = d2 a31 x3 = d3
  • 27.  Finding a solution to Ax=d Given A (n x n). Suppose we can decompose A into A=LU, where L is LUT and U is UUT (with non-zero diagonal). Then Ax=d => LUx = d. Suppose L is invertible=> Ux = L-1 d = c (or d = Lc) =>Solve by forward substitution for c. Then, Ux = c(Gaussian elimination) => solve by backward substitution for x.  Theorem: If A (n x n) can be decomposed A=LU, where L is LUT and U is UUT (with non-zero diagonal), then Ax=d has a unique solution for every d.
  • 28.  We can write a “symmetric” decomposition. Since U has non- zero diagonal terms, we can write U=DU*, where U* is UUT. Example:           ==>           =           = 100 210 421 *; 500 030 002 ; 500 630 842 UDU Theorems: If we can write A (n x n) as A=LDU, where L is LUT, D is diagonal with non zero diagonal elements, and U is UUT, then L, D, and U are unique. If we can write A (n x n) as A=LDU, and A is symmetric, then we can write A=LDL’.
  • 29. Theorem: Cholesky decomposition If A is symmetric, A=LDL’, and all diagonal elements of D are positive, then A = HH’. Proof: Since A is symmetric, then A=LDL. The product of a LUT matrix and a D matrix is a LUT matrix. Let D*=D1/2 and L be a LT matrix. Then H=LD* is matrix is LT. => A=HH’. ■ The Cholesky decomposition is unique. It is used in the numerical solution systems of equations, non-linear optimization, Kalman filter algorithms, etc.. André-Louis Cholesky (1875–1918)
  • 30. Cholesky decomposition: Application 30 System of Equations If A is symmetric and A=LDL’, and all elements of D are positive (A is a positive definite matrix), then we can solve Ax = b by (1) Compute the Cholesky decomposition A=HH’. (2) Solve Hy = b for y, (3) With y known, solve H’x = y for x. Note: A-1 is never computed. Ordinary Least squares Systems of the form Ax = b with A symmetric and positive definite are common in economics. For example, the normal equations in ordinary –i.e., linear- least squares problems are of this form. A-1 is never computed.
  • 31. The EndThe End Call us for more Information: www.iTutor.com Visit 1-855-694-8886

Notas del editor

  1. Stephen Cooke, University of Idaho
  2. Stephen Cooke, University of Idaho
  3. Stephen Cooke, University of Idaho
  4. Stephen Cooke, University of Idaho
  5. Stephen Cooke, University of Idaho
  6. Stephen Cooke, University of Idaho
  7. Stephen Cooke, University of Idaho
  8. Stephen Cooke, University of Idaho
  9. Stephen Cooke, University of Idaho
  10. Stephen Cooke, University of Idaho
  11. Stephen Cooke, University of Idaho
  12. Stephen Cooke, University of Idaho
  13. Stephen Cooke, University of Idaho