# math-calculus

posted by
**Shreya**
.

write the following absolute value functions as piecewise functions.

i really not get how to do this

f(x) = |x|

i think im supposed to state as positive and negative but i not even know what that x means. i only guessing and saying that for positive it be a positive x and for negative it be a negative x.

this one is harder

g(x) = |x+1|

is this part of formula y = a|x-p|+1 so that mean that x+1 is negative horizontal translation and we need to make it positive going |x-1|

and for negative it be |x+1|