6 April 2020
Pembagian
Transposing
Kebalikan Kebalikan
1
8
Inverse Matrix juga sama dengan kebalikan dari suatu matriks tetapi ditulis dengan A-1
A
Invers Invers
A1
Mengapa tidak ditulis 1/A ? Karena kita tidak dapat membagi dengan suatu matrix!
1/ dapat ditulis dengan 8-1
8
a b 1 6 7
A 2
c d 10 4
0, 6 0, 7
1
a b 0, 2 0, 4
1
A
c d Cara memastikan inilah matrik inversnya :
1
a b 1 d b 4 7 0,6 0,7 4 x0,6 7 x( 0, 2) 4 x( 0,7) 7 x0, 4
c d c a x
ad bc 2 6 0, 2 0, 4 2 x 0,6 6 x ( 0, 2) 2 x ( 0,7) 6 x 0, 4
Determinant 1 0
(Matriks Identitas)
0 1 Terbukti benar
A Real Life Example: Bus and Train
Mengapa kita memerlukan Invers A group took a trip on a bus, at $3 per child and $3.20 per
adult for a total of $118.40.
Karena tidak ada konsep pembagian pada matriks. They took the train back at $3.50 per child and $3.60 per
adult for a total of $135.20.
Tapi kita dapat menggunakan invers matriks untuk How many children, and how many adults?
mendapat hasil untuk suatu pembagian.
First, let us set up the matrices (be careful to get
the rows and columns correct!):
Say we want to find matrix X, and we know matrix A and B: Child Adult
XA = B 3 3, 5
It would be nice to divide both sides by A (to get X=B/A), but
x1 x 2 118, 4 135, 2
3, 2 3, 6
remember we can't divide.
This is just like the example above:
But what if we multiply both sides by A-1 ? XA = B
XAA-1 = BA-1
So to solve it we need the inverse of "A":
And we know that AA-1 = I, so:
XI = BA-1 1
3 3, 5 1 3, 6 3, 5
We can remove I (for the same reason we can remove "1" from
1x = ab for numbers): 3, 2 3, 6 3 x3, 6 3, 5 x3, 2 3, 2 3
X = BA-1
And we have our answer (assuming we can calculate A-1) 9 8, 75
8 7, 5
Now we have the inverse we can solve using:
This is what it looks like as AX = B:
X = BA-1
9 8,75 3 3, 5 x1 118, 4
x1 x2 118, 4 135, 2
8 7,5
3, 2 3, 6 x2 135, 2
118, 4 x(9) 135, 2 x8 118, 4 x8,75 135, 2 x( 7,5) 1
3 3, 5 1 3, 6 3, 5
16 22
3, 2 3, 6 3 x3, 6 3, 5 x3, 2 3, 2 3
There were 16 children and 22 adults
Order is Important 9 8
Say that we are trying to find "X" in this case:
8, 75 7, 5
AX = B
This is different to the example above! X is now after A. It is like the inverse we got before, but
With matrices the order of multiplication usually changes the Transposed (rows and columns swapped over).
answer. Do not assume that AB = BA, it is almost never true. X = A-1B
x1 9 8 118, 4
So how do we solve this one? Using the same method, but put
x2 8, 75 7,5 135, 2
A-1 in front: 9 x118, 4 8 x135, 2
A-1AX = A-1B
8, 75 x118, 4 7, 5 x135, 2
And we know that A-1A= I, so: 16
IX = A-1B 22
We can remove I: Same answer: 16 children and 22 adults.
X = A-1B So matrices are powerful things, but they do need to be set up
And we have our answer (assuming we can calculate A-1) correctly!
Determinant of a Matrix
Calculating the Determinant
The determinant of a matrix is a special number
that can be calculated from a square matrix. First of all the matrix must be square (i.e. have the same
number of rows as columns). Here is how:
A Matrix is an array of numbers:
As a formula:
Tentukan nilai x dan y untuk persamaan linear dibawah dengan menggunakan matriks
1. 2x y 5
x y 2
2. 2x y 2z 3
x yz 0
x y 3 z 12