4.2: Vector Algebra
( \newcommand{\kernel}{\mathrm{null}\,}\)
- Understand vector addition and scalar multiplication, algebraically.
- Introduce the notion of linear combination of vectors.
Addition and scalar multiplication are two important algebraic operations done with vectors. Notice that these operations apply to vectors in Rn, for any value of n. We will explore these operations in more detail in the following sections.
Addition of Vectors in Rn
Addition of vectors in Rn is defined as follows.
If →u=[u1⋮un],→v=[v1⋮vn]∈Rn then →u+→v∈Rn and is defined by
→u+→v=[u1⋮un]+[v1⋮vn]=[u1+v1⋮un+vn]
To add vectors, we simply add corresponding components. Therefore, in order to add vectors, they must be the same size.
Below is a video on finding the sum of two vectors as a linear combination of other vectors.
Addition of vectors satisfies some important properties which are outlined in the following theorem.
The following properties hold for vectors →u,→v,→w∈Rn.
- The Commutative Law of Addition →u+→v=→v+→u
- The Associative Law of Addition (→u+→v)+→w=→u+(→v+→w)
- The Existence of an Additive Identity →u+→0=→u
- The Existence of an Additive Inverse →u+(−→u)=→0
The additive identity shown in Equation (???) is also called the zero vector, the n×1 vector in which all components are equal to 0. Further, −→u is simply the vector with all components having same value as those of →u but opposite sign; this is just (−1)→u. This will be made more explicit in the next section when we explore scalar multiplication of vectors. Note that subtraction is defined as →u−→v=→u+(−→v).
Scalar Multiplication of Vectors in Rn
Scalar multiplication of vectors in Rn is defined as follows.
If →u∈Rn and k∈R is a scalar, then k→u∈Rn is defined by k→u=k[u1⋮un]=[ku1⋮kun]
Just as with addition, scalar multiplication of vectors satisfies several important properties. These are outlined in the following theorem.
The following properties hold for vectors →u,→v∈Rn and k,p scalars.
- The Distributive Law over Vector Addition k(→u+→v)=k→u+k→v
- The Distributive Law over Scalar Addition (k+p)→u=k→u+p→u
- The Associative Law for Scalar Multiplication k(p→u)=(kp)→u
- Rule for Multiplication by 1 1→u=→u
- Proof
-
We will show the proof of: k(→u+→v)=k→u+k→v Note that: k(→u+→v)=k[u1+v1⋯un+vn]T=[k(u1+v1)⋯k(un+vn)]T=[ku1+kv1⋯kun+kvn]T=[ku1⋯kun]T+[kv1⋯kvn]T=k→u+k→v
Below is a video on the dot product.
Below is a video on vector scalar multiplication.
We now present a useful notion you may have seen earlier combining vector addition and scalar multiplication
A vector →v is said to be a linear combination of the vectors →u1,⋯,→un if there exist scalars, a1,⋯,an such that →v=a1→u1+⋯+an→un
For example, 3[−410]+2[−301]=[−1832]. Thus we can say that →v=[−1832] is a linear combination of the vectors →u1=[−410] and →u2=[−301]