| 
July 3rd, 2009, 06:50 AM
| | Newbie | | Join Date: Jun 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
| | How to find a point? Hello!
I'm trying to solve this problem:
Having k points in an n-dimentional space, I want to find a new point, any point P that is at distance 1 from each of them, or find out if it is impossible.
So, the system of equations would be
for each i = 1..k
Sum, for j = 1..n of (Xij - Pj) ^2 = 1
but Xij are constants, so
for each i = 1..k
Ci + (Sum, for j = 1..n of Pj ^2 - 2XijPj) = 1
With Ci = Sum, for j=1..n of Xij^2
Is there an easy, computational way of calculating this?
Sorry for my not-standard notation, I'm new to the forum. | 
July 3rd, 2009, 03:41 PM
| | Super Member | | Join Date: Jan 2009
Posts: 518
Country: Thanks: 55
Thanked 107 Times in 99 Posts
| | Quote:
Originally Posted by iluci Hello!
I'm trying to solve this problem:
Having k points in an n-dimentional space, I want to find a new point, any point P that is at distance 1 from each of them, or find out if it is impossible.
So, the system of equations would be
for each i = 1..k
Sum, for j = 1..n of (Xij - Pj) ^2 = 1
but Xij are constants, so
for each i = 1..k
Ci + (Sum, for j = 1..n of Pj ^2 - 2XijPj) = 1
With Ci = Sum, for j=1..n of Xij^2
Is there an easy, computational way of calculating this?
Sorry for my not-standard notation, I'm new to the forum. | Typically for a n-dimensional space, you will have a matrix with n dimensions. suppose you have four points in a 5-dimensional space: Point(x1,y1,z1,w1,v1) Point(x2,y2,z2,w2,v2) Point(x3,y3,z3,w3,v3) Point(x4,y4,z4,w4,v4) Then for your AnyPoint(x0,y0,z0,w0,v0) for i= 1 to 5 Distance = 
If Distance <> 1 then EXIT: NO SUCH NUMBER POSSIBLE.
next i
''AnyPoint() is at distance 1 from all other points.
If your number of points, exceeds the number of dimensions in your n-dimensional space, and NONE of the points are coincident with any other point then you will have an impossible condition to meet.
Just wondering, but how are you using more than three dimensions to define your points. | 
July 3rd, 2009, 09:46 PM
|  | Super Member | | Join Date: May 2006 Location: India
Posts: 640
Country: Thanks: 38
Thanked 136 Times in 126 Posts
| | Quote:
Originally Posted by aidan
If your number of points, exceeds the number of dimensions in your n-dimensional space, and NONE of the points are coincident with any other point then you will have an impossible condition to meet. | If you are given three points in a plane, then it is possible(not is all cases) to find a point that is equidistant from all of them(the centre of the circle with three points on the circumference)..........it seems contradiction with your statement.
__________________ Keep Smiling
Malay
raah pakad tu ek chala chal, paa jayega madhushala | 
July 4th, 2009, 06:36 AM
| | Super Member | | Join Date: Jan 2009
Posts: 518
Country: Thanks: 55
Thanked 107 Times in 99 Posts
| | Quote:
Originally Posted by malaygoel If you are given three points in a plane, then it is possible(not is all cases) to find a point that is equidistant from all of them(the centre of the circle with three points on the circumference)..........it seems contradiction with your statement. | malaygoel, you are correct. I'm sorry, but I phrased that badly. When my teacher slapped some sense into me, my train of thought was derailed. A sphere (centered in a cube) will intersect each face of the cube resulting in a circle of points. All of the points on the 6 circles will be at the sphere's radius distance. Instead of sinking into gibberish, I'll find the correct phrasing and post it. Thanks for the wake up. | 
July 4th, 2009, 07:10 AM
| | Newbie | | Join Date: Jun 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
| | aidan, thanks for the help, but what you were suggesting was _checking_ if a point fits the description. I need to calculate the coordonates of such a point since I can't just pick points at random and hope I get it right Quote:
Originally Posted by aidan
Just wondering, but how are you using more than three dimensions to define your points. | I don't think I understood the question. | 
July 4th, 2009, 08:45 AM
| | Super Member | | Join Date: Jan 2009
Posts: 518
Country: Thanks: 55
Thanked 107 Times in 99 Posts
| | Quote:
Originally Posted by iluci ...I don't think I understood the question. | I'm not sure either. Can you give two(2) sets of n-dimensional data? That way I will understand exactly what you are posing. Give 1 set (at least half-dozen points) in 4-dimensional space and create a 2nd set (again with about six points) in 7 dimensional space. It appears that you are looking for an unknown point equidistant from all other points in the specific set of points. Please clarify. Give me the concrete data, and I'll should you the routine for a resolution. | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -7. The time now is 08:12 PM. | | |