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

summarize halerambos & holbon
David Reply
the Three stages of Auguste Comte
Clementina Reply
what are agents of socialization
Antonio Reply
sociology of education
Nuhu Reply
definition of sociology of education
Nuhu
what is culture
Abdulrahim Reply
shared beliefs, values, and practices
AI-Robot
What are the two type of scientific method
ogunniran Reply
I'm willing to join you
Aceng Reply
what are the scientific method of sociology
Man
what is socialization
ogunniran Reply
the process wherein people come to understand societal norms and expectations, to accept society's beliefs, and to be aware of societal values
AI-Robot
scientific method in doing research
ogunniran
defimition of sickness in afica
Anita
Cosmology
ogunniran
Hmmm
ogunniran
list and explain the terms that found in society
REMMY Reply
list and explain the terms that found in society
Mukhtar
what are the agents of socialization
Antonio
Family Peer group Institution
Abdulwajud
I mean the definition
Antonio
ways of perceived deviance indifferent society
Naomi Reply
reasons of joining groups
SAM
to bring development to the nation at large
Hyellafiya
entails of consultative and consensus building from others
Gadama
World first Sociologist?
Abu
What is evolutionary model
Muhammad Reply
Evolution models refer to mathematical and computational representations of the processes involved in biological evolution. These models aim to simulate and understand how species change over time through mechanisms such as natural selection, genetic drift, and mutation. Evolutionary models can be u
faruk
what are the modern trends in religious behaviours
Selekeye Reply
what are social norms
Daniel Reply
shared standards of acceptable behavior by the group or appropriate behavior in a particular institution or those behaviors that are acceptable in a society
Lucius
that is how i understood it
Lucius
examples of societal norms
Diamond
Discuss the characteristics of the research located within positivist and the interpretivist paradigm
Tariro Reply
what is Industrialisation
Selekeye Reply
industrialization
Angelo
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