Notes on linear algebra


Download 372.5 Kb.
bet27/38
Sana20.06.2023
Hajmi372.5 Kb.
#1636207
1   ...   23   24   25   26   27   28   29   30   ...   38
Bog'liq
linalgnotes all

[19] GENERAL REVIEW

This will be a general review on the differences between matrices, vectors, and numbers. Lots of things that you can do with numbers sadly don’t hold for matrices. However, some things are the same, so it can get a little confusing. Remember, whenever you write something, you need to have a reason justifying it. Being true for numbers is NOT a valid reason.


Let’s look at some examples that are true for numbers and matrices:




1/Addition
3 + 5 = 5 + 3

Or, it doesn’t matter what order you add two numbers.


A + B = B + A


For example,


(1 2) + (3 4) = (4 6) = (3 4) + (1 2)


(5 6) (0 1) (5 7) (0 1) (5 6)

So, you can add two matrices in any order.


You can also add two vectors in any order.


2/Multiplying in a Sequence
Recall what 2 * (3 * 4) means. It means FIRST we multiply 3 and 4, THEN we multiply that by 2 on the left. This is the same as (2 * 3) * 4, which means first multiplying 2 by 3, then multiplying that by 4.

For matrices, it’s the same. A(BC) = (AB)C. However, please not that we do not have A(BC) = (AC)B. And we also don’t have A(BC) = A(CB). We have to keep the matrices in the same order.


Let’s look at some things that are different:
3/Getting Zero:
If m and n are two numbers, and mn = 0, then either m = 0, n = 0, or both m and n equal zero. This is not true for multiplying matrices. For example:

Consider the following product:


(0 1) (1 0)


(0 0) (0 0)

How do we find the first column of the product? It’s just


(0 1) (1) = (0*1 + 1*0) = (0)


(0 0) (0) (0*1 + 0*0) = (0)

How do we find the second column? It’s just


(0 1) (0) = (0*0 + 1*0) = (0)


(0 0) (0) (0*0 + 0*0) = (0)

Hence

(0 1) (1 0) = (0 0)
(0 0) (0 0) (0 0)

So, even though neither matrix is zero, their product is.





Download 372.5 Kb.

Do'stlaringiz bilan baham:
1   ...   23   24   25   26   27   28   29   30   ...   38




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling