Professional Documents
Culture Documents
A X B
Systems of Linear Equations and Matrices
3x1 + x2 + x3 = 40 3 1 1 x1 40
x1 + x2 + x3 = 30 1 1 1 x2 = 30
4 x1 +3x2 + x3 = 60 4 3 1 x3 60
A X B
In matrix form, AX = B
• Multiplication Properties
– Associative Property: A(BC) = (AB)C
– Multiplicative identity: AI = IA = A
– Multiplicative inverse: If A is a square matrix and A-1 exists, then AA-1
= A-1A = I
• Combined Properties
– Left distributive: A(B + C) = AB + AC
– Right distributive: (B + C)A = BA + CA
4
Basic Properties of Matrices
• Equality
– Addition: If A = B, then A + C = B + C
– Left multiplication: If A = B, then CA = CB
– Right multiplication: If A = B, then AC = BC
1 0 ⋯ 0 x1 k1 x1 k1
0 1 ⋯ 0 x2 k2 x2 k2
⋮ ⋮ ⋱ ⋮ ⋮ = ⋮ ⋮ = ⋮
0 0 ⋯ 1 xn kn xn kn
Solving Systems of Linear Equations with Matrices
How do you transform AX = B to IX = K ?
6 4 4 140
row 1+ row 2 A* = 7 5 5 180
4 3 1 10
4 3 1 10
A* = 7 5 5 180
Interchange row 1 and row 3
6 4 4 140
Solving Systems of Linear Equations with Matrices
The Gauss-Jordan Method
To obtain the solution for the linear systems of equations, continue to
perform ERO’s till AX =B is transformed to the form IX = K. That is
until the matrix A is transformed into an identity matrix.
3 1 1 40 2 0 0 10
1 1 1 30 Row1 - Row2 1 1 1 30
4 3 1 60 4 3 1 60
1 0 0 5 1 0 0 5
1 1 1 30 0 1 1 25
Row2 – Row1
4 3 1 60 4 3 1 60
Solving Systems of Linear Equations with Matrices
The Gauss-Jordan Method
1 0 0 5 1 0 0 5
0 1 1 25 Row3 – 4 x Row1 0 1 1 25
4 3 1 60 0 3 1 40
1 0 0 5 1 0 0 5
0 1 1 25 Row3 divide by -2 0 1 1 25
0 0 -2 -35 0 0 1 17.5
Solving Systems of Linear Equations with Matrices
The Gauss-Jordan Method
1 0 0 5 1 0 0 5
0 1 1 25 Row2 – Row3 0 1 0 7.5
0 0 1 17.5 0 0 1 17.5
I
Since the left part of the augmented matrix is an identity matrix, we stop.
x1 5
x2 = 7.5
x3 17.5
Solving Systems of Linear Equations with Matrices
AX = B
X=A-1B
This implies, if you have the inverse of matrix A, there is no need to
perform a Gauss-Jordan Method; just multiply the inverse of A by B.
Solving Systems of Linear Equations with Matrices
Inverse of a matrix
How do you find the inverse of a matrix? Apply the Gauss-Jordan method.
We know AA-1 = I
Suppose B is any matrix that satisfies
AB = I
If we multiply the left side of both side by A-1 , we get
A-1AB = A-1I
IB = A-1I
IB = A-1
This means, B must be the inverse of A
Because of this, we can apply the Gauss-Jordan method to find the inverse
of a matrix.
Solving Systems of Linear Equations with Matrices
Inverse of a matrix
To see this, if given
3 1 1 a b c
A= 1 1 1 if B = d e f is the inverse of A, then
4 3 1 g h i
3 1 1 a b c 1 0 0
AB =I 1 1 1 d e f = 0 1 0
4 3 1 g h i 0 0 1
We can transform AB = I 1 0 0 a b c j k m
into the form IB = A-1 to 0 1 0 d e f = n o p
obtain the inverse of A. 0 0 1 g h i q r s
I B A-1
Solving Systems of Linear Equations with Matrices
Inverse of a matrix: The Gauss-Jordan Method
3 1 1 a b c 1 0 0
1 1 1 d e f = 0 1 0
4 3 1 g h i 0 0 1
3 1 1 1 0 0 2 0 0 1 -1 0
1 1 1 0 1 0 Row1 - Row2 1 1 1 0 1 0
4 3 1 0 0 1 4 3 1 0 0 1