1.2.1 · D2Basic Geometry

Visual walkthrough — Points, lines, line segments, rays — notation and differences

1,960 words9 min readBack to topic

We are going to grow every object in the parent topic out of one tiny dot, using pictures. By the end you will see why a ray needs , a line needs "all ", and a segment needs — not as rules to memorise, but as things you can watch happen.

Nothing here assumes you already know vectors, parameters, or coordinates. We build each idea the moment we need it.


Step 1 — Start with a single point

WHAT: We place one point and give it a name, .

WHY: Every richer object (ray, line, segment) is going to be made of points. So we must start from the smallest possible thing — the "atom" of geometry.

PICTURE: Below, sits alone on the board. Notice there is no direction and no distance yet — just a location.

Figure — Points, lines, line segments, rays — notation and differences
Recall Why can't a point have size?

If it had size ::: we could cut it in half and find something smaller inside — but a point is defined to be the smallest markable thing, so it must have no size.


Step 2 — Add a second point to earn a direction

WHAT: Place a second point , and draw the little journey "from toward ".

WHY: Direction is the ingredient that turns a lonely dot into something we can travel along. We cannot build a ray or line without knowing which way to go.

PICTURE: The pale-yellow arrow shows the direction from to . This arrow is our new tool.

Figure — Points, lines, line segments, rays — notation and differences

WHY subtract? Subtraction answers "what do I add to to reach ?" — the leftover after removing 's position is exactly the displacement.


Step 3 — Slide along the direction with a dial called

WHAT: We write the position of the sliding dot as a formula:

WHY a dial? We want one formula that can produce every point of a ray, a line, or a segment. The only difference between those three objects will turn out to be which values of we allow. So we need a single tunable knob first.

Let us read what different dial values do:

  • : you are at . You have not moved.
  • : you are at . You have moved exactly to .
  • : you are at — twice as far, past , same direction.
  • : you are halfway between and .

PICTURE: Watch the dot at several dial settings. Each labelled tick is a different value of .

Figure — Points, lines, line segments, rays — notation and differences
Recall What point does

always give? ::: it lands exactly on the second point .


Step 4 — Allow only : this is the ray

WHAT: Keep the dial but forbid negative settings. We allow every from upward:

WHY ? Negative would push the dot behind (opposite to ). A ray must start at and never leave from the back — so we cut off everything below . The value is allowed, which is why the starting point is included; that starting point is the ray's single endpoint.

Notation: — one arrow, pointing away from the endpoint , through the direction-marker .

PICTURE: The forward half is solid pale-yellow (the ray). The backward half is faded and crossed out — it is not part of .

Figure — Points, lines, line segments, rays — notation and differences

Step 5 — Allow every : this is the line

WHAT: Allow to be any real number. "Any real number" is written — the symbol just means "the whole number line: negatives, zero, positives, fractions, everything."

WHY every ? A line is the pure idea of straightness with no boundary. Since negative walks backward and positive walks forward, letting be anything removes both ends at once — no start, no finish.

Notation: — a double-headed arrow, because it is infinite on both sides.

PICTURE: Both halves are now solid. Arrowheads on each end signal "keeps going".

Figure — Points, lines, line segments, rays — notation and differences

Step 6 — Trap between and : this is the segment

WHAT: Allow only :

WHY these bounds? From Step 3 we know gives and gives . Everything strictly between () is inside the segment. We forbid (no going behind ) and (no going past ). Both endpoints are included because and are allowed.

Notation: — a plain bar, no arrows, because nothing runs to infinity.

PICTURE: Only the stretch between the two dots is drawn, both ends capped.

Figure — Points, lines, line segments, rays — notation and differences

Step 7 — Degenerate case: what if the two points coincide?

WHAT: If , then — the zero vector, an arrow with no length and no direction.

WHY it matters: Plug it in: for every . The dial does nothing; the dot never moves.

Consequences, case by case:

  • Ray / line: undefined — with no direction there is nothing to point along. You cannot draw or from a point to itself.
  • Segment: collapses to the single point ; its length is .

PICTURE: The lonely dot with a crossed-out zero-arrow — the whole construction shrinks back to Step 1.

Figure — Points, lines, line segments, rays — notation and differences

The one-picture summary

Same formula every time — only the allowed range of the dial changes. That single idea produces all three objects.

Figure — Points, lines, line segments, rays — notation and differences
Object Notation Dial range Endpoints
Point (no dial)
Ray one ()
Line none
Segment two ()
Recall Feynman retelling — say it back in plain words

Start with one dot, . It's just a spot, no size, no direction. Put a second dot nearby; now there's a direction — a little arrow pointing from toward . Imagine a knob called : turning it slides a moving dot along that arrow. At you're on ; at you're on ; bigger goes past ; negative goes behind . Now the whole trick: if I only let the knob go from upward, the dot shoots forward forever — that's a ray. If I let the knob be any number, it runs off both ways — that's a line. If I trap the knob between and , it starts at and stops at — that's a segment, and I can measure its length with Pythagoras. One warning: if the two dots are actually the same dot, the arrow has zero length, the knob does nothing, and only a segment survives — as a single point of length zero.


See also: Vectors · Coordinate Geometry · Distance Formula · Midpoint Formula · Colinear Points · Angles · Parallel and Perpendicular Lines