<< Chapter < Page Chapter >> Page >

Adding and subtracting matrices

We use matrices to list data or to represent systems. Because the entries are numbers, we can perform operations on matrices. We add or subtract matrices by adding or subtracting corresponding entries.

In order to do this, the entries must correspond. Therefore, addition and subtraction of matrices is only possible when the matrices have the same dimensions . We can add or subtract a   3   ×   3   matrix and another   3   ×   3   matrix, but we cannot add or subtract a   2   ×   3   matrix and a   3   ×   3   matrix because some entries in one matrix will not have a corresponding entry in the other matrix.

Adding and subtracting matrices

Given matrices A and B of like dimensions, addition and subtraction of A and B will produce matrix C or
matrix D of the same dimension.

A + B = C  such that  a i j + b i j = c i j
A B = D  such that  a i j b i j = d i j

Matrix addition is commutative.

A + B = B + A

It is also associative.

( A + B ) + C = A + ( B + C )

Finding the sum of matrices

Find the sum of A and B , given

A = [ a b c d ]    and   B = [ e f g h ]

Add corresponding entries.

A + B = [ a b c d ] + [ e f g h ]           = [ a + e b + f c + g d + h ]
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Adding matrix A And matrix B

Find the sum of A and B .

A = [ 4 1 3 2 ]   and   B = [ 5 9 0 7 ]

Add corresponding entries. Add the entry in row 1, column 1, a 11 , of matrix A to the entry in row 1, column 1, b 11 , of B . Continue the pattern until all entries have been added.

A + B = [ 4 1 3 2 ] + [ 5 9 0 7 ]           = [ 4 + 5 1 + 9 3 + 0 2 + 7 ]           = [ 9 10 3 9 ]
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Finding the difference of two matrices

Find the difference of A and B .

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

We subtract the corresponding entries of each matrix.

A B = [ 2 3 0 1 ] [ 8 1 5 4 ]           = [ 2 8 3 1 0 5 1 4 ]           = [ 10 2 5 3 ]
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Finding the sum and difference of two 3 x 3 matrices

Given A and B :

  1. Find the sum.
  2. Find the difference.
A = [ 2 −10 −2 14 12 10 4 −2 2 ]  and  B = [ 6 10 −2 0 −12 −4 −5 2 −2 ]
  1. Add the corresponding entries.
    A + B = [ 2 10 2 14 12 10 4 2 2 ] + [ 6 10 2 0 12 4 5 2 2 ] = [ 2 + 6 10 + 10 2 2 14 + 0 12 12 10 4 4 5 2 + 2 2 2 ] = [ 8 0 4 14 0 6 1 0 0 ]
  2. Subtract the corresponding entries.
    A B = [ 2 −10 −2 14 12 10 4 −2 2 ] [ 6 10 −2 0 −12 −4 −5 2 −2 ] = [ 2 6 −10 10 −2 + 2 14 0 12 + 12 10 + 4 4 + 5 −2 2 2 + 2 ] = [ −4 −20 0 14 24 14 9 −4 4 ]
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Add matrix A and matrix B .

A = [ 2 6 1 0 1 −3 ]   and   B = [ 3 −2 1 5 −4 3 ]
A + B = [ 2 1 1 6 0 −3 ] + [ 3 1 −4 −2 5 3 ] = [ 2 + 3 1 + 1 1 + ( −4 ) 6 + ( −2 ) 0 + 5 −3 + 3 ] = [ 5 2 −3 4 5 0 ]
Got questions? Get instant answers now!

Finding scalar multiples of a matrix

Besides adding and subtracting whole matrices, there are many situations in which we need to multiply a matrix by a constant called a scalar. Recall that a scalar    is a real number quantity that has magnitude, but not direction. For example, time, temperature, and distance are scalar quantities. The process of scalar multiplication    involves multiplying each entry in a matrix by a scalar. A scalar multiple    is any entry of a matrix that results from scalar multiplication.

Consider a real-world scenario in which a university needs to add to its inventory of computers, computer tables, and chairs in two of the campus labs due to increased enrollment. They estimate that 15% more equipment is needed in both labs. The school’s current inventory is displayed in [link] .

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, Precalculus. OpenStax CNX. Jan 19, 2016 Download for free at https://legacy.cnx.org/content/col11667/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

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

Ask