The subsets of a line are the segments, the rays, and the points. Points are subsets of a line that follow the points on a graph through which line runs. Rays are part of a line which is finite in one direction, but infinite in the other. A line segment is a subset of a line with two end points. A ray is different from a line because it has a starting point or origin, and extends infinitely from there, whereas a line extends infinitely in opposite directions. Given here the Subsets of a Line Example Problems with Solutions which makes you to understand the proper subset of another set.

**Subset Definition**

A subset is a set made up of components of another set. There will be two subcategories such as line segments and rays. They are explained as follows:

**Line: **
A line is a straight one-dimensional figure which has been extended infinitely in both the directions. A line segment is a subset of a line with two distinct end points. A point is a subset of a line. The line itself is a subset of another set even though it is not a proper subset.
**Rays: **
A ray is a subset of a line with one end-point which is called as origin and extends in the other direction. It is a hybrid between a line and a line segment.

Given below two subsets of a line example problems with solutions:

**Example 1: **
Let us consider a set A = {2,5,4} and B = {2,4}
**Solution:**
Here, the elements {2,4} of set B are present in set A.
In other words, set A {2,5,4} contains all elements of set B {2,4}.
Hence, **Set B is a subset of A.**
**Example 2:**
Let us consider a set A = {g,h,z}; B = {2,3,5} ; C = {l,h,g,r,z}
**Solution:**
Here, the elements {g,h,z} of set A are present in set C.
So, we can say that **A is a subset of C.**
Finally, **A is a proper subset of C because A is not equal to C**