\underrightarrow{AB}

The command \underrightarrow{AB} is used in LaTeX to place a right-pointing arrow underneath a pair of characters, typically used to denote a vector or a directed line segment from point A to point B. This is particularly useful in mathematical expressions where the direction of the vector is significant.

Examples

Vector addition of two directed line segments.

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

Describing a vector quantity in physics.

\text{The vector } \underrightarrow{AB} \text{ represents the force applied.}

Dot product of two perpendicular vectors.

\underrightarrow{PQ} \cdot \underrightarrow{QR} = 0