What are the values of the function when x<0 and when x≥0?
See solution.
Practice makes perfect
Let's consider a function that is defined for all values of x. We can write one equation that represents the values of the function when x<0 and another equation that represents the values of the function when x≥ 0. Then we can combine these equations to write a single description of the function. This is called a piecewise function.