Matrix
Matrix
• A rectangular array of numbers.
• The numbers in the array are called entries in the matrix.
• A matrix A with n rows and n columns is called a square
matrix of order n, and the entries a11, a22, a33,...,ann are on
the main diagonal of A.
Some Matrix operations
• Addition: Add two matrices of the same size.
• Subtraction: Subtract two matrices of the same size.
• Scalar Multiplication: Multiply each element of a matrix
by a constant.
• Matrix Multiplication: Multiply two matrices to create a
new matrix.
• Transpose: Flip the rows and columns of a matrix.
Matrix Multiplication
(1, 2, 3) • (7, 9, 11) (1, 2, 3) • (8, 10, 12)
= 1×7 + 2×9 + 3×11 = 1×8 + 2×10 + 3×12
= 58 = 64
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
References
• [Link]
• [Link]
bin/classes/pharmacokinetics/Math_bg/Matrix/[Link]
• [Link]