# What Is A Line Segment

Line segment is a part of line.

This tutorial will teach you line segment definition geometry.

Line segment is the length of a portion of line.

It is easy to learn.

## Line Segment

A line segment, having two distinct end points, is a definite part of a line containing all the points between the endpoints.

Let's go to discuss the line segment definition geometry explicitly.

A line is shown in the figure above that doesn't have any endpoints.

#### Content References

AB is the line segment.

Let A and B be the two distinct points on the line.

Cut the portion AB and isolate that is shown in the following figure.

That is the line segment AB.

A and B are two endpoints of line segment AB. And it also contains all the points between A and B.

### Line Segment Example

```
```

Line segment definition geometry discusses several types of line segment.

### Type of Line Segment

- Closed line segment
- Open line segment
- Half-Open line segment

### Closed Line Segment

A line segment is said to be a closed line segment if it contains both endpoints.

A line segment AB is shown in the figure.

A and B are two endpoints. The line segment AB contains all the points on AB including A and B.

Thus AB is a closed line segment.

It is denoted by [A,B]

### Open Line Segment

A line segment is said to be open if it contains all the point on the line segment except both endpoints.

A line line segment AB is shown in the figure.

A and B are two endpoints. The line segment AB contains all the points on AB excluding both A and B.

Thus AB is a open line segment.

It is denoted by (A,B)

### Half-Open Line Segment

A line segment is said to be half-open if it contains only one of the endpoints.

Line segment definition geometry includes two types of half-open line segment.

A line segment is shown in the followong figure.

This line segment contains all the points including end point B and excluding endpoint A.

That is; it contains only one of the endpoints.

Hence, it is a half-open line segment.

It is denoted by (A,B].

Again, a line segment is shown in the followong figure.

This line segment contains all the points including end point A and excluding endpoint B.

That is; it contains only one of the endpoints.

Hence, it is also a half-open line segment.

And it is denoted by [A,B).

Last revised this page (day/month/year): 13/12/17