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

Why is b in the answer
Dahsolar Reply
how do you work it out?
Brad Reply
answer
Ernest
heheheehe
Nitin
(Pcos∅+qsin∅)/(pcos∅-psin∅)
John Reply
how to do that?
Rosemary Reply
what is it about?
Amoah
how to answer the activity
Chabelita Reply
how to solve the activity
Chabelita
solve for X,,4^X-6(2^)-16=0
Alieu Reply
x4xminus 2
Lominate
sobhan Singh jina uniwarcity tignomatry ka long answers tile questions
harish Reply
t he silly nut company makes two mixtures of nuts: mixture a and mixture b. a pound of mixture a contains 12 oz of peanuts, 3 oz of almonds and 1 oz of cashews and sells for $4. a pound of mixture b contains 12 oz of peanuts, 2 oz of almonds and 2 oz of cashews and sells for $5. the company has 1080
ZAHRO Reply
If  , , are the roots of the equation 3 2 0, x px qx r     Find the value of 1  .
Swetha Reply
Parts of a pole were painted red, blue and yellow. 3/5 of the pole was red and 7/8 was painted blue. What part was painted yellow?
Patrick Reply
Parts of the pole was painted red, blue and yellow. 3 /5 of the pole was red and 7 /8 was painted blue. What part was painted yellow?
Patrick
how I can simplify algebraic expressions
Katleho Reply
Lairene and Mae are joking that their combined ages equal Sam’s age. If Lairene is twice Mae’s age and Sam is 69 yrs old, what are Lairene’s and Mae’s ages?
Mary Reply
23yrs
Yeboah
lairenea's age is 23yrs
ACKA
hy
Katleho
Ello everyone
Katleho
Laurene is 46 yrs and Mae is 23 is
Solomon
hey people
christopher
age does not matter
christopher
solve for X, 4^x-6(2*)-16=0
Alieu
prove`x^3-3x-2cosA=0 (-π<A<=π
Mayank Reply
create a lesson plan about this lesson
Rose Reply
Excusme but what are you wrot?
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, 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