Question 1085679: For the piecewise function, find the values g(−2), g(1), and g(3).
g(x)={x+7, for x,<=1
5-x, for x>1
g(-2)
g(1)
g(3)
Answer by jim_thompson5910(35256) (Show Source):
You can put this solution on YOUR website! The given piecewise function effectively breaks down into this:
When x <= 1, g(x) = x+7
When x > 1, g(x) = 5-x
The g(x) function depends on what the input x is. If x is 1 or smaller, then go with x+7. If x is larger than 1, then go for 5-x.
---------------------------------------------------------------------
Since x = -2 makes x <= 1 true, this means we'll use g(x) = x+7
g(x) = x+7
g(-2) = -2+7
g(-2) = 5
---------------------------------------------------------------------
Similarly, x = 1 makes x <= 1 true so we'll use g(x) = x+7 again
g(x) = x+7
g(1) = 1+7
g(1) = 8
---------------------------------------------------------------------
x = 3 makes x > 1 true, meaning we'll go with the second piece. So now g(x) = 5-x
g(x) = 5-x
g(3) = 5-3
g(3) = 2
|
|
|