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

how do you get the 2/50
Abba Reply
number of sport play by 50 student construct discrete data
Aminu Reply
width of the frangebany leaves on how to write a introduction
Theresa Reply
Solve the mean of variance
Veronica Reply
Step 1: Find the mean. To find the mean, add up all the scores, then divide them by the number of scores. ... Step 2: Find each score's deviation from the mean. ... Step 3: Square each deviation from the mean. ... Step 4: Find the sum of squares. ... Step 5: Divide the sum of squares by n – 1 or N.
kenneth
what is error
Yakuba Reply
Is mistake done to something
Vutshila
Hy
anas
hy
What is the life teble
anas
hy
Jibrin
statistics is the analyzing of data
Tajudeen Reply
what is statics?
Zelalem Reply
how do you calculate mean
Gloria Reply
diveving the sum if all values
Shaynaynay
let A1,A2 and A3 events be independent,show that (A1)^c, (A2)^c and (A3)^c are independent?
Fisaye Reply
what is statistics
Akhisani Reply
data collected all over the world
Shaynaynay
construct a less than and more than table
Imad Reply
The sample of 16 students is taken. The average age in the sample was 22 years with astandard deviation of 6 years. Construct a 95% confidence interval for the age of the population.
Aschalew Reply
Bhartdarshan' is an internet-based travel agency wherein customer can see videos of the cities they plant to visit. The number of hits daily is a normally distributed random variable with a mean of 10,000 and a standard deviation of 2,400 a. what is the probability of getting more than 12,000 hits? b. what is the probability of getting fewer than 9,000 hits?
Akshay Reply
Bhartdarshan'is an internet-based travel agency wherein customer can see videos of the cities they plan to visit. The number of hits daily is a normally distributed random variable with a mean of 10,000 and a standard deviation of 2,400. a. What is the probability of getting more than 12,000 hits
Akshay
1
Bright
Sorry i want to learn more about this question
Bright
Someone help
Bright
a= 0.20233 b=0.3384
Sufiyan
a
Shaynaynay
How do I interpret level of significance?
Mohd Reply
It depends on your business problem or in Machine Learning you could use ROC- AUC cruve to decide the threshold value
Shivam
how skewness and kurtosis are used in statistics
Owen Reply
yes what is it
Taneeya
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