26.5k views
2 votes
Write a linear function that relates y to x for the graph.a)y=4x-2b)y=2x+2c)y=2x-2d)-2x-2

Write a linear function that relates y to x for the graph.a)y=4x-2b)y=2x+2c)y=2x-2d-example-1

1 Answer

3 votes

To find the linear equation that represents that line, we can calculate the slope first, the slope is given by the expression:


\begin{gathered} m=(y_2-y_1)/(x_2-x_1) \\ m=(2-(-2))/(2-0)=(4)/(2)=(1)/(2) \end{gathered}

Now, since a slope-intercept form of a line is:

y=mx+b

We can use the slope, and one of the points to find b:


\begin{gathered} -2=(1)/(2)(0)+b \\ -2=b \end{gathered}

Then, the linear equation is:


y=(1)/(2)x-2

User Miholeus
by
4.2k points