SOLUTION: Hi, I am trying to find the function rule for the following table: x: 2, 4, 6 y: 1, 0, -1. I know that it is x+2 and that the y's are decreasing by 1 each time, but I'm having a

Algebra ->  Rational-functions -> SOLUTION: Hi, I am trying to find the function rule for the following table: x: 2, 4, 6 y: 1, 0, -1. I know that it is x+2 and that the y's are decreasing by 1 each time, but I'm having a       Log On


   



Question 873332: Hi, I am trying to find the function rule for the following table: x: 2, 4, 6 y: 1, 0, -1. I know that it is x+2 and that the y's are decreasing by 1 each time, but I'm having a hard time finding a function rule that works for each x, y pair.
Found 3 solutions by josgarithmetic, richwmiller, rothauserc:
Answer by josgarithmetic(39618) About Me  (Show Source):
You can put this solution on YOUR website!
The slope looks like -1/2, and the x-intercept is 4. Use any form of linear equation that you want to determine corresponding constant value.

USING SLOPE-INTERCEPT FORM
y=mx%2Bb
b=y-mx
b=0-%28-1%2F2%294
b=%2B2
Equation: highlight%28y=-%281%2F2%29x%2B2%29, which is not showing exactly "x+2".

USING POINT-SLOPE FORM
Any of the given points will work, but x-intercept will be convenient;
y-0=-%281%2F2%29%28x-4%29
highlight%28y=-x%2F2%2B2%29, which is equivalent to the other equation found.

Answer by richwmiller(17219) About Me  (Show Source):
You can put this solution on YOUR website!
you have three points
(2,1)
(4,0)
(6,-1)
you have already mentioned the rise -1 (change in y) and the run +2 (change in x)
rise over run = slope
so the slope is -1/2
y=-1/2x+b
0=-1/2*4+b
0=-2+b
b=2
y=-1/2x+2

Answer by rothauserc(4718) About Me  (Show Source):
You can put this solution on YOUR website!
This a line and note that the standard form for a line is y = mx + b, where m is the slope and b is the y intercept
m = (Y2 - Y1) / (x2 - X1) = (0 - 1) / (4 - 2) = -1/2
so far we have
y = -x/2 + b
let's use the point (4, 0)
0 = -4/2 + b
b = 2
our function is
f(x) = -x/2 + 2