06.09.2021 Views

Fundamentals of Matrix Algebra, 2011a

Fundamentals of Matrix Algebra, 2011a

Fundamentals of Matrix Algebra, 2011a

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.

Before compung the length <strong>of</strong> || − 2⃗x||, we note that −2⃗x =<br />

|| − 2⃗x|| = √ 16 + 4 = √ 20 = 2 √ 5 = 2||⃗x||.<br />

[ ] 2c<br />

Finally, to compute ||c⃗x||, we note that c⃗x = . Thus:<br />

−c<br />

||c⃗x|| = √ (2c) 2 + (−c) 2 = √ 4c 2 + c 2 = √ 5c 2 = |c| √ 5.<br />

2.3 Visualizing <strong>Matrix</strong> Arithmec in 2D<br />

[ ] −4<br />

.<br />

2<br />

This last line is true because the square root <strong>of</strong> any number squared is the absolute<br />

value <strong>of</strong> that number (for example, √ (−3) 2 = 3). .<br />

The last computaon <strong>of</strong> our example is the most important one. It shows that,<br />

in general, mulplying a vector ⃗x by a scalar c stretches ⃗x by a factor <strong>of</strong> |c| (and the<br />

direcon will change if c is negave). This is important so we’ll make it a Theorem.<br />

.<br />

Ṫheorem 4<br />

Vector Length and Scalar Mulplicaon<br />

.<br />

Let ⃗x be a vector and let c be a scalar. Then the length <strong>of</strong> c⃗x<br />

is<br />

||c⃗x|| = |c| · ||⃗x||.<br />

<strong>Matrix</strong> − Vector Mulplicaon<br />

The last arithmec operaon to consider visualizing is matrix mulplicaon. Specifically,<br />

we want to visualize the result <strong>of</strong> mulplying a vector by a matrix. In order to<br />

mulply a 2D vector by a matrix and get a 2D vector back, our matrix must be a square,<br />

2 × 2 matrix. 11<br />

We’ll start with an example. Given a matrix A and several vectors, we’ll graph the<br />

vectors before and aer they’ve been mulplied by A and see what we learn.<br />

. Example 40 .Let A be a matrix, and ⃗x,⃗y, and⃗z be vectors as given below.<br />

A =<br />

[ ] [ ]<br />

1 4 1<br />

, ⃗x = , ⃗y =<br />

2 3 1<br />

Graph ⃗x,⃗y and⃗z, as well as A⃗x, A⃗y and A⃗z.<br />

[ ] [ ]<br />

−1<br />

3<br />

, ⃗z =<br />

1<br />

−1<br />

S<br />

11 We can mulply a 3 × 2 matrix by a 2D vector and get a 3D vector back, and this gives very interesng<br />

results. See secon 5.2.<br />

75

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

Saved successfully!

Ooh no, something went wrong!