0.2: The Geometry of Euclidean space

\(\renewcommand{\R}{\mathbb R }\)

0.2: The Geometry of Euclidean space

Here you will find the geometric ideas and properties we need from linear algebra.

  1. Dot product, Euclidean norm and Orthogonality
  2. Notation for \(\R^n\)
  3. Points vs. Vectors
  4. Subspaces of Euclidean space
  5. The Cross Product

\(\Leftarrow\)  \(\Uparrow\)  \(\Rightarrow\)

Dot product, Euclidean norm and Orthogonality

If \(\mathbf a = (a_1,\ldots, a_n)\) and \(\mathbf b = (b_1,\ldots, b_n)\) are vectors in \(\R^n\), recall the dot product \(\mathbf a\cdot \mathbf b\) is \[ \mathbf a\cdot \mathbf b = a_1 b_1 +\cdots + a_n b_n. \]

For \(\mathbf a \in \R^n\), the Euclidean norm, \(|\mathbf a|\), is \[ \sqrt{\mathbf a \cdot \mathbf a} = \sqrt{ a_1^2+\cdots + a_n^2}. \]

The Euclidean norm of \(\mathbf a\) is interpreted as the length of \(\mathbf a\). The Euclidean norm of a difference \(|\mathbf b - \mathbf a|\) is interpreted as the distance between \(\mathbf a\) and \(\mathbf b\), or as the length of the vector \(\mathbf b-\mathbf a\).

Important facts 1. The Triangle Inequality: \[ | \mathbf a + \mathbf b | \le |\mathbf a| + |\mathbf b|. \]

  1. The cosine formula: \[ \mathbf a\cdot \mathbf b = |\mathbf a| |\mathbf b| \cos \theta.\]where \(\theta\) is the angle between vectors \(\mathbf a\) and \(\mathbf b\). Note that the angle between two vectors only makes sense when they are both non-zero vectors, but if one of the vectors is \(\mathbf 0\) the equation becomes \(0=0\).

  2. The Cauchy-Schwarz inequality: \[ |\mathbf a\cdot \mathbf b| \le |\mathbf a|\ |\mathbf b|, \] with equality only if the vectors are linearly dependent.

  3. Vectors \(\mathbf a\) and \(\mathbf b\) are orthogonal iff \(\mathbf a\cdot\mathbf b = 0\).

This definition of orthogonality implies that every vector is orthogonal to the zero vector. For nonzero vectors, orthogonality means the angle \(\theta\) must be \(\pi/2\).

  1. If \(|\mathbf u|=1\), i.e \(\mathbf u\) is a unit vector, and \(\bf v\) is any vector, then \(\bf( u\cdot v) u\) is the projection of \(\bf v\) onto the line generated by \(\bf u\).

Notation for \(\R^n\)

In \(\R^n\), we often write \(\mathbf {e_j}\) to denote the unit vector in the \(j\)th coordinate direction. For example, \[ \mathbf {e_1} = (1,0,\ldots, 0), \quad \mathbf {e_2} = (0,1,\ldots, 0), \quad \ldots,\quad \mathbf {e_n} = (0 ,0,\ldots, 1). \]

When \(n=3\) we may write \(\bf i, j, k\) instead of \(\bf e_1, e_2, e_3\), so that \[ \mathbf i = (1,0,0) , \qquad \mathbf j = (0,1,0) , \qquad \mathbf k = (0,0,1) . \]

If we are discussing a vector \(\mathbf a\) in \(\R^n\), then our convention is that \(a_j\) denotes the \(j\)th component, that is, \(a_j = \mathbf a \cdot \mathbf {e_j}\), or \(\mathbf a = (a_1, a_2, \ldots, a_n)\).

Points vs. Vectors

In some situations, it is important to distinguish between points and vectors, since these may have very different mathematical or physical interpretations. From this perspective,

But in many situations, the distinction between points and vectors can be ignored with no harm. This is normally the case in MAT237. An element of \(\R^n\) can represent a vector (with a direction and magnitude) or a point (position).

We will however tend to use different letters to indicate what we are thinking of. The letters \(\mathbf u, \mathbf v\) will usually mean “direction-and-magnitude” vectors; while \(\mathbf p, \mathbf x\) will usually mean “point” vectors. We will also often write \({\bf x} = (x,y)\) for a point in \(\R^2,\) and \({\bf x} = (x,y,z)\) for a point in \(\R^3.\)

Thus, a boldface \(\bf x\) denotes an element of \(\R^n\), whereas a non-boldface \(x\) denotes an element of \(\R\). There are different ways to convey the distinction between \(\bf x\) and \(x\) on the blackboard or handwritten notes, for example, \(\vec x\) or \(\underline x\) for \(\mathbf x\). The precise choice does not matter as long as it is reasonable and followed consistently.

Subspaces of Euclidean space.

Recall that a subspace of Euclidean space \(\R^n\) is a set \(V\) such that if \(\mathbf a, \mathbf b \in V\) then \(c_1\mathbf a + c_2\mathbf b \in V\) for all real numbers \(c_1,c_2\). Note that any subspace must contain the origin, since we can choose \(c_1=c_2=0\).

Suppose that \(A\) is a \(m\times n\) matrix.

The Cross Product

In \(\R^3\), and only in \(\R^3\), there is a second and very different way of multiplying two vectors.
The cross product of vectors \(\mathbf a\) and \(\mathbf b\) is the vector denoted \(\mathbf a\times \mathbf b\), defined algebraically as \[ \mathbf a\times \mathbf b = (a_2b_3 - a_3b_2, a_3b_1 - a_1b_3,a_1b_2 - a_2b_1) \]
Alternatively, it can be defined geometrically:
The cross product \(\mathbf a\times \mathbf b\) is \(\bf 0\) if \(\bf a, b\) are linearly dependent; while if they are independent, it is the unique vector that is orthogonal to both \(\bf a\) and \(\bf b\), with length given by \(|\mathbf a\times\mathbf b|^2 = |\mathbf a|^2 |\mathbf b|^2 - (\mathbf a\cdot \mathbf b)^2\), and with direction chosen so that \(\det[\mathbf{a,b,a\times b}]>0\).

We emphasize that the cross product of two vectors is a vector, whereas the dot product of two vectors is a real number.

One can check by elementary computations that these two definitions are equivalent by showing the algebraic version has the following properties:

  1. It is orthogonal to both \(\mathbf a\) and \(\mathbf b\).

    HintShow this by computing \(\mathbf a \cdot (\mathbf a \times \mathbf b)\) and \(\mathbf b \cdot (\mathbf a \times \mathbf b)\).

  2. \(|\mathbf a\times\mathbf b|^2 = |\mathbf a|^2 |\mathbf b|^2 - (\mathbf a\cdot \mathbf b)^2\)

  3. \(\det [{\bf a, b, a\times b}]>0\)

    HintShow by expanding the determinant that \[\det [{\bf a, b, a\times b}]=(a_2b_3 - a_3b_2)^2+ (a_3b_1 - a_1b_3)^2+ (a_1b_2 - a_2b_1)^2.\]

Some useful algebraic properties of the cross product are:

The cross-product is not associative; you should try to find examples of vectors \(\mathbf a, \mathbf b, {\bf c}\) such that \[ (\mathbf a\times \mathbf b)\times {\bf c} \ne \mathbf a\times (\mathbf b \times {\bf c}). \]

\(\Leftarrow\)  \(\Uparrow\)  \(\Rightarrow\)

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Canada License.