24.3k views
2 votes
X 0 1 | 2 3 4 y -2 8 18 28 38

X 0 1 | 2 3 4 y -2 8 18 28 38-example-1

1 Answer

3 votes

The equation of a line in its slope intercept form is given by:


y=mx+b

where m is the slope and b is the y-intercept.

We know that the y-intercept is the value of y when x=0, hence from the table we have that b=-2.

To find the slope we use the formula:


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

Plugging the first two points on the table we have:


\begin{gathered} m=(8-(-2))/(1-0) \\ m=(8+2)/(1) \\ m=(10)/(1) \\ m=10 \end{gathered}

Once we know the slope and y-intercept we plug them in the equation above, therefore the equation we are looking for is:


y=10x-2

User Mentinet
by
4.1k points