Slope-intercept form of the line through (3,3)\left(-3, 3\right) and (18,26)\left(18, 26\right)

The calculator will find the slope-intercept form of the line that passes through the points (3,3)\left(-3, 3\right) and (18,26)\left(18, 26\right), with steps shown.

Related calculator: Slope-Intercept Form Calculator with Two Points

Solution

The slope of a line passing through two points P=(x1,y1)P = \left(x_{1}, y_{1}\right) and Q=(x2,y2)Q = \left(x_{2}, y_{2}\right) is given by m=y2y1x2x1m = \frac{y_{2} - y_{1}}{x_{2} - x_{1}}.

We have that x1=3x_{1} = -3, y1=3y_{1} = 3, x2=18x_{2} = 18, and y2=26y_{2} = 26.

Plug the given values into the formula for a slope: m=26318(3)=2321m = \frac{26 - 3}{18 - \left(-3\right)} = \frac{23}{21}.

Now, the y-intercept is b=y1mx1b = y_{1} - m x_{1} (or b=y2mx2b = y_{2} - m x_{2}, the result is the same):

b=3(2321)(3)=447b = 3 - \left(\frac{23}{21}\right)\cdot \left(-3\right) = \frac{44}{7}

Finally, the equation of the line can be written in the form y=b+mxy = b + m x:

y=23x21+447y = \frac{23 x}{21} + \frac{44}{7}

Answer

The slope of the line is m=23211.095238095238095m = \frac{23}{21}\approx 1.095238095238095A.

The y-intercept is (0,447)(0,6.285714285714286)\left(0, \frac{44}{7}\right)\approx \left(0, 6.285714285714286\right)A.

The x-intercept is (13223,0)(5.739130434782609,0)\left(- \frac{132}{23}, 0\right)\approx \left(-5.739130434782609, 0\right)A.

The equation of the line in the slope-intercept form is y=23x21+4471.095238095238095x+6.285714285714286y = \frac{23 x}{21} + \frac{44}{7}\approx 1.095238095238095 x + 6.285714285714286A.