posted by Megan on .
The problem is:
Rewrite f(x) = abs(x-2) + [2 * abs(x+5)]
I don't even know where to start.
I don't really see a benefit in rewriting it, since it compactly says what the function is in one statement, but you could also write it this way:
When x>2, f(x) = x - 2 +2x +10 = 3x + 8
When -5<x<2, f(x) = 2-x+2x +10 = x + 12
When -5>x, f(x) = 2-x -2x -10 = -3x -8
The function is continuous, but its slope is not