SOLUTION: Please help write an equation for this: x -2 -1 0 1 2 f(x) -5 -2 1 4 7 Thanks.

Algebra ->  Linear-equations -> SOLUTION: Please help write an equation for this: x -2 -1 0 1 2 f(x) -5 -2 1 4 7 Thanks.      Log On


   



Question 65041: Please help write an equation for this:
x -2 -1 0 1 2
f(x) -5 -2 1 4 7
Thanks.

Answer by funmath(2933) About Me  (Show Source):
You can put this solution on YOUR website!
Please help write an equation for this:
x -2 -1 0 1 2
f(x) -5 -2 1 4 7
If you were to plot these points and connect them, you'd see you have a line. In order to write the equation of a line, you need a point and a slope. You have plenty of points, but no slope. The slope formula in function notation is:
highlight%28m=%28f%28x2%29-f%28x1%29%29%2F%28x2-x1%29%29
Choose any two points you want:
(x1,f(x1))=(1,4) and (x2,f(x2))=(0,1)
m=%281-4%29%2F%280-1%29
m=-3%2F-1
m=3
Now that you have a slope, m=3 and the y-intercept (0,b)=(0,1), you can plug them into the slope intercept form of a line and have the equation you're looking for.
highlight%28y=mx%2Bb%29, m=slope and (0,b)=y-intercept
Your m=3 and b=1
highlight%28y=3x%2B1%29
Happy Calculating!!!