# What is the equation of the line between #(-9,6)# and #(5,2)#?

##### 1 Answer

y = mx + b Calculate the slope, m, from the given point values, solve for b by using one of the point values, and check your solution using the other point values.

#### Explanation:

A line can be thought of as the ratio of the change between horizontal (x) and vertical (y) positions. Thus, for any two points defined by Cartesian (planar) coordinates such as those given in this problem, you simply set up the two changes (differences) and then make the ratio to obtain the slope, m.

Vertical difference “y” = y2 – y1 = 2 – 6 = -4

Horizontal difference “x” = x2 – x1 = 5 – -9 = 14

Ratio = “rise over run”, or vertical over horizontal = -4/14 = -2/7 for the slope, m.

A line has the general form of y = mx + b, or vertical position is the product of the slope and horizontal position, x, plus the point where the line crosses (intercepts) the x-axis (the line where z is always zero.) So, once you have calculated the slope you can put any of the two points known into the equation, leaving us with only the intercept 'b' unknown.

6 = (-2/7)(-9) + b ; 6 = 18/7 + b ; 42/7 – 18/7 = b ; 24/7 = b

Thus the final equation is y = -(2/7)x + 24/7

We then check this by substituting the other known point into the equation:

2 = (-2/7)(5) + 24/7 ; 2 = -10/7 + 24/7 ; 2 = 14/7 ; 2 = 2 CORRECT!