To find the slope of the line AB, we can use the formula:
Slope (m) = (y2 – y1) / (x2 – x1)
In this case, we have the points A(0, 1) and B(1, 5). Here, (x1, y1) is (0, 1) and (x2, y2) is (1, 5).
Now plug in the coordinates:
- y2 = 5
- y1 = 1
- x2 = 1
- x1 = 0
So the slope becomes:
Slope (m) = (5 – 1) / (1 – 0) = 4 / 1 = 4
Therefore, the slope of line AB is 4.