Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Consider a point $(x,y)$ and two lines $\ell_1, \ell_2$. What is the condition in $x$ and $y$, which ensures that $(x,y)$ lies in the area between the two lines?

share|cite|improve this question
What do you mean by " the area between the two lines"? – user17762 Jan 9 '13 at 3:11
up vote 0 down vote accepted

If the two lines coincide the question is meaningless; if the two lines intersect in one unique point then any point not on any of the two lines is "between them". Finally, if the two lines are different and parallel then there seems to be some definite meaning to "between the lines" : let the lines be

$$l_1: y=mx+n\;\;,\;\;y=mx+n'$$

Then a point $\,(a,b)\in\Bbb R^2\,$ is in between the lines (my definition now) if it is both in the semiplane determined by the first line and in the semiplane determined by the second one, i.e.: supposing that $\,n>n'\,$ , then

$$ma+n'< b< ma+n\Longleftrightarrow (a,b)\in l_3$$

for some line $\,l_3: y= mx+r\,\,,\,\,n'<r<n\,$ (**) .

In the above, the point is assumed not to lie in any of the line $\,l_1,l_2\,$ but actually "between them". If you want to include both lines in the above definition simply take weak inequalities in (**) above.

share|cite|improve this answer
what do you mean by weak inequalities? – Adwait Kumar Jan 9 '13 at 7:03
I expect he means $\le$ instead of just $<$ – bubba Jan 9 '13 at 8:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.