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

what is the answer to dividing negative index
Morosi Reply
In a triangle ABC prove that. (b+c)cosA+(c+a)cosB+(a+b)cisC=a+b+c.
Shivam Reply
give me the waec 2019 questions
Aaron Reply
the polar co-ordinate of the point (-1, -1)
Sumit Reply
prove the identites sin x ( 1+ tan x )+ cos x ( 1+ cot x )= sec x + cosec x
Rockstar Reply
tanh`(x-iy) =A+iB, find A and B
Pankaj Reply
B=Ai-itan(hx-hiy)
Rukmini
what is the addition of 101011 with 101010
Branded Reply
If those numbers are binary, it's 1010101. If they are base 10, it's 202021.
Jack
extra power 4 minus 5 x cube + 7 x square minus 5 x + 1 equal to zero
archana Reply
the gradient function of a curve is 2x+4 and the curve passes through point (1,4) find the equation of the curve
Kc Reply
1+cos²A/cos²A=2cosec²A-1
Ramesh Reply
test for convergence the series 1+x/2+2!/9x3
success Reply
a man walks up 200 meters along a straight road whose inclination is 30 degree.How high above the starting level is he?
Lhorren Reply
100 meters
Kuldeep
Find that number sum and product of all the divisors of 360
jancy Reply
answer
Ajith
exponential series
Naveen
yeah
Morosi
prime number?
Morosi
what is subgroup
Purshotam Reply
Prove that: (2cos&+1)(2cos&-1)(2cos2&-1)=2cos4&+1
Macmillan Reply
Practice Key Terms 5

Get the best Algebra and trigonometry course in your pocket!





Source:  OpenStax, Algebra and trigonometry. OpenStax CNX. Nov 14, 2016 Download for free at https://legacy.cnx.org/content/col11758/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

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

Ask