Back to Linear Algebra

Length and Angle Measures

The dot product supplies length and angle in n dimensions, justified by the Cauchy-Schwarz inequality and the triangle inequality.

Linear Algebra, Length and Angle Measures

Status
FlagsLoading your progress…

28 exercises

Exercise 1

Find the length of each vector.

  • (a)  (31)\begin{pmatrix}3\\ 1\end{pmatrix}     (b)  (−12)\begin{pmatrix}-1\\ 2\end{pmatrix}     (c)  (411)\begin{pmatrix}4\\ 1\\ 1\end{pmatrix}     (d)  (000)\begin{pmatrix}0\\ 0\\ 0\end{pmatrix}     (e)  (1−110)\begin{pmatrix}1\\ -1\\ 1\\ 0\end{pmatrix}

3.0

Exercise 2

Find the angle between each two, if it is defined.

  • (a)  (12),(14)\begin{pmatrix}1\\ 2\end{pmatrix},\begin{pmatrix}1\\ 4\end{pmatrix}     (b)  (120),(041)\begin{pmatrix}1\\ 2\\ 0\end{pmatrix},\begin{pmatrix}0\\ 4\\ 1\end{pmatrix}     (c)  (12),(14−1)\begin{pmatrix}1\\ 2\end{pmatrix},\begin{pmatrix}1\\ 4\\ -1\end{pmatrix}

3.0

Exercise 3

During maneuvers preceding the Battle of Jutland, the British battle cruiser Lion moved as follows (in nautical miles): 1.21.2 miles north, 6.16.1 miles 3838 degrees east of south, 4.04.0 miles at 8989 degrees east of north, and 6.56.5 miles at 3131 degrees east of north. Find the distance between starting and ending positions. (Ignore the earth’s curvature.)

3.0

Exercise 4

Find kk so that these two vectors are perpendicular.

3.0

Exercise 5

Describe the set of vectors in R3\mathbb{R}^{3} orthogonal to the one with entries 11, 33, and −1-1.

3.0

Exercise 6

  • Find the angle between the diagonal of the unit square in R2\mathbb{R}^{2} and any one of the axes.

  • Find the angle between the diagonal of the unit cube in R3\mathbb{R}^{3} and one of the axes.

  • Find the angle between the diagonal of the unit cube in Rn\mathbb{R}^{n} and one of the axes.

  • What is the limit, as nn goes to ∞\infty, of the angle between the diagonal of the unit cube in Rn\mathbb{R}^{n} and any one of the axes?

3.0

Exercise 7

Is any vector perpendicular to itself?

3.0

Exercise 8

Describe the algebraic properties of dot product.

  • Is it right-distributive over addition: (u⃗+v⃗)∙w⃗=u⃗∙w⃗+v⃗∙w⃗(\vec{u}+\vec{v})\mathbin{\smash{\bullet}}\vec{w}=\vec{u}\mathbin{\smash{\bullet}}\vec{w}+\vec{v}\mathbin{\smash{\bullet}}\vec{w}?

  • Is it left-distributive (over addition)?

  • Does it commute?

  • Associate?

  • How does it interact with scalar multiplication?

As always, you must back any assertion with a suitable argument.

3.0

Exercise 9

Verify the equality condition in Corollary 2.6, the Cauchy-Schwarz Inequality.

  • Show that if u⃗\vec{u} is a negative scalar multiple of v⃗\vec{v} then u⃗∙v⃗\vec{u}\mathbin{\smash{\bullet}}\vec{v} and v⃗∙u⃗\vec{v}\mathbin{\smash{\bullet}}\vec{u} are less than or equal to zero.

  • Show that ∣u⃗∙v⃗∣=∣u⃗ ∣ ∣v⃗ ∣\lvert\vec{u}\mathbin{\smash{\bullet}}\vec{v}\rvert=\lvert\vec{u}\,\rvert\,\lvert\vec{v}\,\rvert if and only if one vector is a scalar multiple of the other.

3.0

Exercise 10

Suppose that u⃗∙v⃗=u⃗∙w⃗\vec{u}\mathbin{\smash{\bullet}}\vec{v}=\vec{u}\mathbin{\smash{\bullet}}\vec{w} and u⃗≠0⃗\vec{u}\neq\vec{0}. Must v⃗=w⃗\vec{v}=\vec{w}?

3.0

Exercise 11

Does any vector have length zero except a zero vector? (If “yes”, produce an example. If “no”, prove it.)

3.0

Exercise 12

Find the midpoint of the line segment connecting (x1,y1)(x_{1},y_{1}) with (x2,y2)(x_{2},y_{2}) in R2\mathbb{R}^{2}. Generalize to Rn\mathbb{R}^{n}.

3.0

Exercise 13

Show that if v⃗≠0⃗\vec{v}\neq\vec{0} then v⃗/∣v⃗ ∣\vec{v}/\lvert\vec{v}\,\rvert has length one. What if v⃗=0⃗\vec{v}=\vec{0}?

3.0

Exercise 14

Show that if r≥0r\geq 0 then rv⃗r\vec{v} is rr times as long as v⃗\vec{v}. What if r<0r<0?

3.0

Exercise 15

A vector v⃗∈Rn\vec{v}\in\mathbb{R}^{n} of length one is a unit vector. Show that the dot product of two unit vectors has absolute value less than or equal to one. Can ‘less than’ happen? Can ‘equal to’?

3.0

Exercise 17

Show that the line segments (a1,a2)(b1,b2)‾\overline{(a_{1},a_{2})(b_{1},b_{2})} and (c1,c2)(d1,d2)‾\overline{(c_{1},c_{2})(d_{1},d_{2})} have the same lengths and slopes if b1−a1=d1−c1b_{1}-a_{1}=d_{1}-c_{1} and b2−a2=d2−c2b_{2}-a_{2}=d_{2}-c_{2}. Is that only if?

3.0

Exercise 18

Is ∣u⃗1+⋯+u⃗n∣≤∣u⃗1∣+⋯+∣u⃗n∣\lvert\vec{u}_{1}+\cdots+\vec{u}_{n}\rvert\leq\lvert\vec{u}_{1}\rvert+\cdots+\lvert\vec{u}_{n}\rvert? If it is true then it would generalize the Triangle Inequality.

3.0

Exercise 19

What is the ratio between the sides in the Cauchy-Schwarz inequality?

3.0

Exercise 20

Why is the zero vector defined to be perpendicular to every vector?

3.0

Exercise 21

Describe the angle between two vectors in R1\mathbb{R}^{1}.

3.0

Exercise 22

Give a simple necessary and sufficient condition to determine whether the angle between two vectors is acute, right, or obtuse.

3.0

Exercise 23

Generalize to Rn\mathbb{R}^{n} the converse of the Pythagorean Theorem, that if u⃗\vec{u} and v⃗\vec{v} are perpendicular then ∣u⃗+v⃗ ∣2=∣u⃗ ∣2+∣v⃗ ∣2\lvert\vec{u}+\vec{v}\,\rvert^{2}=\lvert\vec{u}\,\rvert^{2}+\lvert\vec{v}\,\rvert^{2}.

3.0

Exercise 24

Show that ∣u⃗ ∣=∣v⃗ ∣\lvert\vec{u}\,\rvert=\lvert\vec{v}\,\rvert if and only if u⃗+v⃗\vec{u}+\vec{v} and u⃗−v⃗\vec{u}-\vec{v} are perpendicular. Give an example in R2\mathbb{R}^{2}.

3.0

Exercise 25

Show that if a vector is perpendicular to each of two others then it is perpendicular to each vector in the plane they generate. (Remark. They could generate a degenerate plane — a line or a point — but the statement remains true.)

3.0

Exercise 27

Verify that the definition of angle is dimensionally correct: (1) if k>0k>0 then the cosine of the angle between ku⃗k\vec{u} and v⃗\vec{v} equals the cosine of the angle between u⃗\vec{u} and v⃗\vec{v}, and (2) if k<0k<0 then the cosine of the angle between ku⃗k\vec{u} and v⃗\vec{v} is the negative of the cosine of the angle between u⃗\vec{u} and v⃗\vec{v}.

3.0

Exercise 28

Show that the inner product operation is linear: for u⃗,v⃗,w⃗∈Rn\vec{u},\vec{v},\vec{w}\in\mathbb{R}^{n} and k,m∈Rk,m\in\mathbb{R}, u⃗∙(kv⃗+mw⃗)=k(u⃗∙v⃗)+m(u⃗∙w⃗)\vec{u}\mathbin{\smash{\bullet}}(k\vec{v}+m\vec{w})=k(\vec{u}\mathbin{\smash{\bullet}}\vec{v})+m(\vec{u}\mathbin{\smash{\bullet}}\vec{w}).

3.0

Exercise 30

A ship is sailing with speed and direction v⃗1\vec{v}_{1}; the wind blows apparently (judging by the vane on the mast) in the direction of a vector a⃗\vec{a}; on changing the direction and speed of the ship from v⃗1\vec{v}_{1} to v⃗2\vec{v}_{2} the apparent wind is in the direction of a vector b⃗\vec{b}.

Find the vector velocity of the wind.

3.0

Exercise 31

Verify the Cauchy-Schwarz inequality by first proving Lagrange’s identity:

and then noting that the final term is positive. This result is an improvement over Cauchy-Schwarz because it gives a formula for the difference between the two sides. Interpret that difference in R2\mathbb{R}^{2}.

3.0

Adapted from Linear Algebra © 2016 Jim Hefferon. Licensed under CC BY-SA 3.0 US. Source: Linear Algebra. Imported at revision df2262e.