English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Given point A (x,y) in 2D space, how do we know whether point B (a,b) in on the left side or right side of point A?

2007-09-07 20:50:47 · 4 answers · asked by teddy 2 in Science & Mathematics Mathematics

4 answers

technically there is no left or right, unless you make some conventions or speak informaly

2007-09-07 21:07:13 · answer #1 · answered by Theta40 7 · 0 0

Just check x - a and y - b. If x - a is a + number, a is less than x and thus B is to the left of A. If x - a is a negative number, a is greater than x and thus B is to the right of A.

That is because by convention, + is to the right of the origin along the x - axis and - is to the left of the origin. Since the origin can be shiftedby a simple mathematical translation, it is clear that larger numbers are to the right and smaller numbers are to the left. Similarly, larger numbers are above and smaller numbers are below a given point (y coordinates).

2007-09-08 05:12:30 · answer #2 · answered by Swamy 7 · 0 0

Convention is that points are in (x,y) order. Thus if point B has an x-coordinate larger than that of A, it is to the "right", and vice versa.

2007-09-08 03:59:39 · answer #3 · answered by cattbarf 7 · 1 0

One definition independent of the observer and where his eyes are might be this
x - a < 0 left;
x - a > 0 right

2007-09-08 04:28:20 · answer #4 · answered by gjmb1960 7 · 0 1

fedest.com, questions and answers