# How do you write #f(x) = 1 - |x - 1|# as a piecewise function?

##### 1 Answer

Jun 23, 2016

Piecewise,

#### Explanation:

#|x-1|=1-x, x in (-oo, 1] and

So,

Note that f(x) is continuous everywhere.

The graph is collar (inverted V)-like, with vertex at (1, 1).