Docsity

Lecture Notes on Matrices: Representing Data and Operations - Prof. D. Lackey, Study notes of Mathematics

Toggle sidebar
bg1
Math 166 Lecture Notes 5.1
Section 5.1 Matrices
Using Matrices to Represent Data
A matrix is an ordered rectangular array of numbers. A matrix with m rows and n
columns has size m x n. The entry in the ith row and jth column is denoted by
ij
a
or
,
i j
a
.
Example 1: The Excellent Eggs Family Farm markets their eggs in three sizes. They
have three locations where they house their hens and collect the eggs. The farm’s egg
production for March is summarized in the table below.
Table 1. Excellent Eggs Family Farm – March production
Size S Size M Size L
Uncle Joe’s 120 380 460
Aunt Sue’s 80 340 410
Cousin Bob’s 140 420 500
a) Use a matrix to represent the data.
b) What is the size of the matrix?
c) Find
a
3,1
and give an interpretation of the number.
d) Find
a
2,3
and give an interpretation of the number.
e) Find the sum of the entries that make up row 1 and interpret the results.
f) Find the sum of the entries that make up column 3 and interpret the result.
pf3
pf4

Partial preview of the text

Download Lecture Notes on Matrices: Representing Data and Operations - Prof. D. Lackey and more Study notes Mathematics in PDF only on Docsity!

Math 166 Lecture Notes 5.

Section 5.1 Matrices

Using Matrices to Represent Data

A matrix is an ordered rectangular array of numbers. A matrix with m rows and n columns has size m x n. The entry in the ith row and jth column is denoted by aij or ai j (^) ,.

Example 1: The Excellent Eggs Family Farm markets their eggs in three sizes. They have three locations where they house their hens and collect the eggs. The farm’s egg production for March is summarized in the table below.

Table 1. Excellent Eggs Family Farm – March production

Size S Size M Size L Uncle Joe’s 120 380 460 Aunt Sue’s 80 340 410 Cousin Bob’s 140 420 500

a) Use a matrix to represent the data.

b) What is the size of the matrix?

c) Find a 1 , 3 and give an interpretation of the number.

d) Find a 3 , 2 and give an interpretation of the number.

e) Find the sum of the entries that make up row 1 and interpret the results.

f) Find the sum of the entries that make up column 3 and interpret the result.

Equality of Matrices

Two matrices are equal if they are the same size AND their corresponding entries are equal.

Example 2: Tell whether the following matrices are equal.

a) (^)  

and 

b)

and

Addition and Subtraction of Matrices

If A and B are two matrices of the same size,

  1. The sum A + B is the matrix obtained by adding the corresponding entries in the two matrices.
  2. The difference A – B is the matrix obtained by subtracting the corresponding entries in B from A. (entries in A minus the corresponding entries in B).

If A and B are two matrices of different sizes, you cannot compute the sum or the difference!

Laws for Matrix Addition If A, B, and C are matrices of the same size, then the commutative and associative properties hold true.

  1. Commutative property: A + B = B + A

 −^   −^   −^   − 

  +^   =^   + 

  1. Associative property: (A + B) + C = A + (B + C)

   +^    +^   =^   +^    + 

 ^ ^ ^  ^ −^ ^ ^ ^  ^ ^ − 

Matrix Equations

Given

A

and

B

and

C

= ^ − 

Example 6: Find the matrix X satisfying the matrix equation X = 2C – 3B T

Example 7: Find the matrix X satisfying the matrix equation 2 X + B = 3A.

Note: We might want to first solve for X in the matrix equation 2X + B = 3A, as if we did not have any specific matrices A and B in mind…