Position vector

A Position vector is a unit length (r) defined by 'i-hat', 'j-hat' and 'k-hat'. These letters denote its position in the x, y and z directions in 3-D coordinates. This equation can be defined as:

The formula can be used for 2-D structures by just using x and y coordinates. Any unit vector must have a unit length.