Vectors

Definition (vector) open_in_new

A vector $\v v$ has a length and direction such that $$ |\v v|=0 \iff \v v=\v 0. $$

Notation (unit vector) open_in_new

If $|\v v| = 1$ then it is written as $\vhat v$, called the unit vector.

Definition (vector field) open_in_new

A vector field $\v f = \v f(\v x)$ is a vector function of position and maybe time.

Definition (vector space) open_in_new

A vector space $V$ is a set of vectors equipped with a scalar field, closed under vector addition and scalar multiplication, and

  • forms a commutative group under vector addition, i.e.

    • commutativity: $\v a+\v b = \v b+\v a$;

    • associativity: $(\v a + \v b) + \v c = \v a + (\v b + \v c)$;

    • identity: there exists a unique $\v 0\in V$ such that $\v a + \v 0 = \v a$ for all $\v a\in V$;

    • inverses: for all $a\in V$, there exists a unique additive inverse $-\v a$ such that $\v a+(-\v a) = \v 0$,

  • and scalar multiplication satisfies

    • distributive properties:

      • $(\lambda+\mu)\v v = \lambda\v v+\mu\v v$;

      • $\lambda(\v u+\v v) = \lambda\v u + \lambda\v v$;

    • Associativity: $\lambda(\mu\v v) = (\lambda\mu)\v v$;

    • Identity: $1\v v = \v v$.

Products of vectors open_in_new

Scalar product open_in_new

Definition (geometric definition of the dot product) open_in_new

For $\v a,\v b\in\mathbb R^2$ or $\mathbb R^3$, define $$ \v a\cdot\v b = |\v a||\v b|\cos\theta $$ where $\theta$ is the angle between $\v a$ and $\v b$.

Definition (projection) open_in_new

$\v b^\perp$ is the projection of $\v b$ onto $\v a$ if $$ \v b^\perp = (\v b\cdot\vhat a)\vhat a. $$

Definition (inner product) open_in_new

For a real vector space $V$, the inner product of $x,y\in V$, denoted as $\v x\cdot\v y$ or $\langle \v x|\v y\rangle$, satisfies

  • commutativity: $\v x\cdot\v y = \v y\cdot\v x$ (only true for real vectors);

  • linearity of the second argument: $\v x\cdot(\lambda\v y + \mu\v z) = \lambda\v x\cdot\v y + \mu\v x\cdot\v z$;

  • positive definite: $\v x\cdot\v x\geq 0$ with equality iff $\v x=0$.

The first two properties give the linearity of the first argument: $(\lambda\v y+\mu\v z)\cdot\v x = \lambda\v y\cdot\v x + \mu\v z\cdot\v x$.

Theorem (Cauchy-Schwarz inequality) open_in_new

For all $\v x,y\in\mathbb R^n$, $$\v x\cdot\v y\leq|\v x||\v y|$$ with equality iff $\v x=\v 0$ or $\v y=\v 0$ or $\v x=\lambda\v y$ for some $\lambda\in\mathbb R$.

Proof

Proposition (triangle inequality for R^n) open_in_new

For all $\v x,\v y\in\mathbb R^n$, $$ |\v x+\v y|\leq |\v x|+|\v y|. $$

Proof

Vector product open_in_new

Definition (vector product) open_in_new

For $\v a,\v b\in\mathbb R^3$, define $$ \v a\times\v b = |\v a||\v b|\sin\theta\ \vhat n $$ where $\theta$ is the angle between $\v a$ and $\v b$, and $\vhat n$ is the unit vector perpendicular to $\v a,\v b$ in the right-handed sense.

Properties of the vector product:

  • $\v a\times\v b = -\v b\times\v a$;

  • $\v a\times\v 0 = \v 0$;

  • $\v a\times\v b = \v 0 \implies \v a = \mu\v b, \mu\in\mathbb R$;

  • $\v a\times(\lambda\v b) = \lambda(\v a \times\v b)$.

Definition (vector area of a triangle) open_in_new

Define the vector area of a triangle $OAB$ be $$ \frac12 \vec{OA}\times\vec{OB}.$$

Scalar triple product open_in_new

Notation (scalar triple product) open_in_new

Define $$[\v a,\v b,\v c] = \v a\cdot(\v b\times\v c).$$

This is the volume of the parallelepiped formed by $\v a,\v b,\v c$.

Properties:

  • $[\v a,\v b,\v c] = [\v b,\v c,\v a] = [\v c,\v a,\v b] = -[\v a, \v c, \v b] = -[\v b, \v a, \v c] = -[\v c,\v b,\v a]$;

  • $[\v a,\v a,\v c] = [\v a,\v b,\v b], [\v a,\v b,\v a] = 0$.

The condition for $\v a,\v b, \v c$ to be coplanar is $$[\v a,\v b,\v c] = 0.$$

Spanning sets and bases open_in_new

Definition (spanning set) open_in_new

For a vector space $V$, we say $\{\v v_1, \v v_2, \ldots, \v v_n\}$ spans $V$, or it is a spanning set of $V$, when every vector $\v v\in V$ can be written as a linear combination of $\v v_1,\ldots, \v v_n$, i.e. there exists scalars $c_1,\ldots,c_n$ such that $$ \v v = \sum_{i=1}^n c_i \v v_i. $$

Definition (linear independence) open_in_new

A list of vectors $\v v_1,\v v_2,\ldots, \v v_n\in V$ is linearly independent when for some scalars $c_1,\ldots, c_n$, $$ \sum_i c_i\v v_i = \v 0 \implies c_i=0\quad\forall i.$$

If it is not linearly independent, then it is linearly dependent.

Definition (basis) open_in_new

A list of vectors in a vector space $V$ is called a basis of $V$ if it

  • spans $V$; and

  • is linearly independent.

Definition (dimension) open_in_new

The dimension of a vector space is the number of vectors in the basis.

Proposition (uniqueness of linear combination of basis) open_in_new

If $\v u_1,\v u_2,\ldots,\v u_n$ is a basis of a vector space $V$, then for any vector $\v v\in V$, $\v v$ written as a linear combination of basis is unique.

Proof

Real and complex coordinate space open_in_new

Proposition (real coordinate space) open_in_new

$\mathbb R^n = \{ (x_1,x_2,\ldots,x_n): x_j\in\mathbb R, j=1,2,\ldots, n\}$ is a vector space.

Proof

Proposition (linear independence in R2) open_in_new

If two vectors $\v a,\v b\neq\v 0$ in $\mathbb R^2$ satisfy $\v a\times\v b\neq \v 0$, $\v a$ and $\v b$ are linearly independent.

Proof

Proposition (bases of R2) open_in_new

Any two vectors $\v a,\v b\neq\v 0$ in $\mathbb R^2$ with $\v a\times\v b\neq \v 0$ form a basis of $\mathbb R^2$.

Proposition (linear independence in R3) open_in_new

If $\v a, \v b, \v c\in\mathbb R^3$ are not coplanar, then they are linearly independent.

Proof

Proposition (bases of R3) open_in_new

If $\v a, \v b, \v c\in\mathbb R^3$ are not coplanar, then they form a basis of $\mathbb R^3$.

Standard basis of Rn open_in_new

The standard basis of $\mathbb R^n$ is $\{\v e_1,\v e_2,\ldots, \v e_n\}$ where $$ \v e_1 = (1,0,\ldots,0), \quad\v e_2 = (0,1,\ldots,0),\quad \ldots\quad\v e_n = (0,\ldots,0,1). $$

This basis is orthonormal, i.e. $$ \v e_i\cdot\v e_j = \begin{cases} 0, &i\neq j &\text{(orthogonal)}\\ 1, &i=j. \end{cases}$$

Definition (inner product of Rn) open_in_new

For any two vectors $\v x,\v y\in\mathbb R^n$ where $$\begin{align*} \v x &= \sum_{i=1}^n x_i\v e_i \\ \v y &= \sum_{i=1}^n y_i\v e_i, \end{align*}$$ define its dot or inner product $$ \v x\cdot\v y = \langle \v x | \v y\rangle = \sum_{i=1}^n x_iy_i. $$

Definition (inner product of Cn) open_in_new

For any vectors $\v u,\v v\in\mathbb C^n$ where $$ \v u = \sum_{i=1}^n u_i \v e_i, \quad u_i\in\mathbb C $$ $$ \v v = \sum_{i=1}^n v_i \v e_i, \quad v_i\in\mathbb C $$ define their dot or inner product $$ \v u\cdot\v v = \langle\v u|\v v\rangle = \sum_{i=1}^n\overline{u_i} v_i.$$

Properties of complex inner product open_in_new
  • $\v u\cdot\v v = \overline{\v v\cdot\v u}$;

  • $\v u\cdot\v u\geq 0$, and $\v u\cdot\v u=0\implies\v u=\v 0$.

  • $\v u\cdot(\lambda\v v+\mu\v w) = \lambda\v u\cdot\v v + \mu\v u\cdot\v w$ (linearity of the second argument);

  • $(\lambda\v u+\mu\v v)\cdot\v w = \overline\lambda\v u\cdot\v w + \overline\mu\v v\cdot\v w$ (Proof).

Vector subspace open_in_new

Definition (subspace) open_in_new

A non-empty subset $U$ of a vector space $V$ is a subspace of $V$ if $U$ is a vector space under the same operations as $V$.

Examples of subspace open_in_new
  • $V$ is a subspace of $V$.

  • $\{\v 0\}$ is a subspace of $V$.

All others are proper subspaces.

  • For any $\v\alpha\in\R^n$, let $$ U = \sb{\v x\in\R^n}{\v\alpha\cdot\v x = 0}. $$ $U$ is a subspace of $\R^n$ and has a dimension of $n-1$.

Theorem (subspace condition) open_in_new

A non-empty subset $U$ of a vector space $V$ is a subspace of $V$ iff for all $\v x,\v y\in U$ and scalars $\lambda,\mu$, $$\lambda\v x + \mu\v y \in U.$$

Einstein suffix notation open_in_new

Notation (Einstein suffix notation) open_in_new

For a vector $\vec v\in\R^3$, denote $v_i$ where $i=1,2,3$ be the $i$-th component of $\vec v$, i.e. $$ \vec v = v_1\vec e_1 + v_2\vec e_2 + v_3\vec e_3. $$

In Einstein suffix notation, if in the same term, a suffix appears

  • once, then it is a free suffix;

  • twice, then it is a dummy suffix, and summation over it is omitted.

A suffix cannot appears more than twice.

Dot product in suffix notation open_in_new

$$ \vec x\cdot\vec y = x_i y_i. $$ Since $i$ is a dummy suffix, the summation sign $\sum_{i=1}^3$ is omitted.

Definition (Kronecker delta) open_in_new

$\delta_{ij}$ is a 2-dimensional tensor with 2 free suffixes, defined as $$ \delta_{ij} = \begin{cases}1, &i=j, \\0, &i\neq j.\end{cases} $$

Properties of the Kronecker delta open_in_new
  • $\delta_{ij} = \delta_{ji}$ (symmetric);

  • $\delta_{ii} = 3$ in $\R^3$;

  • $a_i\delta_{ij} = a_j$;

  • $\delta_{ij}\delta_{jk} = \delta_{ik}$;

  • $a_i \delta_{ij} b_j = a_ib_i = \vec a\cdot\vec b$.

Definition (Levi-Cevita symbol) open_in_new

Define a permutation of $\se{1,2,3}$ as even (or odd) if an even (or odd) number of swaps are needed to achieve the permutation from $(1,2,3)$.

Then define the Levi-Cevita (alternating) symbol $$ \epsilon_{ijk} = \begin{cases} +1, &ijk\text{ is a even permutation}, \\ -1, &ijk\text{ is an odd permutation}, \\ 0, &ijk\text{ is not a permutation}. \end{cases} $$ This means $$\begin{align*} \epsilon_{123} = \epsilon_{231} = \epsilon_{312} &= +1, \\ \epsilon_{132} = \epsilon_{213} = \epsilon_{321} &= -1, \\ \text{Others} &= 0. \end{align*}$$

Properties of the Levi-Cevita symbol open_in_new
  • $\epsilon_{ijk}\delta_{jk} = 0$;

  • If $a_{jk} = a_{kj}$, then $\epsilon_{ijk}a_{jk} = 0$. Proof

  • $(\vec a\times\vec b)_i = \epsilon_{ijk} a_j b_k$.

  • $\epsilon_{ijk} \epsilon_{ij'k'} = \delta_{jj'}\delta_{kk'} - \delta_{jk'}\delta_{kj'}$
    $\epsilon_{ijk} \epsilon_{i'jk'} = \delta_{ii'}\delta_{kk'} - \delta_{ik'}\delta_{ki'}$
    $\epsilon_{ijk} \epsilon_{i'j'k} = \delta_{ii'}\delta_{jj'} - \delta_{ij'}\delta_{ji'}$. [[FILE NOT FOUND: Proof (multiplying two alternating symbols)]]

Proposition (vector triple product) open_in_new

For $\vec a,\vec b, \vec c\in\R^3$, $$\begin{align*} \vec a\times(\vec b\times\vec c) &= (\vec a\cdot\vec c)\vec b - (\vec a\cdot\vec b)\vec c \\ (\vec a\times\vec b)\times\vec c &= (\vec a\cdot\vec c)\vec b - (\vec b\cdot\vec c)\vec a. \end{align*}$$ (Furthest dot product is positive)

Proof

Geometry in R3 open_in_new

Line in R3 open_in_new

If a line $L$ goes through a point $A$ with position vector $\vec a$ and is parallel to $\vec t$, a general point $\vec x$ on $L$ is $$ \vec x = \vec a + \lambda\vec t,\quad \lambda\in\R $$ or $$ (\vec x - \vec a)\times\vec t = \vec 0. $$

Plane in R3 open_in_new

If a plane has a normal vector $\vec n$ and contains a point $\vec b$, then $(\vec x -\vec b)$ lies on the plane, so $$ (\vec x - \vec b)\cdot\vec n = 0. $$

For $\vec n=\hat n$, then $\vec b\cdot\hat n\equiv p$ is the perpendicular distance from origin to plane, $$ \vec x\cdot\hat n = p. $$

Alternatively, if $\vec a, \vec b, \vec c$ lie on the plane, then $$ (\vec x - \vec a) \cdot \big((\vec b-\vec a)\times(\vec c-\vec a)\big) = 0. $$

Example (intersection of a line and a plane)

Example (shortest distance between two lines)

Vector equation open_in_new

The strategy is to take dot/cross product with suitable vectors.

Example of a vector equation