The SparkNote section on Ordered Pairs explained
how to represent data as an ordered pair. Another way
to represent data is in a matrix. An
m×n
matrix has
m
rows and
n
columns, and each entry is given a unique name, based on
its row and column:
A = |
The number of rows and the number of columns are called dimensions.
Here is an example of a
3×2
-dimensional matrix:
A = |
a _{11} = 1
a _{12} = 16
a _{21} = - 12
a _{22} = -
a _{31} = 4
a _{32} = 0
Two matrices can be added if and only if they have the same number of
rows and the same number of columns. To add two matrices, add their
corresponding entries:
[A] + [B] | = + | ||
= |
+ | = | ||
= |
Matrix addition is commutative: A + B = B + A . Matrix addition is also associative: (A + B) + C = A + (B + C) .
As in addition, two matrices can be subtracted if and only if they have
the same number of rows and the same number of columns. To subtract one
matrix from another, subtract their corresponding entries:
[A] - [B] | = - | ||
= |
- | = | ||
= |
Take a Study Break!