How do you write #g(x) = |2 + x| - 1# into piecewise functions?

1 Answer
Jul 23, 2016

#g=x+1, x<=-2 and g=-x-3, x<=-2#.
These represent the right-angled pair of straight lines through (-2. -1) that is bisected by x = -2.

Explanation:

#g(x)+|h(x)+c# is the combined equation for the pair

#g(x)=h(x), h(x)>=0# and

#g(x)=-h(x), h(x)<=0#

Accordingly, here,

#g=x+1, x<=-2 and g=-x-3, x<=-2#.

These represent the right-angled pair of straight lines through

# (x, g)=(-2. -1)# that is bisected by #x = -2#..