Академический Документы
Профессиональный Документы
Культура Документы
(Array adalah sekumpulan variabel yang memiliki tipe data yang sama dan dinyatakan
dengan nama yang sama.
Tambahan: Array merupakan konsep yang penting dalam pemrograman, karena array
memungkinkan untuk menyimpan data maupun referensi objek dalam jumlah banyak dan
terindeks.)
http://www.mathsisfun
Other Definition
A matrix is a concise and useful way of uniquely representing and working with
linear transformations. In particular, every linear transformation can be
represented by a matrix, and every matrix corresponds to a unique linear
transformation. The matrix, and its close relative the determinant, are extremely
important concepts in linear algebra, and were first formulated by Sylvester (1851)
and Cayley.
http://mathworld.wolfram.com/Matrix.html
Notation
A matrix is usually shown by a capital letter (such as A, or B)
Each entry (or "element") is shown by a lower case letter with a
"subscript" of row,column:
The two matrices must be the same size, i.e. the rows must
match in size, and the columns must match in size.
for the 2nd row and 1st column: (4, 5, 6) • (7, 9, 11) = 4×7 + 5×9 + 6×11 = 139
for the 2nd row and 2nd column: (4, 5, 6) • (8, 10, 12) = 4×8 + 5×10 + 6×12 = 154
Matrices Operation: Multiplying by Another Matrix
• The number of columns of the 1st matrix must equal the number of
rows of the 2nd matrix.
• And the result will have the same number of rows as the 1st matrix,
and the same number of columns as the 2nd matrix.
Matrices Operation: Multiplying by Another Matrix
Matrix multiplication is not commutative:
AB ≠ BA
8 × (1/8) = 1
A × A-1 = I
(1/8) × 8 = 1
A-1 × A = I
Matrices Operation: Inverse
(matrix.xlsx)
Matrices Operation: Inverse
Say that you know Matrix A and B, and want to find Matrix X:
XA = B
It would be nice to divide both sides by A (to get X=B/A), but
remember we can't divide.
A group took a
trip on a bus, at
$3 per child and
$3,20 per adult
for a total of
$118,40.
They took the
train back at
$3,50 per child XA = B
and $3,60 per
adult for a total
of $135,20.
How many
children, and
how many adults?
Matrices Operation: Inverse
A group took a
trip on a bus, at X = BA-1
$3 per child and
$3,20 per adult
for a total of
$118,40.
They took the
train back at
$3,50 per child
and $3,60 per
adult for a total
of $135,20.
How many
children, and
how many adults?
Matrices Operation: Inverse
A group took a AX = B
trip on a bus, at
$3 per child and
$3,20 per adult
for a total of This is different to the example above! X
$118,40. is now after A.
They took the
train back at
$3,50 per child A-1AX = A-1B
and $3,60 per
adult for a total
of $135,20. IX = A-1B
How many
children, and X = A-1B
how many adults?
A group took a
trip on a bus, at
$3 per child and
$3,20 per adult
for a total of
$118,40.
They took the
train back at
$3,50 per child
and $3,60 per
adult for a total
of $135,20.
How many
children, and
how many adults?
Matrices Operation: Inverse