Let y fx be the piecewise defined function given below fx
     Let y = f(x) be the piecewise defined function given below.  f(x) = {1 - x, if x  
  
  Solution
a) f(-2)
for values less than -1 , f(x) = 1 - x
==> f(-2) = 1 - (-2) = 3
b) f(1)
for the value x = 1 , f(x) = x +1
==> f(1) = 1 +1 = 2
c) f(x) = 2 for values between -1 and 1
and f(1) = 2 , f(-1) = 2
Hence f(x) = 2 for [-1 , 1]
d) Domain
function is defined for all x
==> Domain of f(x) = (- , )
Range
for any x , function value is greater than or equal to 2
==> Range of f(x) is [2 , )

