Given vectors a→=[3,−1,2] and b→=[2,4,−1], find the vector a→−b→.
The third component of a→−b→ is 2−(−1)=3
Step 1 :The subtraction of two vectors is done component-wise. This means that to subtract b→ from a→, we subtract the corresponding components of b→ from a→.
Step 2 :The first component of a→−b→ is 3−2=1
Step 3 :The second component of a→−b→ is −1−4=−5
Step 4 :The third component of a→−b→ is 2−(−1)=3