212k views
1 vote
I have somewhat of an idea on how to do this but I'm not 100% sure

I have somewhat of an idea on how to do this but I'm not 100% sure-example-1
User Dan Hoerst
by
5.1k points

1 Answer

2 votes

Check out the attached below to see the final graph.

We have 3 pieces that make up the piecewise function.

First up is f(x) = x when x <= -2, meaning that we only graph y = x when x is -2 or smaller. This part is shown in red in the graph below. There is a closed circle at the endpoint due to the "or equal to" as part of the inequality. The "Less than" means we draw the left portion or everything to the left of x = -2.

The next piece is f(x) = x^2-2 and it's only graphed if -2 < x < 0. So if x is between -2 and 0, not including either endpoint, then we graph out y = x^2-2, otherwise we don't graph it. The blue curve is the second piece. The endpoints of the blue curve are open circles. We don't include these points as part of the function.

Finally, we have the purple piece on the graph which is y = (1/2)x-2 when x >= 0. If x is 0 or larger, then we graph y = (1/2)x-2. This piece connects with the endpoint of the blue piece to cover up or fill in the second open hole.

So the final result is what you see below in the attached image.

I have somewhat of an idea on how to do this but I'm not 100% sure-example-1
User Michael Zlatkovsky
by
5.9k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.