\overrightarrow{AB}

The LaTeX command \overrightarrow{AB} is used to denote a vector from point A to point B. It is typically used in mathematical contexts, especially in geometry and physics, to represent directed line segments or vectors. The arrow above the letters indicates the direction from the first point to the second.

Examples

Vector addition of two vectors to form a resultant vector.

\overrightarrow{AB} + \overrightarrow{BC} = \overrightarrow{AC}

Magnitude of the vector from point A to point B is 5 units.

|\overrightarrow{AB}| = 5

Dot product of two vectors is zero, indicating they are perpendicular.

\overrightarrow{AB} \cdot \overrightarrow{CD} = 0