<< 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 to create a software using Android phone
Wiseman Reply
how
basra
what is the difference between C and C++.
Yan Reply
what is software
Sami Reply
software is a instructions like programs
Shambhu
what is the difference between C and C++.
Yan
yes, how?
Hayder
what is software engineering
Ahmad
software engineering is a the branch of computer science deals with the design,development, testing and maintenance of software applications.
Hayder
who is best bw software engineering and cyber security
Ahmad
Both software engineering and cybersecurity offer exciting career prospects, but your choice ultimately depends on your interests and skills. If you enjoy problem-solving, programming, and designing software syste
Hayder
what's software processes
Ntege Reply
I haven't started reading yet. by device (hardware) or for improving design Lol? Here. Requirement, Design, Implementation, Verification, Maintenance.
Vernon
I can give you a more valid answer by 5:00 By the way gm.
Vernon
it is all about designing,developing, testing, implementing and maintaining of software systems.
Ehenew
hello assalamualaikum
Sami
My name M Sami I m 2nd year student
Sami
what is the specific IDE for flutter programs?
Mwami Reply
jegudgdtgd my Name my Name is M and I have been talking about iey my papa john's university of washington post I tagged I will be in
Mwaqas Reply
yes
usman
how disign photo
atul Reply
hlo
Navya
hi
Michael
yes
Subhan
Show the necessary steps with description in resource monitoring process (CPU,memory,disk and network)
samuel Reply
What is software engineering
Tafadzwa Reply
Software engineering is a branch of computer science directed to writing programs to develop Softwares that can drive or enable the functionality of some hardwares like phone , automobile and others
kelvin
if any requirement engineer is gathering requirements from client and after getting he/she Analyze them this process is called
Alqa Reply
The following text is encoded in base 64. Ik5ldmVyIHRydXN0IGEgY29tcHV0ZXIgeW91IGNhbid0IHRocm93IG91dCBhIHdpbmRvdyIgLSBTdGV2ZSBXb3puaWFr Decode it, and paste the decoded text here
Julian Reply
what to do you mean
Vincent
hello
ALI
how are you ?
ALI
What is the command to list the contents of a directory in Unix and Unix-like operating systems
George Reply
how can i make my own software free of cost
Faizan Reply
like how
usman
hi
Hayder
The name of the author of our software engineering book is Ian Sommerville.
Doha Reply
what is software
Sampson Reply
the set of intruction given to the computer to perform a task
Noor
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