5
$\begingroup$

enter image description here

I graphed this function below. I want to make sure I am graphing piecewise functions such as this one correctly.

enter image description here

$\endgroup$
3
  • 4
    $\begingroup$ yes. it is correct. $\endgroup$ Jan 13, 2015 at 20:15
  • $\begingroup$ i wonder why did someone downvote this... perfectly reasonable to ask a question with own solution posted... $\endgroup$
    – gt6989b
    Jan 13, 2015 at 20:16
  • 4
    $\begingroup$ Your graph is fine. You can also omit the circles (excluding / including point) at $x=1$ since the function is continuous there. $\endgroup$
    – kremerd
    Jan 13, 2015 at 20:28

1 Answer 1

1
$\begingroup$

If you want to check your functions yourself, try wolfram-alpha

It is quite not pretty to plot a piecewise function there, but it is possible.

$$f(x)=Piecewise[{{x +2 ,x <= -2 }, {x^2, -2<x<1 }, {-x+2, x>= 1}}]$$

Unfortunately the circles are missing, but you already drew them right.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.