The scalar and vector components are:
The vector with initial point P \[(2,1)\] and terminal point Q \[(-5,7)\] can be shown as,
\[-7\widehat{i}\] and \[6\widehat{j}\] Thus, the required scalar components are –7 and 6 while the vector components are