Brain Dump

Vector

Tags
math

Vectors are collections of values organised into an array. They can be used to represent a coordinate-position (position vector) or a direction that something is pointing in (direction vector).

For example you can have 2 position vectors A=(321)T, B=(502)T, and define the direction vector from A to B as AB=BA=(221)T.

Note: The T superscript above means transposed. Position and direction vectors are commonly expressed in column notation (such as (502)) however for brevity and readability their transposed and written as row vectors. The distinction will become more relevant as we explore matrices.

Note: ABBA, in-fact BA=AB in this case because they point in opposite directions.

We define the length of a vector A as |A|, the true euclidean distance of the vector.