74.5k views
1 vote
Graph the piecewise-defined function. f(x)=(-2-x if x<=1),(-2+2x if x>1):

User Wayneh
by
8.2k points

1 Answer

4 votes

The graph of the piecewise function is attached

How to determine the graph of the piecewise function

From the question, we have the following parameters that can be used in our computation:

The function

Where, we have

f(x) = 2 - x if x ≤ 1

-2 + 2x if x > 1

Using the above as a guide, we have the following:

We plot

f(x) = 2 - x in the domain x ≤ 1

f(x) = -2 + 2x in the domain x > 1

So, we plot the graph of the function

The graph of the function is attached

Graph the piecewise-defined function. f(x)=(-2-x if x<=1),(-2+2x if x>1):-example-1
User Wasabi
by
7.8k points