inequality with a piecewise function
When I use inequalities with piecewise functions, I get some unexpected results.
For instance here:
I have two piecewise-defined functions that are very similar (the only difference is that the two pieces are swapped).
But when I use an inequality statement, only one of the two piecewise-defined functions can be used to shade an area. Why doesn't that work with the other inequality?
Also, if a nested if statement for a piecewise-defined function can be used to shade an area with an inequality, it seems that an equivalent if statement that isn't nested can't be used in the same fashion to obtain a shaded area.
greetings and thanks in advance for any feedback on this issue, Niek