# How do you write #y=3abs(x-1)+2# as a piecewise function?

##### 1 Answer

Oct 8, 2017

#### Answer:

y = {

{

#### Explanation:

First, solve for

So

Now, you separate it into 2 different equations:

(both the equations are supposed to be in one "{" but I can't type that out properly)

So now you just simplify the equations:

The 1st one becomes:

The 2nd one becomes:

So the final answer as a piecewise function is:

y = {

{