How to perform vector addition and subtraction?
Let’s say v1 and v2 are two row vectors with the same dimension. If we add the two vectors v1 and v2, then we will get another vector v3 that will have the same dimension as v1 and v2. And each component of v3 will be the addition of the corresponding components of v1 and v2.
Let’s look at an example.
Similarly, let’s say v4 and v5 are two column vectors of the same dimension. We can add these two vectors to get another column vector v6 of the same dimension as v4 and v5.
Similarly, we can subtract these vectors. For example, we can subtract the vector v2 from v1 to get the vector v7.
And we can subtract the column vector v5 from the vector v4 to get another column vector v8.
…
0 Comments