Module 1: Vector Arithmetic
There are two essential operations associated to a vector space. They are vector addition and scalar multiplication.
Vector addition in Rn is done componentwise. Let
→v=(v1v2⋮vn) and →w=(w1w2⋮wn).
Then we can define the sum of v and
w to be
→v+→w:=(v1+w1v2+w2⋮vn+wn).
For example,
(−138)+(2−13)=(−1+23−18+3)=(1211).
Note: this definition requires that the vectors have the same number of components. For our purposes we will not add together vectors of different dimensions.
The second operation is called scalar multiplication: Let r∈R be any real number and
→v=(v1v2⋮vn).
Then the product of r and
→v is the vector
r→v:=(rv1rv2⋮rvn)
For example:
2(−132)=(2⋅−12⋅32⋅2)=(−264)