Graph the function f(x)={x+1ifx<0}
Real equation |
v
on the coordinate plane.

Answer: The graph is shown below
====================================================
Explanation:
This piecewise function
[tex]f(x) = \begin{cases}x+1 \ \ \text{ if } x < 0\\2 \ \ \ \ \ \ \ \text{ if } 0 \le x \le 1\\x \ \ \ \ \ \ \ \text{ if } x > 1\\\end{cases}[/tex]
is the same as saying...
All three of those statements combine to form the piecewise function.
In other words, f(x) has a split personality. It depends on what x is that will determine what f(x) is. To graph this, we graph the pieces of y = x+1, y = 2 and y = x based on the restrictions for x above.
The graph is shown below. Note the use of open holes vs closed circle endpoints (indicating which points are not part of the graph vs those that are). The closed endpoints happen when the inequality sign has a "or equal to" as part of it; otherwise, we'll have an open endpoint.