70.1k views
4 votes
Hello I need help taking to coordinates and the slope of them and putting them into y=mx+b.

User Arasa
by
6.2k points

1 Answer

7 votes

ANSWER:


\begin{gathered} m=(y_2-y_1)/(x_2-x_1) \\ b=y_1-m\cdot x_1 \end{gathered}

Explanation:

To calculate the slope of a line, we must have two coordinates or two points that cross this line.

The points would be:


\begin{gathered} A(x_1,y_1) \\ B(x_2,y_2) \end{gathered}

Then, we calculate the slope with the following formula:


m=(y_2-y_1)/(x_2-x_1)

Now, the value of b is calculated using the slope and a point, since point A or point B, like this:


\begin{gathered} y_1=m\cdot x_1+b \\ b=y_1-m\cdot x_1 \end{gathered}

User Jorge Luis
by
5.9k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.