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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

164 R n<br />

Example 4.26: Compute a Dot Product<br />

F<strong>in</strong>d ⃗u •⃗v for<br />

⃗u =<br />

⎡<br />

⎢<br />

⎣<br />

1<br />

2<br />

0<br />

−1<br />

⎤<br />

⎡<br />

⎥<br />

⎦ ,⃗v = ⎢<br />

⎣<br />

0<br />

1<br />

2<br />

3<br />

⎤<br />

⎥<br />

⎦<br />

Solution. By Def<strong>in</strong>ition 4.25, we must compute<br />

This is given by<br />

⃗u •⃗v =<br />

4<br />

∑ u k v k<br />

k=1<br />

⃗u •⃗v = (1)(0)+(2)(1)+(0)(2)+(−1)(3)<br />

= 0 + 2 + 0 + −3<br />

= −1<br />

With this def<strong>in</strong>ition, there are several important properties satisfied by the dot product.<br />

♠<br />

Proposition 4.27: Properties of the Dot Product<br />

Let k and p denote scalars and ⃗u,⃗v,⃗w denote vectors. Then the dot product ⃗u •⃗v satisfies the follow<strong>in</strong>g<br />

properties.<br />

• ⃗u •⃗v =⃗v •⃗u<br />

• ⃗u •⃗u ≥ 0 and equals zero if and only if ⃗u =⃗0<br />

• (k⃗u + p⃗v) •⃗w = k (⃗u •⃗w)+p(⃗v •⃗w)<br />

• ⃗u • (k⃗v + p⃗w)=k (⃗u •⃗v)+p(⃗u •⃗w)<br />

• ‖⃗u‖ 2 =⃗u •⃗u<br />

The proof is left as an exercise. This proposition tells us that we can also use the dot product to f<strong>in</strong>d<br />

the length of a vector.<br />

Example 4.28: Length of a Vector<br />

F<strong>in</strong>d the length of<br />

That is, f<strong>in</strong>d ‖⃗u‖.<br />

⃗u =<br />

⎡<br />

⎢<br />

⎣<br />

2<br />

1<br />

4<br />

2<br />

⎤<br />

⎥<br />

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

Saved successfully!

Ooh no, something went wrong!