Length of the line segment is 5 units.
Explanation:
- Step 1: Length of the line segment that connects A and B is the distance between the points A (1, -1) and B(1, 4). x1 = 1, x2 = 1, y1 = -1, y2 = 4
- Step 2: Calculate the distance using distance formula √(x2 - x1)² + (y2 - y1)²
⇒ Length = √(1 - 1)² + (4 - -1)² = √5² = 5 units