Originally Posted by
Jhevon as i said, this is not sure to get you the answer with things like this, i just lucked out. it is better to think of things this way before i went into the real mathematical process, which can get complicated computation-wise.
i looked at the 0's first. in the first problem, 0 --> 4. so i assume y = (some manipulation of x) + 4.
so then i subtracted 4 from all the other y-values, and tried to figure out what i would do to x to get them. i thought about multiplying by a negative number to make it positive, since all the negative numbers went to positive, but it did not work for all. so then i thought of squaring. and it worked!
same for the second. i saw 0 --> -1, so i thought y = f(x) - 1. after playing around a bit, 4x was the obvious choice
sorry i can't explain more, but i'm in a rush...