what does this symbol mean?
The letters AB three times: under a plain bar, under a right-pointing arrow and under a double-headed arrow

Line, ray and segment notation (AB)

A mark over two letters says which part of a line is meant: a plain bar over AB is the segment from A to B, an arrow pointing right is the ray from A through B, and an arrow at each end is the whole line through A and B.

Easily confused with

How to read it

OpenStax’s Contemporary Mathematics sets the three out in a table. AB with a line above it is the line segment from A to B, with two endpoints. AB with an arrow above it is a ray: it starts at the first letter and goes on for ever through the second, so the ray AB and the ray BA point opposite ways. AB with a double-headed arrow is the line through A and B, going on indefinitely in both directions. OpenStax adds a fourth, an arrow with a small open circle at its start, for a half-line that leaves out its starting point. Henry Africk’s Elementary College Geometry (CUNY) uses the same arrows for a line and a ray.

Also searched as: AB, arrow over AB, bar over AB, line segment symbol, line symbol, overline, ray symbol.

AB with no mark

Books differ on the bare letters. Africk writes the segment as plain AB and notes that some textbooks use the bar over AB instead; OpenStax always puts the bar on. Read the text’s own definitions to tell whether a bare AB means the segment or the line.

Look-alikes

A bar over a single letter is something else: OpenStax’s Introductory Statistics uses x with a bar over it, “x bar”, for the sample mean. An arrow over a single letter is a vector: in OpenStax’s University Physics, a letter with an arrow above it denotes a vector. A curve over two letters is an Arc symbol (⌒) of a circle.

More geometry symbols

The same shape elsewhere

Sources

Researched, edited and approved by Rory Hansen before publishing. Last reviewed October 9, 2026. How we research

Added .

Report a problem

Please don’t include personal details.