Wichita State University Logo

Math 511: Linear Algebra

5.1 Orthogonality


5.1.1 Geometry

$\require{color}$ $\definecolor{brightblue}{rgb}{.267, .298, .812}$ $\definecolor{darkblue}{rgb}{0.0, 0.0, 1.0}$ $\definecolor{palepink}{rgb}{1, .73, .8}$ $\definecolor{softmagenta}{rgb}{.99,.34,.86}$ $\def\ihat{\mathbf{\hat{\unicode{x0131}}}}$ $\def\jhat{\mathbf{\hat{\unicode{x0237}}}}$ $\def\khat{\mathbf{\hat{k}}}$ $\def\tombstone{\unicode{x220E}}$

We discussed the dot product and cross product in vector space $\mathbb{R}^n$ from the point of view of a linear transformation. In this chapter we want to add geometry to the algebra of our vector spaces. The physicist perspective of a vector in $\mathbb{R}^n$ is an arrow in this space. This implies both a direction that the arrow is pointing and length of the arrow.


Recall that the standard position of a vector is when the tail of the vector sits at the origin and the tip sits at the coordinates of the vector with respect to the canonical or standard basis $\left\{\,\ihat,\ \jhat\,\right\}$. The direction of the vector is the angle the vector makes with the positive horizontal axis, span$\left\{\,\ihat\,\right\}$.


The angle or direction a vector makes with the positive horizontal axis.

Figure 1

The length or magnitude of the vector is the linear length from the tail to the tip of the vector. In standard position vector with standard coordinates

$$ \mathbf{x} = \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} $$
is associated with the triangle with vertices $(0,0)$, $(x_1,0)$, and $(x_1,x_2)$. The length or magnitude of the vector is the length of the hypotenuse. This length is also called the modulus of the vector. Using the Pythagorean theorem

$$ |\mathbf{x}| := \sqrt{x_1^2 + y_1^2} $$


The length of the hypotenuse of the associated triangle.

Figure 2

5.1.2 Determining the Angle of a Vector


The angle or direction can be computed in standard coordinates $\begin{bmatrix} x_1 \\ x_2 \end{bmatrix}$ using the right triangle with vertices $(0,0)$, $(x_1,0)$, and $(x_1,x_2)$.


The right triangle created by the origin, tip of a vector and its shadow (projection) onto the horizontal axis.

Figure 3

Notice that the lengths of the legs of the right triangle associated with vector $\mathbf{x}$ are $|x_1|$ and $|x_2|$. Since vector $\mathbf{x}$ is in the second quadrant, the acute angle we obtain from the associated right triangle is the reference angle $\pi-\theta$. The reference angle is given by

$$ \begin{align*} \pi-\theta &= \tan^{-1}\left(\dfrac{|x_2|}{|x_1|}\right) = \cos^{-1}\left(\dfrac{|x_1|}{x_1^2 + x_2^2}\right) = \sin^{-1}\left(\dfrac{|x_2|}{x_1^2 + x_2^2}\right) \\ \\ &= \tan^{-1}\left(\dfrac{|x_2|}{|x_1|}\right) = \cos^{-1}\left(\dfrac{|x_1|}{|\mathbf{x}|}\right) = \sin^{-1}\left(\dfrac{|x_2|}{|\mathbf{x}|}\right) \end{align*} $$
Vector $\mathbf{y}$ is in the first quadrant so we do not need find the absolute values of the coordinates for the lengths of the legs. The acute angle of the right triangle is our direction or angle of vector $\mathbf{y}$,

$$ \begin{align*} \phi &= \tan^{-1}\left(\dfrac{y_2}{y_1}\right) = \cos^{-1}\left(\dfrac{y_1}{y_1^2 + y_2^2}\right) = \sin^{-1}\left(\dfrac{y_2}{y_1^2 + y_2^2}\right) \\ \\ &= \tan^{-1}\left(\dfrac{y_2}{y_1}\right) = \cos^{-1}\left(\dfrac{y_1}{|\mathbf{y}|}\right) = \sin^{-1}\left(\dfrac{y_2}{|\mathbf{y}|}\right) \\ \end{align*} $$
One can compute the trigonometric functions of the angle of a vector from its standard coordinates,

$$ \begin{align*} \cos(\theta) &= \dfrac{x_1}{|\mathbf{x}|}\qquad\text{and} &\sin(\theta) &= \dfrac{x_2}{|\mathbf{x}|} \\ \\ \cos(\phi) &= \dfrac{y_1}{|\mathbf{y}|}\qquad\text{and} &\sin(\phi) &= \dfrac{y_2}{|\mathbf{y}|} \end{align*} $$
However computing inverse trigonometric functions requires consideration. Computing the acute reference angle using the standard inverse trigonometric functions with the absolute values of the coordinates, determining the quadrant of the vector, and determining the direction from the reference angle is simpler and more accurate.

There are computing environments with inverse trigonometric functions which require two inputs, the coordinates $x_1$ and $x_2$, so that the correct direction angle can be returned.

5.1.3 Dot Product


5.1.4 The Scalar Product in Our Vector Space


If we have two vectors $\mathbf{x}$ and $\mathbf{y}$ in standard position, we draw a line segment from the tip of vector $\mathbf{y}$ perpendicular to vector $\mathbf{x}$,


The projection vector from one vector onto another.

Figure 4

The vector with the same direction as vector $\mathbf{x}$ and length equal to the leg of the resulting right triangle is call the projection of vector $\mathbf{y}$ onto vector $\mathbf{x}$ is defined by the vector

As $0\le\theta\le\pi$ is the angle between two vectors, the length of vector $\mathbf{p}$ is given by

$$ |\mathbf{p}| = |\mathbf{y}||\cos(\theta)|, $$
where an acute angle implies that the projection of $\mathbf{y}$ onto $\mathbf{x}$ has the same direction as $\mathbf{x}$, and an obtuse angle signifies that the projection of $\mathbf{y}$ onto $\mathbf{x}$ has the opposite direction as $\mathbf{x}$.

Definition 5.1.1

Dot Product

The scalar product or dot product of two vectors $\mathbf{x}$ and $\mathbf{y}$, is the product of the lengths of vector $\mathbf{x}$ and the projection $\ \mathbf{p}$ of vector $\ \mathbf{y}$ onto vector $\ \mathbf{x}$.

$$ \left<\mathbf{x},\mathbf{y}\right> := |\mathbf{x}|\,|\mathbf{p}| = |\mathbf{x}|\,|\mathbf{y}|\cos(\theta), $$
where $\theta$ is the included angle between the two vectors.

We learn in the video above that, for a fixed vector $\mathbf{y}\in\mathbb{R}^n$, this is a linear transformation

$$ L[\mathbf{x}] = \left<\mathbf{x},\mathbf{y}\right> $$
from the vector space $\mathbb{R}^n$ to the real numbers $\mathbb{R}$.

$$ L\,:\,\mathbb{R}^n\rightarrow\mathbb{R} $$
Any linear transformation from one finite dimensional vector space to another can be represented by a matrix with respect to the canonical bases, and this matrix is $\mathbf{y}^T$,

$$ \left<\mathbf{x},\mathbf{y}\right> = L[\mathbf{x}] = \mathbf{y}^T\mathbf{x} = x_1y_1 + x_2y_2 + \cdots + x_ny_n = \mathbf{x}\cdot\mathbf{y} $$
Hence the inner product and the dot product are equivalent in vector space $\mathbb{R}^n$. From this identity, one obtains equations for the vector projection and the length of the vector projection, the scalar component of vector $\mathbf{y}$ onto $\mathbf{x}$.


Definition 5.1.2

Scalar Component

The scalar component of one vector $\mathbf{x}$ onto vector $\mathbf{y}$ in $\mathbb{R}^n$ is give by

$$ \text{Comp}_{\mathbf{x}}\mathbf{y} := |\mathbf{p}| = |\mathbf{y}|\cos(\theta) = \dfrac{|\mathbf{x}||\mathbf{y}|\cos(\theta)}{|\mathbf{x}|} = \dfrac{\mathbf{x}\cdot\mathbf{y}}{|\mathbf{x}|} = \dfrac{\mathbf{y}^T\mathbf{x}}{|\mathbf{x}|} $$

This equation for the vector projection relies on the fact that the vector $\dfrac{\mathbf{x}}{|\mathbf{x}|}$ is a vector that points in the same direction as vector $\mathbf{x}$, but has a length of one. We call vectors with a length of one, unit vectors . When we multiply or scale the unit vector by the length of vector $\mathbf{p}$, we get a vector with length $|\mathbf{p}|$ that points in the same direction as vector $\mathbf{x}$. This is our projection vector $\mathbf{p}$.

Definition 5.1.3

Vector Projection

The vector projection of vector $\mathbf{x}$ onto vector $\mathbf{y}$ in $\mathbb{R}^n$ is give by

$$ \text{Proj}_{\mathbf{x}}\mathbf{y} := \mathbf{p} = \left(\dfrac{\mathbf{x}\cdot\mathbf{y}}{|\mathbf{x}|}\right)\left(\dfrac{\mathbf{x}}{|\mathbf{x}|}\right) = \dfrac{\mathbf{x}\cdot\mathbf{y}}{|\mathbf{x}|^2}\mathbf{x} = \dfrac{\mathbf{x}\cdot\mathbf{y}}{\mathbf{x}\cdot\mathbf{x}}\mathbf{x} = \dfrac{\mathbf{y}^T\mathbf{x}}{\mathbf{x}^T\mathbf{x}}\mathbf{x} $$

5.1.5 Euclidean Space


We define a new mathematical structure, a Euclidean Space , $\left(\mathbb{R}^n,\cdot\right) = \left(\mathbb{R}^n,\left<\cdot,\cdot\right>\right)$

We call this new vector space $\mathbb{R}^n$ with the dot product Euclidean Space $\mathbb{E}^n$. The very important difference is that Euclidean space has a definition of length and direction , while the vector space $\mathbb{R}^n$ does not. However we immediately ignore this rule and think of them as the same thing. There are even references to the geometry of vectors in $\mathbb{R}^n$ in previous chapters. Remember the physicist's perspective requires we think of "an arrow in space" which has magnitude and direction. Keep in mind that everything we discussed in the first four chapters did not require us to talk about angles or length, we just used them as examples.

Now we must formally add the notion of angle and direction to our vector spaces. When we add an inner product to a vector space, we are adding a notion of geometry to our algebraic vector space that did not necessarily already exist. Clearly in our first examples of vector spaces $\mathbb{R}^2$, $\mathbb{R}^3$, and $\mathbb{R}^n$ we should already be familiar with Euclidean geometry.

We also denote modulus or length using "double bars" in a Euclidean Space. This helps us distinguish the absolute value of a scalar from the magnitude of a vector in our notes.

$$ \left\|\mathbf{x}\right\| := |\mathbf{x}| = \sqrt{x_1^2 + x_2^2} $$
Using this notation, the magnitude of a vector is called its norm .

Example 5.1.1


if $\mathbf{x} = \begin{bmatrix} 3 \\ 4 \end{bmatrix}$, then $\left\|\mathbf{x}\right\| = \sqrt{3^2 + 4^2} = \sqrt{9 + 16} = 5$.


In a normed vector space such as Euclidean space $\mathbb{R}^n$, the distance between two vectors is defined to be the distance between the tips of the vectors in standard position; that is the length of vector $\mathbf{y}-\mathbf{x}$.


The distance from one vector onto another.

Figure 5

The vector from the tip of $\mathbf{x}$ to the tip of $\mathbf{y}$ is called $\mathbf{y}-\mathbf{x}$ because it is the vector one adds to vector $\mathbf{x}$ to obtain vector $\mathbf{y}$.

$$ \mathbf{y} = \mathbf{x} + \left(\mathbf{y} - \mathbf{x}\right) $$
Thus the distance between vector $\mathbf{x}$ to vector $\mathbf{y}$

$$ d\left(\mathbf{x},\mathbf{y}\right) := \left\|\mathbf{y} - \mathbf{x}\right\| $$

Example 5.1.2


The distance between vector $\begin{bmatrix} 3 \\ 4 \end{bmatrix}$ and vector $\begin{bmatrix} 1 \\ 3 \end{bmatrix}$

$$ d\left(\begin{bmatrix} 3 \\ 4 \end{bmatrix},\ \begin{bmatrix} 1 \\ 3 \end{bmatrix}\right) = \left\|\begin{array}{c} 3-1 \\ 4-3 \end{array}\right\| = \left\|\begin{array}{c} 2 \\ 1 \end{array}\right\| = \sqrt{2^2 + 1^2} = \sqrt{5} $$

Example 5.1.3


If $\mathbf{x} = \begin{bmatrix} -2\ \\ \ \ 5\ \end{bmatrix}$ and $\mathbf{y} = \begin{bmatrix} \ \ 6\ \\ \ \ 4\ \end{bmatrix}$, then

(a) The unit vector with the same direction as vector $\mathbf{x}$ is

$$ \mathbf{u} = \dfrac{\mathbf{x}}{\|\mathbf{x}\|} = \dfrac{1}{\sqrt{(-2)^2 + 5^2}}\begin{bmatrix} -2\ \\ \ \ 5\ \end{bmatrix} = \dfrac{1}{\sqrt{29}}\begin{bmatrix} -2\ \\ \ \ 5\ \end{bmatrix} = \begin{bmatrix} -\frac{2}{\sqrt{29}}\ \\ \ \ \frac{5}{\sqrt{29}}\ \end{bmatrix} $$

(b) The unit vector in the direction of $\mathbf{y}$ is

$$ \mathbf{v} = \dfrac{\mathbf{y}}{\|\mathbf{y}\|} = \dfrac{1}{\sqrt{6^2 + 4^2}} = \dfrac{1}{\sqrt{52}}\begin{bmatrix} \ \ 6\ \\ \ \ 4\ \end{bmatrix} = \begin{bmatrix} \ \ \frac{3}{13}\ \\ \ \ \frac{2}{13}\ \end{bmatrix} $$

5.1.6 Properties of Dot Product


Theorem 5.1.1

The Angle Between Two Vectors in Euclidean Space

If $\mathbf{x}$ and $\mathbf{y}$ are two vector in Euclidean Space $\mathbb{R}^2$ or $\mathbb{R}^3$, then the angle between the two vectors is given by

$$ \cos(\theta) = \dfrac{\mathbf{x}\cdot\mathbf{y}}{\left\|\mathbf{x}\right\|\,\left\|\mathbf{y}\right\|} $$

Since the cosine of an angle is a number in the interval $[-1,1]$, we have that $0 \le \left|\cos(\theta)\right|\le 1$ for all angles $\theta\in\mathbb{R}$.

Theorem 5.1.2

The Cauchy-Schwarz Inequality

If $\mathbf{x}$ and $\mathbf{y}$ are two vector in Euclidean Space $\mathbb{R}^2$ or $\mathbb{R}^3$, then

$$ \begin{align*} \left|\,\mathbf{x}\cdot\mathbf{y}\,\right| &= \left|\,\left\|\mathbf{x}\right\|\,\left\|\mathbf{y}\right\|\,\cos(\theta)\,\right| \\ \\ &= \left\|\mathbf{x}\right\|\,\left\|\mathbf{y}\right\|\,\left|\cos(\theta)\right| \\ \\ &\le \left\|\mathbf{x}\right\|\,\left\|\mathbf{y}\right\| \end{align*} $$
with equality holding if and only if one of the vectors is zero or one of the vectors is a multiple of the other.

If one or both of the vectors is zero then either $\|\mathbf{x}\|=0$ and/or $\|\mathbf{y}\|=0$. In any case, $\mathbf{x}\cdot\mathbf{y}= 0$ and the product $\left\|\mathbf{x}\right\|\,\left\|\mathbf{y}\right\| = 0$. So

$$ \left|\,\mathbf{x}\cdot\mathbf{y}\,\right| = 0 = \left\|\mathbf{x}\right\|\,\left\|\mathbf{y}\right\| $$
If the one vector is a multiple of the other, then they both belong to the same line or span. Either the angle between them is zero or $\pi$. In this case $\left|\cos(\theta)\right|=1$, so

$$ \left|\,\mathbf{x}\cdot\mathbf{y}\,\right| = \left\|\mathbf{x}\right\|\,\left\|\mathbf{y}\right\|\,\left|\cos(\theta)\right| = \left\|\mathbf{x}\right\|\,\left\|\mathbf{y}\right\| $$

5.1.7 The Triangle Inequality

Theorem 5.1.3

The Triangle Inequality If $\mathbf{u}$ and $\mathbf{v}$ are vectors in $\mathbb{R}^n$, then

$$ \left\|\mathbf{u} + \mathbf{v}\right\| \le \left\|\mathbf{u}\right\| + \left\|\mathbf{v}\right\| $$

Proof

We will use the dot product definition of length

$$ \begin{align*} \left\|\mathbf{u} + \mathbf{v}\right\|^2 &= \left(\mathbf{u} + \mathbf{v}\right)\cdot\left(\mathbf{u} + \mathbf{v}\right) \\ &= \left(\mathbf{u} + \mathbf{v}\right)\cdot\mathbf{u} + \left(\mathbf{u} + \mathbf{v}\right)\cdot\mathbf{v} \\ &= \mathbf{u}\cdot\mathbf{u} + \mathbf{v}\cdot\mathbf{u} + \mathbf{u}\cdot\mathbf{v} + \mathbf{v}\cdot\mathbf{v} \\ \\ &= \left\|\mathbf{u}\right\|^2 + 2\mathbf{u}\cdot\mathbf{v} + \left\|\mathbf{v}\right\|^2 \\ \\ &= \left\|\mathbf{u}\right\|^2 + 2\left\|\mathbf{u}\right\|\,\left\|\mathbf{v}\right\|\cos(\theta) + \left\|\mathbf{v}\right\|^2 \\ \\ &\le \left\|\mathbf{u}\right\|^2 + 2\left\|\mathbf{u}\right\|\,\left\|\mathbf{v}\right\|\,|\cos(\theta)| + \left\|\mathbf{v}\right\|^2 \\ \\ &\le \left\|\mathbf{u}\right\|^2 + 2\left\|\mathbf{u}\right\|\,\left\|\mathbf{v}\right\| + \left\|\mathbf{v}\right\|^2 \\ \\ &= \left( \left\|\mathbf{u}\right\| + \left\|\mathbf{v}\right\| \right)^2 \\ \end{align*} $$ Thus

$$ \left\|\mathbf{u} + \mathbf{v}\right\|^2 \le \left( \left\|\mathbf{u}\right\| + \left\|\mathbf{v}\right\| \right)^2 $$
Since both sides of this equation are the squares of non-negative values, this establishes the triangle inequality.

5.1.8 Orthogonality

If the scalar product of two vectors is zero, and neither of the vectors is the zero vector, then

$$ 0 = \mathbf{x}\cdot\mathbf{y} = \left\|\mathbf{x}\right\|\,\left\|\mathbf{y}\right\|\,\cos(\theta) $$
If neither $\left\|\mathbf{x}\right\|=0$ nor $\left\|\mathbf{y}\right\|=0$, then $\cos(\theta)=0$. Thus the angle between the two vectors is $\frac{\pi}{2}$.

Definition 5.1.4

Orthogonal Vectors

If the scalar product of two vectors in $\mathbb{R}^n$ is zero, then the vectors are perpendicular. Perpendicular vectors are said to be orthogonal .

This means that the zero vector in $\mathbb{R}^n$ is perpendicular to all nonzero vectors in $\mathbb{R}^n$. The zero vector $\mathbf{0}\in\mathbb{R}^n$ is orthogonal to every nonzero vector in $\mathbb{R}^n$.

Theorem 5.1.4

The Pythagorean Theorem
If $\mathbf{u}$ and $\mathbf{v}$ are vectors in $\mathbb{R}^n$, then $\mathbf{u}$ and $\mathbf{v}$ are othogonal if and only if

$$ \left\|\mathbf{u} + \mathbf{v}\right\|^2 = \left\|\mathbf{u}\right\|^2 + \left\|\mathbf{v}\right\|^2 $$

Proof

The proof is very similar to the proof for the triangle inequality.

$$ \begin{align*} \left\|\mathbf{u} + \mathbf{v}\right\|^2 &= \left(\mathbf{u} + \mathbf{v}\right)\cdot\left(\mathbf{u} + \mathbf{v}\right) \\ &= \left(\mathbf{u} + \mathbf{v}\right)\cdot\mathbf{u} + \left(\mathbf{u} + \mathbf{v}\right)\cdot\mathbf{v} \\ &= \mathbf{u}\cdot\mathbf{u} + \mathbf{v}\cdot\mathbf{u} + \mathbf{u}\cdot\mathbf{v} + \mathbf{v}\cdot\mathbf{v} \\ \\ &= \left\|\mathbf{u}\right\|^2 + 2\mathbf{u}\cdot\mathbf{v} + \left\|\mathbf{v}\right\|^2 \\ \\ &= \left\|\mathbf{u}\right\|^2 + 2\cdot0 + \left\|\mathbf{v}\right\|^2 \\ \\ &= \left\|\mathbf{u}\right\|^2 + \left\|\mathbf{v}\right\|^2 \end{align*} $$ $\tombstone$

5.1.9 Determine the Angle Between Two Vectors


Example 5.1.4


Determine the angle between vectors $\mathbf{x} = \begin{bmatrix} -3\ \\ -1\ \end{bmatrix}$ and $\mathbf{y} = \begin{bmatrix}\ \ 3\ \\ \ \ 8\ \end{bmatrix}$.

$$ \begin{align*} \cos(\theta) &= \dfrac{\mathbf{x}\cdot\mathbf{y}}{\left\|\mathbf{x}\right\|\,\left\|\mathbf{y}\right\|} \\ \\ &= \dfrac{ (-3)(3) + (-1)(8) }{\sqrt{ (-3)^2 + (-1)^2}\,\sqrt{3^2 + 8^2}} \\ \\ &= \dfrac{ -9 - 8 }{\sqrt{10}\,\sqrt{73}} = -\dfrac{17}{\sqrt{730}} \\ \\ \theta &\approx 129^{\circ} \end{align*} $$


The angle between two vectors.

Figure 6

5.1.10 The Distance From a Point to a Line


Example 5.1.5


Find the distance from the point $P = (3,1)$ to the line $y=-\frac{3}{4}x$.


Compute the distance from a point to a line.

Figure 7

  • A line has the form $\mathbf{y} = \mathbf{m}t + \mathbf{b}$ in vector form, where direction vector $\mathbf{m} = \langle 4, -3 \rangle$, and $\mathbf{b} = \mathbf{0}$.

  • The line $\mathbf{y} = \mathbf{m^{\perp}}t$ is perpendicular to the direction vector $\mathbf{m^{\perp}} = \langle 3, 4 \rangle$.

  • The scalar component of vector $\overline{OP}$ onto $\mathbf{m^{\perp}}$ is the distance from the line to point $P$. If $\mathbf{b}\neq\mathbf{0}$, then we would need the scalar component of vector $\mathbf{p}-\mathbf{b}$.

  • The distance $d = \text{Comp}_{\mathbf{m^{\perp}}} \overline{OP}$
    $$ d = \frac{\mathbf{m^{\perp}}\cdot\overline{OP}}{\left\|\mathbf{m^{\perp}}\right\|} = \frac{3\cdot 3 + 4\cdot 1 }{\sqrt{9 + 16}} = \frac{13}{5} $$

5.1.11 The Equation of a Plane


Example 5.1.6


Find the equation of the plane that passes through the points

$$ P_0 = (1,0,0),\qquad P_1 = (0,1,0),\qquad P_2 = (0,0,1) $$

  • The vector equation of a plane in three dimensional space is

    $$ \mathbf{n}\cdot\left(\mathbf{p}-\mathbf{p}_0\right) = 0 $$
  • We need two vectors on the plane. We can use these vectors to determine a normal vector to the plane.

  • Select one point to be the base of both vectors

    $$ \overrightarrow{P_0P_1} = \mathbf{P_1} - \mathbf{P_0} = \begin{bmatrix} 0-1 \\ 1-0 \\ 0-0 \end{bmatrix} = \begin{bmatrix} -1\ \\ \ \ 1\ \\ \ \ 0\ \end{bmatrix} $$

    $$ \overrightarrow{P_0P_2} = \mathbf{P_2} - \mathbf{P_0} = \begin{bmatrix} 0-1 \\ 0-0 \\ 1-0 \end{bmatrix} = \begin{bmatrix} -1\ \\ \ \ 0\ \\ \ \ 1\ \end{bmatrix} $$


Select one of the three points to be the tail of both vectors.

Figure 8

  • A normal vector is a vector that is orthogonal to all of the vectors on the plane. The cross product of two vectors in $\mathbb{R}^3$ is orthogonal to both vectors so,

    $$ \mathbf{n} = \overrightarrow{P_0P_1} \times \overrightarrow{P_0P_2} = \begin{vmatrix} \mathbf{\hat{\imath}}\ & -1\ & -1\ \\ \mathbf{\hat{\jmath}}\ &\ \ 1\ &\ \ 0\ \\ \mathbf{\hat{k}}\ &\ \ 0\ &\ \ 1\ \end{vmatrix} = 1\mathbf{\hat{\imath}} + 1\mathbf{\hat{\jmath}} + 1\mathbf{\hat{k}} = \begin{bmatrix} 1 \\ 1 \\ 1 \end{bmatrix} $$


Compute the normal vector using cross product

Figure 9

  • We denote any point on the plane by $P = (x,y,z)$ and the vector equation of the plane is

    $$ \mathbf{n}\cdot\overrightarrow{PP_0} = \begin{bmatrix} 1 \\ 1 \\ 1 \end{bmatrix}\cdot\begin{bmatrix} x-1 \\ y-0 \\ z-0 \end{bmatrix} = (x-1) + y + z = 0 $$


Simplify the vector equation to obtain the scalar equation.

Figure 10

  • The scalar equation of the plane is then

    $$ x + y + z = 1 $$

5.1.12 The Distance From a Point to a Plane


Example 5.1.7


Find the distance from point $P = (1,1,2)$ to the plane $2x + 2y + z = 0$.

The distance form a point to a plane using the normal vector

Figure 11

Point $P = (1,1,2)$ is not on the plane as $2(1) + 2(1) + 1(2) = 6 \neq 0$.

  • The distance from the point to the plane is the length of the perpendicular vector from the closest point on the plane $Q$ to point $P$.

  • The normal vector $\mathbf{n}$ and the vector $\mathbf{v} = \overrightarrow{QP}$ are both orthogonal to the plane.

  • The distance from the point $P$ to the plane is the length of the projection vector $\mathbf{p}$ from vector $\mathbf{v}$ onto the normal vector. That is, the distance from the point $P$ to the plane is the scalar component of vector $\mathbf{v}$ onto the normal vector $\mathbf{n}$.

    $$ \text{Comp}_{\mathbf{n}}\mathbf{v} = \dfrac{\mathbf{v}\cdot\mathbf{n}}{\left\|\mathbf{n}\right\|} = \dfrac{ (2)(1) + (2)(1) + (1)(2)}{\sqrt{1^2 + 2^2 + 2^2}} = \dfrac{6}{\sqrt{9}} = 2 $$

5.1.13 Dot Products as a Linear Transformation

It is often useful to think of dot product in terms of matrix multiplication. For vectors $\mathbf{u}$ and $\mathbf{u}$ in $\mathbb{R}^n$,

$$ \mathbf{u}\cdot\mathbf{v} = \mathbf{v}^T\mathbf{u} = \displaystyle\sum_{k=1}^n u_kv_k $$
This was explained in the video at the beginning of this section. We obtain a linear transformation $L_{\mathbf{v}}\,:\,\mathbb{R}^n\rightarrow\mathbb{R}$ that maps every vector in $\mathbb{R}^n$ to the real line. The result of this map is the scalar product of $\mathbf{u}$ and $\mathbf{u}$.

$$ L_{\mathbf{v}}(\mathbf{u}) := \mathbf{v}^T\mathbf{u} = \mathbf{u}\cdot\mathbf{v} $$
Since it is a linear transformation from $n$-dimensional vector space $\mathbb{R}^n$ to 1-dimensional vector space $\mathbb{R}$, it can be represented by a $1\times n$ matrix. That matrix is $\mathbf{v}^T$. The linear transformation represented by the $1\times n$ matrix $\mathbf{v}^T$ is called the dual of vector $\mathbf{v}$. Although the author indicates that the properties of dot product are a direct consequence of the properties of matrix multiplication; it is rather

the properties of the scalar product yield a linear transformation from a finite dimensional vector space to the the real line. Thus it can be represented by a $1\times n$ matrix and the properties of dot product and matrix multiplication correspond with each other.

Creative Commons Logo - White


Your use of this self-initiated mediated course material is subject to our Creative Commons License .


Creative Commons Attribution-NonCommercial-ShareAlike 4.0

Creative Commons Logo - Black
Attribution
You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

Creative Commons Logo - Black
Noncommercial
You may not use the material for commercial purposes.

Creative Commons Logo - Black
Share Alike
You are free to share, copy and redistribute the material in any medium or format. If you adapt, remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.