Problem

Given vectors \(\vec{a} = [3, -1, 2]\) and \(\vec{b} = [2, 4, -1]\), find the vector \(\vec{a} - \vec{b}\).

Answer

Expert–verified
Hide Steps
Answer

The third component of \(\vec{a} - \vec{b}\) is \(2 - (-1) = 3\)

Steps

Step 1 :The subtraction of two vectors is done component-wise. This means that to subtract \(\vec{b}\) from \(\vec{a}\), we subtract the corresponding components of \(\vec{b}\) from \(\vec{a}\).

Step 2 :The first component of \(\vec{a} - \vec{b}\) is \(3 - 2 = 1\)

Step 3 :The second component of \(\vec{a} - \vec{b}\) is \(-1 - 4 = -5\)

Step 4 :The third component of \(\vec{a} - \vec{b}\) is \(2 - (-1) = 3\)

link_gpt