<< Chapter < Page Chapter >> Page >
Lab A Lab B
Computers 15 27
Computer Tables 16 34
Chairs 16 34

Converting the data to a matrix, we have

C 2013 = [ 15 16 16 27 34 34 ]

To calculate how much computer equipment will be needed, we multiply all entries in matrix C by 0.15.

( 0.15 ) C 2013 = [ ( 0.15 ) 15 ( 0.15 ) 16 ( 0.15 ) 16 ( 0.15 ) 27 ( 0.15 ) 34 ( 0.15 ) 34 ] = [ 2.25 2.4 2.4 4.05 5.1 5.1 ]

We must round up to the next integer, so the amount of new equipment needed is

[ 3 3 3 5 6 6 ]

Adding the two matrices as shown below, we see the new inventory amounts.

[ 15 16 16 27 34 34 ] + [ 3 3 3 5 6 6 ] = [ 18 19 19 32 40 40 ]

This means

C 2014 = [ 18 19 19 32 40 40 ]

Thus, Lab A will have 18 computers, 19 computer tables, and 19 chairs; Lab B will have 32 computers, 40 computer tables, and 40 chairs.

Scalar multiplication

Scalar multiplication involves finding the product of a constant by each entry in the matrix. Given

A = [ a 11 a 12 a 21 a 22 ]

the scalar multiple c A is

c A = c [ a 11 a 12 a 21 a 22 ]      = [ c a 11 c a 12 c a 21 c a 22 ]

Scalar multiplication is distributive. For the matrices A , B , and C with scalars a and b ,

a ( A + B ) = a A + a B ( a + b ) A = a A + b A

Multiplying the matrix by a scalar

Multiply matrix A by the scalar 3.

A = [ 8 1 5 4 ]

Multiply each entry in A by the scalar 3.

3 A = 3 [ 8 1 5 4 ] =   [ 3 8 3 1 3 5 3 4 ] =   [ 24 3 15 12 ]
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Given matrix B , find −2 B where

B = [ 4 1 3 2 ]

−2 B = [ −8 −2 −6 −4 ]

Got questions? Get instant answers now!

Finding the sum of scalar multiples

Find the sum 3 A + 2 B .

A = [ 1 −2 0 0 −1 2 4 3 −6 ]  and  B = [ −1 2 1 0 −3 2 0 1 −4 ]

First, find 3 A , then 2 B .

3 A = [ 3 1 3 ( −2 ) 3 0 3 0 3 ( −1 ) 3 2 3 4 3 3 3 ( −6 ) ] = [ 3 −6 0 0 −3 6 12 9 −18 ]
2 B = [ 2 ( −1 ) 2 2 2 1 2 0 2 ( −3 ) 2 2 2 0 2 1 2 ( −4 ) ] = [ −2 4 2 0 −6 4 0 2 −8 ]

Now, add 3 A + 2 B .

3 A + 2 B = [ 3 −6 0 0 −3 6 12 9 −18 ] + [ −2 4 2 0 −6 4 0 2 −8 ]               = [ 3 2 −6 + 4 0 + 2 0 + 0 −3 6 6 + 4 12 + 0 9 + 2 −18 −8 ]               = [ 1 −2 2 0 −9 10 12 11 26 ]
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Finding the product of two matrices

In addition to multiplying a matrix by a scalar, we can multiply two matrices. Finding the product of two matrices is only possible when the inner dimensions are the same, meaning that the number of columns of the first matrix is equal to the number of rows of the second matrix. If A is an   m   ×   r   matrix and B is an   r   ×   n   matrix, then the product matrix A B is an   m   ×   n   matrix. For example, the product A B is possible because the number of columns in A is the same as the number of rows in B . If the inner dimensions do not match, the product is not defined.

We multiply entries of A with entries of B according to a specific pattern as outlined below. The process of matrix multiplication becomes clearer when working a problem with real numbers.

To obtain the entries in row i of A B , we multiply the entries in row i of A by column j in B and add. For example, given matrices A and B , where the dimensions of A are 2   ×   3 and the dimensions of B are 3   ×   3 , the product of A B will be a 2   ×   3 matrix.

A = [ a 11 a 12 a 13 a 21 a 22 a 23 ]  and  B = [ b 11 b 12 b 13 b 21 b 22 b 23 b 31 b 32 b 33 ]

Multiply and add as follows to obtain the first entry of the product matrix A B .

  1. To obtain the entry in row 1, column 1 of A B , multiply the first row in A by the first column in B , and add.
    [ a 11 a 12 a 13 ] [ b 11 b 21 b 31 ] = a 11 b 11 + a 12 b 21 + a 13 b 31
  2. To obtain the entry in row 1, column 2 of A B , multiply the first row of A by the second column in B , and add.
    [ a 11 a 12 a 13 ] [ b 12 b 22 b 32 ] = a 11 b 12 + a 12 b 22 + a 13 b 32
  3. To obtain the entry in row 1, column 3 of A B , multiply the first row of A by the third column in B , and add.
    [ a 11 a 12 a 13 ] [ b 13 b 23 b 33 ] = a 11 b 13 + a 12 b 23 + a 13 b 33

Questions & Answers

what is mutation
Janga Reply
what is a cell
Sifune Reply
how is urine form
Sifune
what is antagonism?
mahase Reply
classification of plants, gymnosperm features.
Linsy Reply
what is the features of gymnosperm
Linsy
how many types of solid did we have
Samuel Reply
what is an ionic bond
Samuel
What is Atoms
Daprince Reply
what is fallopian tube
Merolyn
what is bladder
Merolyn
what's bulbourethral gland
Eduek Reply
urine is formed in the nephron of the renal medulla in the kidney. It starts from filtration, then selective reabsorption and finally secretion
onuoha Reply
State the evolution relation and relevance between endoplasmic reticulum and cytoskeleton as it relates to cell.
Jeremiah
what is heart
Konadu Reply
how is urine formed in human
Konadu
how is urine formed in human
Rahma
what is the diference between a cavity and a canal
Pelagie Reply
what is the causative agent of malaria
Diamond
malaria is caused by an insect called mosquito.
Naomi
Malaria is cause by female anopheles mosquito
Isaac
Malaria is caused by plasmodium Female anopheles mosquitoe is d carrier
Olalekan
a canal is more needed in a root but a cavity is a bad effect
Commander
what are pathogens
Don Reply
In biology, a pathogen (Greek: πάθος pathos "suffering", "passion" and -γενής -genēs "producer of") in the oldest and broadest sense, is anything that can produce disease. A pathogen may also be referred to as an infectious agent, or simply a germ. The term pathogen came into use in the 1880s.[1][2
Zainab
A virus
Commander
Definition of respiration
Muhsin Reply
respiration is the process in which we breath in oxygen and breath out carbon dioxide
Achor
how are lungs work
Commander
where does digestion begins
Achiri Reply
in the mouth
EZEKIEL
what are the functions of follicle stimulating harmones?
Rashima Reply
stimulates the follicle to release the mature ovum into the oviduct
Davonte
what are the functions of Endocrine and pituitary gland
Chinaza
endocrine secrete hormone and regulate body process
Achor
while pituitary gland is an example of endocrine system and it's found in the Brain
Achor
what's biology?
Egbodo Reply
Biology is the study of living organisms, divided into many specialized field that cover their morphology, physiology,anatomy, behaviour,origin and distribution.
Lisah
biology is the study of life.
Alfreda
Biology is the study of how living organisms live and survive in a specific environment
Sifune
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply
Practice Key Terms 5

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Algebra and trigonometry. OpenStax CNX. Nov 14, 2016 Download for free at https://legacy.cnx.org/content/col11758/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Algebra and trigonometry' conversation and receive update notifications?

Ask