# How do you graph #y = -2|x-4|+4#?

##### 1 Answer

#### Answer:

Try getting rid of the absolute value operator by rewriting it as a piecewise function.

graph{-2abs(x-4)+4 [-10, 10, -5, 5]}

#### Explanation:

The inner function of the absolute value operator has a single zero at

Note that you'll need to reverse the sign of the inner function when removing the absolute value operator in case the expression inside the absolute value yields a negative value.

Plotting the two functions on their respective range gives:

Combining the two rays will give the final v-shaped curve.

graph{-2abs(x-4)+4 [-4, 16, -5, 5]}