To find the vector perpendicular to both \( \vec{a} \) and \( \vec{b} \), we can use the cross product of the two vectors. Given:
The cross product \( \vec{a} \times \vec{b} \) is calculated using the determinant of the following matrix:
| \(\hat{i}\) | \(\hat{j}\) | \(\hat{k}\) |
| 2 | -1 | 3 |
| 1 | 2 | -1 |
Now, we compute the determinant by expanding it:
Thus, the cross product, which is the vector perpendicular to both \(\vec{a}\) and \(\vec{b}\), is:
\[ \vec{a} \times \vec{b} = -5\hat{i} + 5\hat{j} + 5\hat{k} \]
Hence, the vector perpendicular to both \( \vec{a} \) and \( \vec{b} \) is \(-5\hat{i}+5\hat{j}+5\hat{k}\), which matches the given correct option.