<< 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

Discuss the differences between taste and flavor, including how other sensory inputs contribute to our  perception of flavor.
John Reply
taste refers to your understanding of the flavor . while flavor one The other hand is refers to sort of just a blend things.
Faith
While taste primarily relies on our taste buds, flavor involves a complex interplay between taste and aroma
Kamara
which drugs can we use for ulcers
Ummi Reply
omeprazole
Kamara
what
Renee
what is this
Renee
is a drug
Kamara
of anti-ulcer
Kamara
Omeprazole Cimetidine / Tagament For the complicated once ulcer - kit
Patrick
what is the function of lymphatic system
Nency Reply
Not really sure
Eli
to drain extracellular fluid all over the body.
asegid
The lymphatic system plays several crucial roles in the human body, functioning as a key component of the immune system and contributing to the maintenance of fluid balance. Its main functions include: 1. Immune Response: The lymphatic system produces and transports lymphocytes, which are a type of
asegid
to transport fluids fats proteins and lymphocytes to the blood stream as lymph
Adama
what is anatomy
Oyindarmola Reply
Anatomy is the identification and description of the structures of living things
Kamara
what's the difference between anatomy and physiology
Oyerinde Reply
Anatomy is the study of the structure of the body, while physiology is the study of the function of the body. Anatomy looks at the body's organs and systems, while physiology looks at how those organs and systems work together to keep the body functioning.
AI-Robot
what is enzymes all about?
Mohammed Reply
Enzymes are proteins that help speed up chemical reactions in our bodies. Enzymes are essential for digestion, liver function and much more. Too much or too little of a certain enzyme can cause health problems
Kamara
yes
Prince
how does the stomach protect itself from the damaging effects of HCl
Wulku Reply
little girl okay how does the stomach protect itself from the damaging effect of HCL
Wulku
it is because of the enzyme that the stomach produce that help the stomach from the damaging effect of HCL
Kamara
function of digestive system
Ali Reply
function of digestive
Ali
the diagram of the lungs
Adaeze Reply
what is the normal body temperature
Diya Reply
37 degrees selcius
Xolo
37°c
Stephanie
please why 37 degree selcius normal temperature
Mark
36.5
Simon
37°c
Iyogho
the normal temperature is 37°c or 98.6 °Fahrenheit is important for maintaining the homeostasis in the body the body regular this temperature through the process called thermoregulation which involves brain skin muscle and other organ working together to maintain stable internal temperature
Stephanie
37A c
Wulku
what is anaemia
Diya Reply
anaemia is the decrease in RBC count hemoglobin count and PVC count
Eniola
what is the pH of the vagina
Diya Reply
how does Lysin attack pathogens
Diya
acid
Mary
I information on anatomy position and digestive system and there enzyme
Elisha Reply
anatomy of the female external genitalia
Muhammad Reply
Organ Systems Of The Human Body (Continued) Organ Systems Of The Human Body (Continued)
Theophilus Reply
what's lochia albra
Kizito
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, College algebra. OpenStax CNX. Feb 06, 2015 Download for free at https://legacy.cnx.org/content/col11759/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'College algebra' conversation and receive update notifications?

Ask