Line segments and their formulas
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.
For students and parents planning test prep or coursework: one hour with George Li, one to one by video, is $180, $200 or $160, by subject. You leave with a written plan within one working day.
Book your first session| 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 |
Segment AB means the part of a line from A to B. AB with no symbol also stands for its length in most problems, so read the sentence to see which is meant.
Standard plane and coordinate geometry, restated by us
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 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.
- Add the parts: (3x + 2) + (2x + 7) = 34.
- Combine like terms: 5x + 9 = 34.
- Subtract 9: 5x = 25, so x = 5.
- 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.
- Average the x values: (minus 4 plus 10) divided by 2 is 3.
- 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.
- In each coordinate the midpoint is the average, so the unknown end is twice the midpoint minus the known end.
- For x: 2 times 2 minus (minus 1) is 5.
- 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).
- The change in x is 4 minus (minus 3), which is 7.
- The change in y is minus 5 minus 1, which is minus 6.
- Square them: 49 and 36, and the sum is 85.
- 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.
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, the packages page, or book a first session.
Common questions
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.