I know how to add or subtract two inequalities. But I cannot find in anywhere how to add or subtract two compound inequalities. This problem is one of the example :
If $0 < x \leq 2$, and $y \geq 2$, determine $y-x$ and $x+y$.
This is my first time using stack exchange and I don't know how to use MathJax formatting. I appreciate your help so much.
Adding inequalities is fairly straightforward, so you can reason through a problem like this is this way: We have $0<x\le 2$, and we have $2\le y<\infty$. Therefore, $0+2<x+y<2+\infty$, which simplifies to: $2<x+y<\infty$.
To work with $y-x$, think of it as $y+(-x)$. We can find the inequalities for $-x$ by multiplying the inequalities for $x$ by $-1$: $-2\le -x<0$. This time, when we add, the left sides of both compound inequalities have $\le$ instead of $<$, so their sum does, as well: $2+(-2)\le y-x <0+\infty$.
Does that make sense?