Section VO Vector Operations

In this section we define some new operations involving vectors, and collect some basic properties of these operations. Begin by recalling our definition of a column vector as an ordered list of complex numbers, written vertically (Definition CV). The collection of all possible vectors of a fixed size is a commonly used set, so we start with its definition.

Subsection CV Column Vectors

Definition VSCV Vector Space of Column Vectors

The vector space $\complex{m}$ is the set of all column vectors (Definition CV) of size $m$ with entries from the set of complex numbers, $\complex{\null}$.

When a set similar to this is defined using only column vectors where all the entries are from the real numbers, it is written as ${\mathbb R}^m$ and is known as Euclidean $m$-space.

The term vector is used in a variety of different ways. We have defined it as an ordered list written vertically. It could simply be an ordered list of numbers, and perhaps written as $\left\langle 2,\,3,\,-1,\,6\right\rangle$. Or it could be interpreted as a point in $m$ dimensions, such as $\left(3,\,4,\,-2\right)$ representing a point in three dimensions relative to $x$, $y$ and $z$ axes. With an interpretation as a point, we can construct an arrow from the origin to the point which is consistent with the notion that a vector has direction and magnitude.

All of these ideas can be shown to be related and equivalent, so keep that in mind as you connect the ideas of this course with ideas from other disciplines. For now, we will stick with the idea that a vector is just a list of numbers, in some particular order.

Sage VSCV Vector Spaces of Column Vectors

Subsection VEASM Vector Equality, Addition, Scalar Multiplication

We start our study of this set by first defining what it means for two vectors to be the same.

Definition CVE Column Vector Equality

Suppose that $\vect{u},\,\vect{v}\in\complex{m}$. Then $\vect{u}$ and $\vect{v}$ are equal, written $\vect{u}=\vect{v}$ if \begin{align*} \vectorentry{\vect{u}}{i}&=\vectorentry{\vect{v}}{i} &&1\leq i\leq m \end{align*}

Now this may seem like a silly (or even stupid) thing to say so carefully. Of course two vectors are equal if they are equal for each corresponding entry! Well, this is not as silly as it appears. We will see a few occasions later where the obvious definition is not the right one. And besides, in doing mathematics we need to be very careful about making all the necessary definitions and making them unambiguous. And we have done that here.

Notice now that the symbol “=” is now doing triple-duty. We know from our earlier education what it means for two numbers (real or complex) to be equal, and we take this for granted. In Definition SE we defined what it meant for two sets to be equal. Now we have defined what it means for two vectors to be equal, and that definition builds on our definition for when two numbers are equal when we use the condition $u_i=v_i$ for all $1\leq i\leq m$. So think carefully about your objects when you see an equal sign and think about just which notion of equality you have encountered. This will be especially important when you are asked to construct proofs whose conclusion states that two objects are equal. If you have an electronic copy of the book, such as the PDF version, searching on “Definition CVE” can be an instructive exercise. See how often, and where, the definition is employed.

OK, let us do an example of vector equality that begins to hint at the utility of this definition.

Example VESE Vector equality for a system of equations

We will now define two operations on the set $\complex{m}$. By this we mean well-defined procedures that somehow convert vectors into other vectors. Here are two of the most basic definitions of the entire course.

Definition CVA Column Vector Addition

Suppose that $\vect{u},\,\vect{v}\in\complex{m}$. The sum of $\vect{u}$ and $\vect{v}$ is the vector $\vect{u}+\vect{v}$ defined by \begin{align*} \vectorentry{\vect{u}+\vect{v}}{i} &=\vectorentry{\vect{u}}{i}+\vectorentry{\vect{v}}{i} &&1\leq i\leq m \end{align*}

So vector addition takes two vectors of the same size and combines them (in a natural way!) to create a new vector of the same size. Notice that this definition is required, even if we agree that this is the obvious, right, natural or correct way to do it. Notice too that the symbol `+' is being recycled. We all know how to add numbers, but now we have the same symbol extended to double-duty and we use it to indicate how to add two new objects, vectors. And this definition of our new meaning is built on our previous meaning of addition via the expressions $u_i+v_i$. Think about your objects, especially when doing proofs. Vector addition is easy, here is an example from $\complex{4}$.

Example VA Addition of two vectors in $\complex{4}$

Our second operation takes two objects of different types, specifically a number and a vector, and combines them to create another vector. In this context we call a number a scalar in order to emphasize that it is not a vector.

Definition CVSM Column Vector Scalar Multiplication

Suppose $\vect{u}\in\complex{m}$ and $\alpha\in\complex{\null}$, then the scalar multiple of $\vect{u}$ by $\alpha$ is the vector $\alpha\vect{u}$ defined by \begin{align*} \vectorentry{\alpha\vect{u}}{i} &=\alpha\vectorentry{\vect{u}}{i} &&1\leq i\leq m \end{align*}

Notice that we are doing a kind of multiplication here, but we are defining a new type, perhaps in what appears to be a natural way. We use juxtaposition (smashing two symbols together side-by-side) to denote this operation rather than using a symbol like we did with vector addition. So this can be another source of confusion. When two symbols are next to each other, are we doing regular old multiplication, the kind we have done for years, or are we doing scalar vector multiplication, the operation we just defined? Think about your objects — if the first object is a scalar, and the second is a vector, then it must be that we are doing our new operation, and the result of this operation will be another vector.

Notice how consistency in notation can be an aid here. If we write scalars as lower case Greek letters from the start of the alphabet (such as $\alpha$, $\beta$, …) and write vectors in bold Latin letters from the end of the alphabet ($\vect{u}$, $\vect{v}$, …), then we have some hints about what type of objects we are working with. This can be a blessing and a curse, since when we go read another book about linear algebra, or read an application in another discipline (physics, economics, …) the types of notation employed may be very different and hence unfamiliar.

Again, computationally, vector scalar multiplication is very easy.

Example CVSM Scalar multiplication in $\complex{5}$
Sage VO Vector Operations

Subsection VSP Vector Space Properties

With definitions of vector addition and scalar multiplication we can state, and prove, several properties of each operation, and some properties that involve their interplay. We now collect ten of them here for later reference.

Theorem VSPCV Vector Space Properties of Column Vectors

Suppose that $\complex{m}$ is the set of column vectors of size $m$ (Definition VSCV) with addition and scalar multiplication as defined in Definition CVA and Definition CVSM. Then

  • ACC Additive Closure, Column Vectors
    If $\vect{u},\,\vect{v}\in\complex{m}$, then $\vect{u}+\vect{v}\in\complex{m}$.

  • SCC Scalar Closure, Column Vectors
    If $\alpha\in\complex{\null}$ and $\vect{u}\in\complex{m}$, then $\alpha\vect{u}\in\complex{m}$.

  • CC Commutativity, Column Vectors
    If $\vect{u},\,\vect{v}\in\complex{m}$, then $\vect{u}+\vect{v}=\vect{v}+\vect{u}$.

  • AAC Additive Associativity, Column Vectors
    If $\vect{u},\,\vect{v},\,\vect{w}\in\complex{m}$, then $\vect{u}+\left(\vect{v}+\vect{w}\right)=\left(\vect{u}+\vect{v}\right)+\vect{w}$.

  • ZC Zero Vector, Column Vectors
    There is a vector, $\zerovector$, called the zero vector, such that $\vect{u}+\zerovector=\vect{u}$ for all $\vect{u}\in\complex{m}$.

  • AIC Additive Inverses, Column Vectors
    If $\vect{u}\in\complex{m}$, then there exists a vector $\vect{-u}\in\complex{m}$ so that $\vect{u}+ (\vect{-u})=\zerovector$.

  • SMAC Scalar Multiplication Associativity, Column Vectors
    If $\alpha,\,\beta\in\complex{\null}$ and $\vect{u}\in\complex{m}$, then $\alpha(\beta\vect{u})=(\alpha\beta)\vect{u}$.

  • DVAC Distributivity across Vector Addition, Column Vectors
    If $\alpha\in\complex{\null}$ and $\vect{u},\,\vect{v}\in\complex{m}$, then $\alpha(\vect{u}+\vect{v})=\alpha\vect{u}+\alpha\vect{v}$.

  • DSAC Distributivity across Scalar Addition, Column Vectors
    If $\alpha,\,\beta\in\complex{\null}$ and $\vect{u}\in\complex{m}$, then $(\alpha+\beta)\vect{u}=\alpha\vect{u}+\beta\vect{u}$.

  • OC One, Column Vectors
    If $\vect{u}\in\complex{m}$, then $1\vect{u}=\vect{u}$.

Many of the conclusions of our theorems can be characterized as “identities,” especially when we are establishing basic properties of operations such as those in this section. Most of the properties listed in Theorem VSPCV are examples. So some advice about the style we use for proving identities is appropriate right now. Have a look at Proof Technique PI.

Be careful with the notion of the vector $\vect{-u}$. This is a vector that we add to $\vect{u}$ so that the result is the particular vector $\zerovector$. This is basically a property of vector addition. It happens that we can compute $\vect{-u}$ using the other operation, scalar multiplication. We can prove this directly by writing that \begin{equation*} \vectorentry{\vect{-u}}{i} =-\vectorentry{\vect{u}}{i} =(-1)\vectorentry{\vect{u}}{i} =\vectorentry{(-1)\vect{u}}{i} \end{equation*} We will see later how to derive this property as a consequence of several of the ten properties listed in Theorem VSPCV.

Similarly, we will often write something you would immediately recognize as “vector subtraction.” This could be placed on a firm theoretical foundation — as you can do yourself with Exercise VO.T30.

A final note. Property AAC implies that we do not have to be careful about how we “parenthesize” the addition of vectors. In other words, there is nothing to be gained by writing $\left(\vect{u}+\vect{v}\right)+\left(\vect{w}+\left(\vect{x}+\vect{y}\right)\right)$ rather than $\vect{u}+\vect{v}+\vect{w}+\vect{x}+\vect{y}$, since we get the same result no matter which order we choose to perform the four additions. So we will not be careful about using parentheses this way.

Sage ANC A Note on Coercion