What is the slope of the line?

Coordinate grid showing both the x- and y-axes from negative 5 to 5 and a line graphed connecting the points left-parenthesis 1 comma 5 right-parenthesis and left-parenthesis 1 comma negative 5 right-parenthesis.
(1 point)

A) 0

B) 1

C)–4

D) undefined

1 answer

The slope of a line can be calculated using the formula:

slope = (change in y-coordinates)/(change in x-coordinates)

In this case, the two points given are (1, 5) and (1, -5).

Since the x-coordinate of both points is the same, the change in x-coordinates is 0.

The change in y-coordinates is -5 - 5 = -10.

Therefore, the slope of the line is:

slope = (-10)/(0)

Since the denominator is 0, the slope is undefined.

So, the correct answer is:

D) undefined