Answer:
![y = 2x - 5](https://img.qammunity.org/2023/formulas/mathematics/college/ysex273a4i72t77wvgz5i2suegxm249tdk.png)
Explanation:
The first step in finding the equation of a line from a given set of points is to find its slope. The slope of a line is defined by the formula:
![m = \frac{\textrm{rise}}{\textrm{run}} = (y_2 - y_1)/(x_2 - x_1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/pa63yvoxo9fk6k35tphqrtodvybx2tak3k.png)
In this problem, we are given two points in the form
and
.
So, we can define the x's and y's as:
,
,
,
.
Hence, the slope of the line can be solved for.
![m = (-3 - 1)/(1 - 3)](https://img.qammunity.org/2023/formulas/mathematics/high-school/lkrx49w5panskisc0ebnn4ovq13rfp9f2k.png)
![m=(-4)/(-2)](https://img.qammunity.org/2023/formulas/mathematics/high-school/wff4dxoliey60vwofwninl717k274eayv8.png)
![m = 2](https://img.qammunity.org/2023/formulas/mathematics/high-school/wzpsr3ss0cbi1qmobkwu6gts71jnl6nzia.png)
So, the slope of the line is 2.
Now, we can plug this into the point-slope equation for a line where (a, b) is a point on the line and m is its slope.
![y - b = m(x - a)](https://img.qammunity.org/2023/formulas/mathematics/high-school/47owwzmtsdpj2q06yvhixaepfa56x75j6c.png)
I will use the point (3, 1):
![y - 1 = 2(x - 3)](https://img.qammunity.org/2023/formulas/mathematics/high-school/2h330av3440rzl8u965rtjj4y17s9j01cw.png)
and isolate y to put it into slope-intercept form.
![y - 1 = 2x - 6](https://img.qammunity.org/2023/formulas/mathematics/high-school/n2yjo1715bhjjzcy9ypbx96efigkwkp4za.png)
![y = 2x - 6 + 1](https://img.qammunity.org/2023/formulas/mathematics/high-school/8dmucaoqzw3ia91jshay4b3pvy9le7r0id.png)
![y = 2x - 5](https://img.qammunity.org/2023/formulas/mathematics/college/ysex273a4i72t77wvgz5i2suegxm249tdk.png)
So, the equation in slope-intercept form for the line that goes through the points (3, 1) and (1, -3) is
.