Solving for two unknowns in an inequality This is probably one of the more embarrassing moments of my life, but I will soldier on. Having not dealt with inequalities for quite some time, I was rather befuddled by a question from a friend of mine regarding solving for two variables given a pair of inequalities. The problem goes like this:
Given $x + y \lt 11$ and $x \gt 6$, what is the lower bound of $x - y$ ?
I'm fairly sure she told me the answer was $4$, but I've exhausted my bag of tricks trying to get there. If these were equalities, it would be fairly easy, of course, but would someone be so kind as to help nudge me in the right direction?
Thanks a lot in advance.
 A: Are $x$ and $y$ required to be integers? Because if they are not, then the answer cannot be $4$: take $x=6.5$ and $y=4$. Then $x+y = 10.5\lt 11$, but $x-y = 2.5 \lt 4$. In fact, taking $x=6+\epsilon$ and $y=5-(\epsilon+\delta)$ with $\epsilon\gt 0$ and $\delta\gt 0$ arbitrary but positive, and this gives you $x+y = 11-\delta\lt 11$, but $x-y = 1+2\epsilon+\delta$, so we can make $x-y$ as close to $1$ as we like (without it ever being equal to $1$); on the other hand, since $x\gt 6$ and $x+y\lt 11$, then $y\lt 11-x \lt 11-6 = 5$, so $x-y \gt 6-5 = 1$. Thus, the difference is always greater than $1$; but since we can make it as close to $1$ as we want, the best possible lower bound for $x-y$ is $1$ (without it actually being achieved).
However, if $x$ and $y$ are required to be integers, then the smallest value of $x-y$ will occur when $x$ is as small as possible and $y$ as large as it possibly can be given that. 
Added: To see why, first suppose that $x+y\lt 11$ with $x\gt 6$, but $y$ is not as large as it can be; that is, that $x+(y+1)$ is also less than $11$. Setting $y'=y+1$, you have that $x-y' = x-y-1 \lt x-y$, so you get a smaller value with $y'$. That means that in order to find the smallest possible value of $x-y$ for a given $x$, you may assume $y$ is as large as it possibly can be. Once you have that, you can check that larger values of $x$ will give you larger differences, so you also want $x$ to be as small as it possibly can be.
A: The answer is $x-y>1$. What you can do is to graph the set $A$: $x+y<11, x>6$ and note that $x-y=1$ passes through the intersection of the two lines $x+y=11$ and $x=6$. The set $A$ is to the right of $x-y=1$, which is $x-y>1$.
If $x,y$ are integers, then the smallest integer $k$ such that the set $x-y\ge k$ includes all the points in $A$ is 4 ( $(7,3)$ lies on the line $x-y=4$). This is clear from the graph.
A: That's simple: the difference $x-y$, whose minimum you seek, is equal $2x - (x+y)$. As the first term ($2x$) is greater than $12$, and $(x+y)$ is less than $11$, the difference is greater than $1$.
We can express it as addition of two variables bounded from below:
$$x>6$$
and
$$-(x+y)>-11$$
hence
$$x-y = 2x-x-y = 2x + (-(x+y)) \color{red}> 2\cdot 6 + (-11) = 12-11 = 1$$
