Final answer:
The equation of the line passing through (2, -1) and (4, 5) is y = 3x - 7.
Step-by-step explanation:
To find the equation of the line that passes through the points (2, -1) and (4, 5), we can use the slope-intercept form of a linear equation, which is y = mx + b, where m is the slope and b is the y-intercept.
- First, find the slope (m) using the formula: m = (y2 - y1) / (x2 - x1). Substituting the values, we get m = (5 - (-1)) / (4 - 2) = 6 / 2 = 3.
- Next, choose one of the given points (2, -1) and substitute the values of x, y, and m into the slope-intercept form. We get -1 = 3(2) + b. Solving for b, we find b = -7.
- Finally, substitute the values of m and b into the equation y = mx + b. The equation of the line is therefore y = 3x - 7.