|
the_hill1962
Advanced Member
USA
1439 Posts |
Posted - 08/11/2012 : 10:18:53
|
You have the correct functions f(x)=-x+2 and f(x)=x-2 but you have the bounds wrong. The -x+2 should be for x 2 and the x-2 should be for x 2 Notice that x=2 gives both f(x) functions a value of zero so that is why both have "or equal to". Probably a better way to state it would be f(x) = -x+2 for x>2 x-2 for x<2 0 for x=2 Now, I can't explain it the way you were doing it. The way I did it is just graph f(x)=-abs(x-2) and saw that at x<2, f(x)=x-2. At x>2, f(x)=-x+2. At x=2, f(x)=0 |
 |
|