Find point coordinate on 3D circle knowing three points

Click For Summary

Discussion Overview

The discussion revolves around finding a specific 3D coordinate on a circle defined by two points on its diameter and a third point on its plane. Participants explore the geometric and algebraic methods to derive the coordinates, considering constraints such as distances and perpendicular relationships.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant seeks to find a point on a circle in 3D space given two diameter points and a point on the plane, specifying the distance from one diameter point to the target point.
  • Another participant suggests constructing the plane using the normal vector derived from the cross product of the vectors formed by the diameter points and the third point, leading to a plane equation.
  • A participant describes their approach using a normalized normal vector and dot products to establish the plane and relationships between the points, but encounters issues with feasibility in their results.
  • There is a discussion about the correct formulation of the equations, including the order of vectors in dot products and the necessity of normalizing vectors.
  • One participant proposes an alternative method involving finding the center of the circle using the three points and solving the resulting equations numerically.
  • A later reply indicates that the initial participant successfully resolved their issue using MATLAB's fsolve function to handle the equations derived from their approach.

Areas of Agreement / Disagreement

Participants express differing views on the formulation of equations and the normalization of vectors. While some agree on the methods proposed, others challenge the correctness of specific steps, indicating that the discussion remains somewhat unresolved with multiple competing approaches.

Contextual Notes

Participants mention the presence of squared terms in their equations, which complicates the solution process. There is also a concern regarding the normalization of vectors and the implications of vector notation consistency.

Who May Find This Useful

This discussion may be useful for individuals interested in geometric constructions in 3D space, particularly those dealing with circles defined by points in a plane and the mathematical methods for solving related equations.

alaam2005
Messages
5
Reaction score
0
I would like to find a 3D coordinate of a point (X) on a circle, knowing two points on the circle (P1,P2) which represent the circle diameter and another point (P3) NOT on the circle but on its plane. Also known the length of the line from P2 to X, for example d. Another thing that may help, the line from the point P1 to X is perpindicular to the line X to P2.
Declared figure is attached.

Any help is appreciated.
 

Attachments

  • Circle_3P.jpg
    Circle_3P.jpg
    12.8 KB · Views: 522
Physics news on Phys.org
Hey alaam2005 and welcome to the forums.

The easiest way to do this is to construct the plane and get an equation for the plane and then find the intersection of a plane with a sphere.

The plane can be constructed by getting the normal vector to be (P2-P1) X (P3-P1) [Cross Product] and then using the fact that n . (r - r0) = 0 where r0 is a point on the plane to get your plane equation ax + by + cz + d = 0.

You then have an equation for your sphere which is (x-a)^2 + (y-b)^2 + (z-c)^2 = 0 (different a, b, and c for sphere and plane equations). Equate the two and you will get an equation in two variables which will give you an equation for the circle that cuts the plane.

Now you use your distances from P1 and P2 to the point and collect everything together to get an answer.
 
Thanks for fast response chiro
After I posted this I searched this forum for related issues and got some answers which is close to your answer. However, when I apply it I don't get feasible results.Assuming P4 as the point to find, similar to plane eqn you mention it, I used, a norm vector as
N=cross(P2-P1,P2-P3), where cross is cross product
then normalize it,
N/norm(N).
dot(P4-P2,N)=0 ...(1) where dot means dot product.
and got the plane equation. Having length d,
norm(P4-P2)=d ...(2)
which will contain sequared variables. Also, I have
dot(P4-P2,P4-P1)=0...(3)
cause the line P4P1 should be normal to P4P2, and ths equation will contains sequared variables. Subtracting eqn (2) from (3) I will get a second linear equation.
Any point on the sphere will be true, so my point P4 is applied to the sphere equation which need (Pc) center of sphere and its radius (r).
Pc=(P1+P2)/2 and r=norm(P1-Pc), correct?
so,
norm(Pc-P4)=r ...(4)
which will contains squared variables. Subtracting (4) from (2) will get the third linear equation. Solving the 3 linear equations to get P4(x,y,z) gave not feasible answers.
May I get help on this please, did I have to normalize other vectors?, my background in vectors is not that much and all I knew learned from your forum. Any wrong in this procedure. Thanks in advance.
 
Last edited:
Your plane should be based on calculating (P2-P1)X(P3-P1) (i.e you have the same point being deducted in both terms). Also for the equation I'm not sure if the . dot means just a dot product or something else.

For dot(P4-P2,P4-P1) your heads of the vectors are P2 and P1 so you reverse the order to be dot(P2-P4,P1-P4)

So let's look at how many equations you have:

<N,(P4 - P2)> = 0 which gives the equation for a circle.
<P4-P2,P4-P2> = d^2 which reduces it down to 2 choices
<P2-P4,P1-P4> = 0 which reduces it down to 1.

Since you have the constraint (x-a)^2 + (y-b)^2 + (z-c)^2 = r^2. (where (x,y,z) = P4).

You don't need the rest of the other stuff: maybe you should show your calculations in detail just for clarification.
 
chiro said:
Your plane should be based on calculating (P2-P1)X(P3-P1) (i.e you have the same point being deducted in both terms). Also for the equation I'm not sure if the . dot means just a dot product or something else.

For dot(P4-P2,P4-P1) your heads of the vectors are P2 and P1 so you reverse the order to be dot(P2-P4,P1-P4)

So let's look at how many equations you have:

<N,(P4 - P2)> = 0 which gives the equation for a circle.
<P4-P2,P4-P2> = d^2 which reduces it down to 2 choices
<P2-P4,P1-P4> = 0 which reduces it down to 1.

Since you have the constraint (x-a)^2 + (y-b)^2 + (z-c)^2 = r^2. (where (x,y,z) = P4).

You don't need the rest of the other stuff: maybe you should show your calculations in detail just for clarification.

Yes chiro, the dot means dot product and I added meaning of it to my previous reply, thanks for reminding about it.
I have to disagree with you concerning the order in the dot product cause at end it will equals zero. So It's order will not affect the result.
Concerning the equations, you mentioned 4 equations which are the 4 equations I also mentioned above. The equations which includes X^2,Y^2,and Z^2 it will be harder to solve so I added the 4th equation to remove them using subtraction.
My concern is, why the N vector is only normalized while other vectors not? I'm afraid the error is concerning normalizing another vector !

Now, I'm trying another way, by using the method which relates to 3 points on a circle and finding the center of the circle. My 3 points will be P1,P2,P4 so when I find the center of the circle using these points I will have 3 equations and I will equalize it to the center of the circle which I already have it, Pc. But its too long that I may have to solve it numerically (like Newton Raphson) to solve them!
 
You are correct about the dot product not being affected by my change, but the reason I pointed it out was to keep the vector notation consistent since a vector is formed by taking the point point and deducting its tail.

It's just a thing to to maintain consistency when describing vectors (we always think about a vector being head - tail).
 
Thanks for your help chiro, I managed to solve the issue and got %100 results. I used the three eqns 1.2.3 and because of the squared terms, I used fsolve in MATLAB to solve it for different points in a loop. Thanks
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
20
Views
4K