# Write an equation of the line that passes through (3, 1) and (0, 10)

Write an equation of the line that passes through (3, 1) and (0, 10)
You can still ask an expert for help

• Questions are typically answered in as fast as 30 minutes

Solve your problem for the price of one coffee

• Math expert for every subject
• Pay only if we can solve it

averes8

When we are given two points and we have to write the equation that passes through the two points, we can first find the slope. Let's say (3,1) is $\left({x}_{1},{y}_{1}\right)$ and (0,10) is $\left({x}_{2},{y}_{2}\right)$. Using two points, we can use find the slope with the following formula.
$\frac{\left(y2-y1\right)}{\left(x2-x1\right)}$
Replace these variables with the values.
$\frac{\left(10-1\right)}{\left(0-3\right)}=-3$
-3 is the slope. Next, we have to find the y-intercept. We can plug in the values that we know using the following formula:
$y=mx+b$
$y=-3x+b$
Now we can choose one of the points, and plug in the values in the equation above. Let's use (0,10).
$10=-3\left(0\right)+b$
$b=10$
(Note: The point (0,10) is already on the y-axis, meaning that 10 is the y-intercept. We didn't need to do the step above for this specific problem.)
So the complete equation of the line that passes through the two points is:
$y=-3x+10$