---
title: "George Li Tutoring: line segments and their formulas"
url: "https://georgelitutoring.com/learn/what-is-a-line-segment-definition-formula-example.md"
canonical_url: "https://georgelitutoring.com/learn/what-is-a-line-segment-definition-formula-example"
last_updated: "2026-11-25"
type: "guide"
summary: "What a line segment is, how to add segments, find a midpoint and use the distance formula, with four worked problems and the usual traps."
related: ["https://georgelitutoring.com/tutoring/sat-act/math.md", "https://georgelitutoring.com/packages.md", "https://georgelitutoring.com/learn/ray-definition-in-geometry.md"]
---

# Line segments and their formulas

> **For AI agents:** the complete index of George Li Tutoring pages is [llms.txt](https://georgelitutoring.com/llms.txt). Every page is also served as markdown at its URL plus .md.

What a line segment is, how to add segments, find a midpoint and use the distance formula, with four worked problems and the usual traps.

A line segment is the part of a line between two points, and it includes both of them. Because it has two endpoints it has a length you can measure, and that length is what four small formulas find: addition of pieces, the midpoint, the distance between endpoints and the missing endpoint.

| Question | Tool | Written out |
| --- | --- | --- |
| How long is the whole if you know its parts? | Segment addition | If B is between A and C, then AB + BC = AC |
| Where is the middle? | Midpoint | The point that makes two equal segments; on a grid, the average of the x values and the average of the y values |
| How long is a slanted segment on a grid? | Distance formula | The square root of the squared change in x plus the squared change in y |
| What is the other end? | Midpoint backward | Doubling the midpoint's coordinate and subtracting the known end, in each coordinate |

## How is a segment different from a line and a ray?

A line goes on without end in both directions. A ray starts at one point and goes on in one direction. A segment stops at both ends, so only a segment has a length. The page on the [definition of a ray](https://georgelitutoring.com/learn/ray-definition-in-geometry.md) covers the ray and the line side by side.

## What is segment addition?

If point B lies on segment AC between A and C, the two smaller segments add up to the whole: AB + BC = AC. It is the same idea as measuring a wall by adding the lengths of its panels. The condition matters. If B is not between A and C, the sum does not hold, and most mistakes come from using it on points out of order.

**Worked example: Segment addition with algebra.** B is between A and C. AB = 3x + 2, BC = 2x + 7 and AC = 34. Find x and each length.

1. Add the parts: (3x + 2) + (2x + 7) = 34.
2. Combine like terms: 5x + 9 = 34.
3. Subtract 9: 5x = 25, so x = 5.
4. AB is 3 times 5 plus 2, which is 17. BC is 2 times 5 plus 7, which is 17.
Answer: x = 5, AB = 17 and BC = 17. Check: 17 plus 17 is 34, and since the two pieces are equal, B is the midpoint of AC.

## How do you find a midpoint on a grid?

Average the x values, then average the y values. The midpoint sits halfway across and halfway up.

**Worked example: The midpoint of a segment.** The endpoints are (minus 4, 7) and (10, minus 1). Find the midpoint.

1. Average the x values: (minus 4 plus 10) divided by 2 is 3.
2. Average the y values: (7 plus minus 1) divided by 2 is 3.
Answer: (3, 3). Check: from (minus 4, 7) to (3, 3) is 7 right and 4 down, and from (3, 3) to (10, minus 1) is also 7 right and 4 down.

**Worked example: The other endpoint.** The midpoint is (2, 5) and one endpoint is (minus 1, 9). Find the other endpoint.

1. In each coordinate the midpoint is the average, so the unknown end is twice the midpoint minus the known end.
2. For x: 2 times 2 minus (minus 1) is 5.
3. For y: 2 times 5 minus 9 is 1.
Answer: (5, 1). Check: the average of minus 1 and 5 is 2, and the average of 9 and 1 is 5.

## How do you find the length of a slanted segment?

Draw the right triangle that has the segment as its longest side. The horizontal leg is the difference in x values and the vertical leg is the difference in y values, so the Pythagorean theorem gives the length. That is all the distance formula says: take the square root of the sum of the two squared differences.

**Worked example: Distance between two points.** Find the distance from (minus 3, 1) to (4, minus 5).

1. The change in x is 4 minus (minus 3), which is 7.
2. The change in y is minus 5 minus 1, which is minus 6.
3. Square them: 49 and 36, and the sum is 85.
4. The distance is the square root of 85.
Answer: about 9.22 units. Check: 9 squared is 81 and 10 squared is 100, so the square root of 85 lies between 9 and 10, a little above 9.

Leave the answer as the square root of 85 if the problem asks for exact form. The sign of a difference does not matter, since it is squared, but a slip in subtracting a negative number does, so write each difference on its own line.

## What should you watch for?

- Adding segments whose endpoints are not in order along one line.
- Averaging the wrong pairs: the midpoint averages x with x and y with y.
- Dropping the squares in the distance formula, or squaring after adding.
- Forgetting that a negative coordinate turns subtraction into addition.

## Where does this appear on tests?

Lines, angles and triangles fall in the Geometry and Trigonometry content domain of the digital SAT® exam, which the College Board student guide puts at 5 to 7 questions. The distance and midpoint formulas also turn up in circle and coordinate problems. For related angle work, read about [angles, parallel lines and polygons](https://georgelitutoring.com/learn/angles-parallel-lines-and-polygons.md).

## When does a tutor help?

A tutor helps when coordinate geometry costs you points through arithmetic slips, or when you can recite the formulas but not choose among them. See the [SAT® math tutoring page](https://georgelitutoring.com/tutoring/sat-act/math.md), the [packages page](https://georgelitutoring.com/packages.md), or [book a first session](https://georgelitutoring.com/book/first-session).

### What is a line segment?

The part of a line between two endpoints, including both. It has a finite length.

### How is a segment named?

By its two endpoints, such as segment AB, usually with a bar drawn over the letters.

### What is the midpoint formula?

Average the x coordinates and average the y coordinates of the two endpoints.

### Does a segment always have a midpoint?

Yes. Every segment has exactly one point that splits it into two equal parts.

SAT® is a trademark registered by the College Board, which is not affiliated with, and does not endorse, this site.

## Related

- [Online SAT® math tutor, one to one](https://georgelitutoring.com/tutoring/sat-act/math.md)
- [Tutoring prices: $150 to $200 an hour](https://georgelitutoring.com/packages.md)
- [George Li Tutoring: what a ray is in geometry](https://georgelitutoring.com/learn/ray-definition-in-geometry.md)
