06.09.2021 Views

A First Course in Linear Algebra, 2017a

A First Course in Linear Algebra, 2017a

A First Course in Linear Algebra, 2017a

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.1. Matrix Arithmetic 55<br />

In other words, two matrices are equal exactly when they are the same size and the correspond<strong>in</strong>g<br />

entries are identical. Thus<br />

⎡ ⎤<br />

0 0 [ ]<br />

⎣ 0 0 ⎦ 0 0<br />

≠<br />

0 0<br />

0 0<br />

because they are different sizes. Also,<br />

[ 0 1<br />

3 2<br />

]<br />

≠<br />

[ 1 0<br />

2 3<br />

because, although they are the same size, their correspond<strong>in</strong>g entries are not identical.<br />

In the follow<strong>in</strong>g section, we explore addition of matrices.<br />

2.1.1 Addition of Matrices<br />

When add<strong>in</strong>g matrices, all matrices <strong>in</strong> the sum need have the same size. For example,<br />

⎡ ⎤<br />

1 2<br />

⎣ 3 4 ⎦<br />

5 2<br />

and [<br />

−1 4 8<br />

2 8 5<br />

cannot be added, as one has size 3 × 2 while the other has size 2 × 3.<br />

However, the addition ⎡<br />

⎤ ⎡<br />

⎤<br />

4 6 3 0 5 0<br />

⎣ 5 0 4 ⎦ + ⎣ 4 −4 14 ⎦<br />

11 −2 3 1 2 6<br />

is possible.<br />

The formal def<strong>in</strong>ition is as follows.<br />

Def<strong>in</strong>ition 2.5: Addition of Matrices<br />

Let A = [ ] [ ]<br />

a ij and B = bij be two m × n matrices. Then A + B = C where C is the m × n matrix<br />

C = [ ]<br />

c ij def<strong>in</strong>ed by<br />

c ij = a ij + b ij<br />

]<br />

]<br />

This def<strong>in</strong>ition tells us that when add<strong>in</strong>g matrices, we simply add correspond<strong>in</strong>g entries of the matrices.<br />

This is demonstrated <strong>in</strong> the next example.<br />

Example 2.6: Addition of Matrices of Same Size<br />

Add the follow<strong>in</strong>g matrices, if possible.<br />

[ 1 2 3<br />

A =<br />

1 0 4<br />

] [<br />

,B =<br />

5 2 3<br />

−6 2 1<br />

]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!