y = x - 4
Step-by-step explanation:
To find the equation you need the slope and to find the slope you need two points. Â Let's use the x and y intercept, or in other words when x=0 and when y = 0.
The two points are (0, -4) and (4,0) Â let me know if you don't understand how I found those.
Now, the slope is taking the difference of the two y values and dividing that by the the difference of the x values. Â You use the formula (y2 - y1)/(x2-x1) where the points (x1, y1) and (x2, y2) represent the two points. Â Make sure you keep the coordinates in the right order. Â so whichever you choose to be (x1, y1) Â needs to have the x and y value on the right side of the minus signs.
I am going to choose (x1, y1) = (0, -4) and (x2, y2) = (4,0), you could do the opposite though.
(y2 - y1)/(x2-x1)
(0 - -4)/(4 - 0)
(0 + 4)/(4-0)
4/4
1
so the slope is 1, the slope is labeled m in an equation.
Now, to get the function you use the equation (y-y1) = m(x-x1). Â You can use any point in this one for (x1,y1), to show this I am going to use what I used as (x2, y2) in the last step, so (4,0)
(y-y1) = m(x-x1)
y-0 = 1(x-4)
y = 1x - 1*4
y = x - 4
And this is the slope intercept form