Line Geometry: Key Concepts, Examples, and Study Guide

·96% (88 Rated)
Illustration_left blog cover: a deep-brown-skin teen boy with short coily dark hair in a dusty violet sweater stands at a classroom easel with a pointer and straightedge, beside line, segment, and ray sketches, facing the title Line Geometry: Key Concepts, Examples, and Study Guide on a light lavender background.
In geometry, a line is a straight, one-dimensional figure with no thickness that extends infinitely in both directions. A segment is bounded by two endpoints, while a ray has one endpoint and continues in one direction. On the same plane, lines may be parallel, perpendicular, or intersecting; slope and y = mx + b describe their direction and position on a coordinate plane. Start by checking endpoints or slopes, then use the relationship rule to name the figure or write its equation.

What Is a Line in Geometry?

This guide starts with the basic drawing and moves toward coordinate rules. A line appears in almost every later geometry figure, including polygon sides and graph equations, so the first task is to separate it cleanly from the bounded figures next to it. The geometry concepts guide places this object inside the broader study of points, segments, and figures; the plane geometry guide explains the two-dimensional surface where these relationships appear.

The Basic Definition

A line has no thickness, no width beyond a mathematical trace, and no endpoint on either side. It is straight rather than curved, and it continues forever in both directions. Wolfram MathWorld defines a line as a straight one-dimensional figure with no thickness and infinite extension, and notes that two distinct points determine exactly one line. In ordinary notation, a line through points A and B is written with arrows over the letters, while a single lowercase letter may also name the line.
This guide stays on the ordinary flat plane described by the upcoming Euclidean geometry guide; that page explains the axiom framework underneath plane figures. Three-dimensional skew lines, curved surfaces, and non-Euclidean spaces are outside this guide.

Line, Segment, and Ray

A segment locks the line between two endpoints, so it has a measurable length. A future distance formula guide explains how to measure that bounded segment length on a coordinate grid; this guide does not derive the distance formula. A ray keeps one endpoint and continues through the other point in only one direction. A line keeps neither endpoint and extends both ways. Math is Fun summarizes the same entry point: the line is straight, has no thickness, and extends without end; the segment and ray are named by where that extension stops.
Figure
Endpoints
Direction
Measurable length?
Line
0
Infinite in both directions
No
Segment
2
Stops at both endpoints
Yes
Ray
1
Infinite in one direction
No
Ray naming order, opposite rays, and the way rays form angles are covered in the ray geometry guide. Here, only the endpoint and direction comparison matters: once a figure has two fixed ends, it is a segment; arrows on both ends make it a line; one arrow and one endpoint make it a ray.
Open hand-drawn comparison on warm-white paper: a line with arrows on both ends, a segment with two endpoints and no arrows, and a ray with one endpoint and one arrow; each small sketch carries a short charcoal label Line, Segment, Ray; open layout, minimal cards and arrows.
A relationship is judged inside the same flat plane. Two lines can run side by side without meeting, cross at one point, or meet at a right angle. The geometric labels below describe the position itself; the slope rules in the next section show how those labels appear on a coordinate grid.

Parallel and Intersecting Lines

Parallel lines lie in the same plane and never intersect; the distance between them stays constant as they extend. OpenStax describes parallel lines as lines in the same plane that move in the same direction without meeting. Intersecting lines meet at one point; two nonparallel straight lines in a plane have exactly one intersection point. If two equations describe the same set of points, the figures are coincident rather than a separate parallel pair.
On a coordinate grid, nonvertical parallel lines have the same slope but different y-intercepts. Vertical lines are handled separately: two vertical lines with different x-intercepts are also parallel, even though their slopes are undefined. Math LibreTexts separates those vertical parallels from the ordinary same-slope comparison so the undefined-slope exception does not get forced into a formula it cannot satisfy.

Perpendicular Lines

Perpendicular lines intersect at a 90° angle. The right angle is often marked with a small square at the crossing, and the relationship is written ⊥ between the two line labels. OpenStax identifies that same 90-degree crossing and small-square marker as the standard visual check for a perpendicular pair.
For two nonvertical lines, perpendicular slopes are negative reciprocals: if the first slope is m₁, the other slope is -1/m₁, and their product is m₁ · m₂ = -1. A horizontal line and a vertical line are always perpendicular even though one slope is 0 and the other is undefined; this special pair must be checked by the angle itself rather than by the product rule.

Representing Lines on the Coordinate Plane

A drawn line and its equation describe the same figure. The equation records which points belong to the line, while the slope records how steeply it rises or falls. The geometry formulas reference collects slope and intercept rules for later review; this section explains the rules needed to read a line and write its equation.

Slope and Horizontal or Vertical Lines

Slope measures steepness as rise over run. For points (x₁, y₁) and (x₂, y₂),
m = (y₂ − y₁) / (x₂ − x₁)
The numerator is the vertical change, and the denominator is the horizontal change. Khan Academy uses this ratio to describe both direction and steepness. A horizontal line has all points at the same y-value, so its slope is 0. A vertical line has all points at the same x-value, so dividing by zero is impossible and its slope is undefined.

Slope-Intercept Form

The slope-intercept form is y = mx + b. In this equation, m is the slope and b gives the y-coordinate of the y-intercept, the point (0, b). If a line rises from left to right, m is positive; if it falls, m is negative; m = 0 marks a horizontal line. When an equation is written in another form, solve for y before reading m and b.

Writing an Equation from a Point and Slope

When the slope and one point are known, substitute the known m, x, and y into y = mx + b, then solve for b. When only two points are known, calculate the slope first, use one of the points to solve for b, and rewrite the result in y = mx + b. Khan Academy and Math LibreTexts both describe this two-step order: slope first, intercept second, so the chosen point does not have to sit on the y-axis.

Worked Examples: Identifying and Describing Lines

First compare L₁: y = 2x + 1 and L₂: y = 2x − 3. Both have slope 2, but their y-intercepts are 1 and -3, so the lines are parallel. They never meet in the coordinate plane.
Next compare L₁: y = 2x + 1 with L₃: y = −1/2 x + 3. The slopes are 2 and -1/2; their product is 2 × (−1/2) = −1, so the nonvertical lines are perpendicular. The crossing angle should be checked as a right angle on a sketch or grid.
For equation writing, use slope 1 through point (2, 3). Substitute into 3 = 1(2) + b, which gives b = 1; the equation is y = x + 1. For two points (0, 1) and (2, 5), the slope is (5 − 1)/(2 − 0) = 2; using (0, 1) gives b = 1, so the line is y = 2x + 1. Segments are the bounded sides used inside polygons; the geometric shapes guide describes those figures, while this page stays with straight lines and their coordinate equations.
Coordinate grid sketch: two sky-blue parallel lines kept at constant spacing; one pink-red line crosses both at right angles with sunny-yellow right-angle squares; short charcoal labels Parallel and Perpendicular; no equations or equal-sized cards.

Common Errors When Naming or Graphing Lines

Most line errors come from mixing the drawing rule with the coordinate rule before both are clear. Check these slips one at a time.
  • Wrong endpoints or arrows. A line needs arrows on both ends, a segment needs two endpoints and no arrows, and a ray needs one endpoint and one arrow. Drawing a closed end on a line changes the figure into a segment.
  • Treating a segment as infinite. A segment stops at both endpoints, so its length can be measured; do not add arrows to both sides when the bounded stretch is what defines the figure.
  • Reversing zero and undefined slope. A horizontal line y = b has slope 0; a vertical line x = a has undefined slope. Swapping those labels produces a wrong parallel or perpendicular check.
  • Ignoring intercepts when judging parallelism. Equal slopes do not settle parallelism by themselves; compare the intercepts. Different intercepts make the nonvertical pair parallel, while the same intercept means the pair is coincident.
  • Forgetting the reciprocal condition for perpendicular lines. For nonvertical lines, the second slope must be the negative reciprocal, not merely a different number. The product check m₁ · m₂ = −1 catches sign or reciprocal mistakes before the graph is drawn.
  • Applying the product rule to horizontal or vertical pairs. Those special pairs are perpendicular because one is horizontal and the other vertical; the undefined slope cannot be multiplied into -1.
Open hand-drawn sheet split into two non-card zones: the left zone pairs a rising line with its Slope label and intercept point under one sunny-yellow check mark; the right groups four rejected sketches under one pink-red X—a two-endpoint line with both arrows labeled Ends, a horizontal line labeled Undefined, a vertical line labeled Zero, and two oblique lines labeled Reciprocal; open layout, minimal arrows, no rounded boxes.

How to Practice Lines in Geometry

Begin by naming the object from its endpoints and arrows: line, segment, or ray. Next, inspect a pair of drawn lines to decide whether they are parallel, perpendicular, intersecting, or coincident. Then calculate slopes from two points, read m and b from y = mx + b, and solve for an intercept when only one point and the slope are given. Return to the mistake checklist whenever a graph disagrees with the equation.

Learn Geometry with Gauth

The existing Geometry course covers points, lines, and segments in Unit 1, parallel and perpendicular line relationships in Unit 5, and slope, equations, and parallel/perpendicular slope relationships in Unit 6. You can also create a focused interactive course for this topic and grade level, starting with line identification and moving to coordinate equations.

Sources and Review

  • Wolfram MathWorld, Line, accessed 2026-10-26: one-dimensional definition, two-point determination, same-plane parallelism, and line equation forms recorded for scope planning.
  • Math LibreTexts, 3.3 Slope of a Line, accessed 2026-10-26: rise over run, horizontal and vertical slope cases, nonvertical parallel equality, vertical parallel exception, nonvertical perpendicular product -1, and horizontal-vertical perpendicular pair.

Related