Professional Documents
Culture Documents
Slide 1
B = A-1
A * A-1 = I
Slide 2
1
1
x
a11 x1 a12 x2 d1
Sum of Products
a21 x1 a22 x2 d 2
a11 a12 x1
d1
*
a
21 a22 x2
d2
A* x d
The same equation can represent any Order.
Slide 3
( a11 x1 a12 x2
d1 ) a22
( a21 x1 a22 x2 d 2 ) a12
a11a22 x1 a12a22 x2 a22d1
Becomes
Subtract
a22 d1 a12d 2
x1
(a11a22 a21a12 )
Slide 4
x2
a21d1 a11d 2
(a11a22 a21a12 )
x1
a22d1 a12 d 2
1
x
a d a d
x
(
a
a
a
a
)
21 1
11 2
2
11 22
21 12
Sum of Products
x1
a22 a12 d1
1
*
x
a
a11 d 2
(a11a22 a21a12 )
21
2
A new Matrix C
Slide 5
The Solution to
A* x d
x1
a22 a12 d1
1
x
a
* d
a
(
a
a
a
a
)
21
11
2
2
11 22
21 12
A1 * A * x A1 * d
where A1 * A * x I * x
x A1 * d
a22 a12
1
A
(a11a22 a21a12 ) a21 a11
1
Slide 6
The Determinant
a22 a12
1
A
a11 a12
A
a
a
21 22
The Determinant of A =
a11a22 a21a12
a22 a12
1
A
a11 a12
A
a
a
21 22
Rule 1: Swap the Main Diagonal
Rule 2: Change Signs on
the Back Diagonal
Rule 3: Divide by
the Determinant
Slide 8
a22 a12
1
A
A* x d
Is solved by
x A 1 * d
a22 a12
1
A
If
det A 0!
there is no solution
Stay Tuned!
Slide 9
A Numerical Example
2 x1 3 x2 4
x1 4 x2 2
Becomes
2 3 x1
4
1 4 * x 2
4 3
1
A
(2 * 4 (3 * 1)) 1 2
1
4 / 11 3 / 11
A
1
/
11
2
/
11
10 / 11
x
8
/
11
Slide 10
4
2
A* x d
x A 1 * d
The 2x2 case:
a22 a12
1
A
Definition of adjoint:
a22
CfA
a12
The general case:
Slide 11
a21
a11
a22
adj( A) CfA
a21
T
adj
(
A
)
CfA
A1
det( A)
A
a12
a11
This is the
definition of the
inverse for any
matrix!
Slide 12
x3
x1 2 x 2 x3 7
the system 2 x 3 x x 2
2
3
of equations 1
x1 x 2 2 x3 5
Unique Solution, all
cross at the same
point, the solution
Det = 0
x2
x1
Slide 13
We need a method of
finding a general solution
when the coefficient
matrix A is Singular.
x1 2 x 2 x3 1
2 x1 3 x 2 x3 7
x1 4 x 2 2 x3 7
We will use three elementary row operations to solve this set of
linear equations by Gaussian Elimination.
Same as multiplying both
sides of an equation
'
ri k * ri
ri rj , rj ri
Slide 14
'
ri ri k * rj
Same as elimination
x1 2 x 2 x3 1
2 x1 3 x 2 x3 7
2. r2 r2 2 * r1
0 7 x2 x3 5
x1 4 x 2 2 x3 7
3.
0 2 x2 3x3 8
'
'
r3 r3 r1
x2 from row 3:
x1 2 x2 x3 1
x1 2 x2 x3 1
x1 2 x2 x3 1
0 7 x2 x3 5
0 7 x2 x3 5
2
3. r3 r3 r2
7
23
46
0 0 x3
7
7
0 2 x2 3x3 8
'
0 7 x2 x3 5
0 0 23 x3 46
7
7
Slide 15
1
r2 r2
7
7
'
r
r3
3. 3
23
2.
'
x1 2 x2 x3 1
1
5
x3
7
7
0 0 x3 2
x2 1
x1 1
0 x2
x1 2 x 2 x3 1
2 x1 3 x 2 x3 7
can be represented as
x1 4 x 2 2 x3 7
Step 1 - 1. Keep Row 1 the same
'
2. r2 r2 2 * r1
3.
'
r3 r3 r1
2
3. r3 r3 r2
7
'
1
r2 r2
7
'
7
r
r3
3. 3
23
'
Slide 16
1 2
0 1
0 0
1
1
7
1
1
1 2 1
2 3 1 7
1 4 2 7
1 2
0 7
1
5
0 2 3 8
1 2
0 7
1
1
1
1
1
5
23
46
0
0
7
7
1
5
7
2
1 2
0 0
'
r1 r1 r3
1
r2 r2 * r3
7
'
'
r1 r1 2r2
1 0 0 1
0 1 0 1
Identity Matrix
Slide 17
1
5
7
2
1 2 0 1
0 1 0 1
0 0 1 2
x1 1
Observe directly that
1
1
7
1
1
1 2 1
2 3 1 7
1 4 2 7
Save the augmented matrix as variable x34
Manual Result
TI-89 Result
Row Echelon Form use the function ref()
1 2
0 1
0 0
1
1
7
1
1
5
7
2
'
r2 r2 3r1
'
r3 r3 r1
1
'
r3 r3 r2
2
1 1 1 3
3 1 3 5
1 1 2 2
1 1 1 3
0 4 6 4
0 2 3 1
1 1 1 3
0 4 6 4
0 0
0
1
implies 0 * x3 1?
Note: detA=0
1 1 2 2
Same Row
operations
'
r2 r2 3r1
'
r3 r3 r1
1
r3 r3 r2
2
'
1 1 1 1
0 4 6 2
0 2 3 1
1 1 1 1
0 4 6 2
0 0
0 0
implies 0 * x3 0
x3 :
1 3
4 x2 6 2, x2
2 2
1 3
3 1
x1 ( ) 1, x1
2 2
2 2
Slide 20
x1
x
2
x3
3 1
2 2
1 3
2 2
det A 0
1
0 1
0 0 1 k
det A 0
1
0 1
0 0 0 k
2. None = No X3 exists
1
0 1
0 0 0 0
det A 0
Slide 21
2 x 10 y 2 z 10
12 x 3 y 6 z 5
rref()
4 x 3 y 7 z 12
1 0 0
0 1 0
0 0 1
571
585
103
809
585
unique
single point
of intersection
( X Y S) ( Xt Yt P) ( L M N)
all planes
intersect
on the same line
x y z 1
3x y 3z 5
x y 2z 2
rref()
1 0
0 1
0 0
infinite
( X Y S) ( Xt Yt P) ( L M N)
planes
parallel,
never
intersect
x y z 1
3 x y 3 z 22
x y 2z 2
rref()
1 0
0 1
0 0
0
0
1
no solution
( X Y S) ( Xt Yt P) ( L M N)
Slide 22
585
Given
1 2 3 2
2 1 2 3
1 1 a b
'
r2 r2 2r1
2. No Solutions
b 1
3. Infinite Solutions a 1 b 1
Slide 23
& r3 r3 r2
'
r3 r3 r1
1. Unique Solution a 1
a 1
'
det A 3( a 1)
b 1
a 1
3
2
1 2
0 3
0 0 a 1 b 1
x
Unknowns: y
z
k
0
0
0
Ax 0
Only 2 possible solutions: Either x 0 , a trivial solution, or
det A 0 , implying infinite solutions
det A k 5
x1 x2 x3 0
x1 2 x2 0
x1 3 x2 k * x3 0
1 1 1 0
1 2 0 0
1 3 k 0
rref()
1
0
1 1
0 1 1 0
0 0 k 5 0
x3
x2 0, x2
x1 0, x1 2
Questions?
Slide 25