Calculate X, Y, Z of the 4 points in the 3D space.
up vote
0
down vote
favorite
I want to find the $x, y, z$ coordinates for $4$ points in a 3D space. Point $A$ is my origin $(X, Y, Z = 0,0,0)$ and other points $B, C, D$ are with reference to point A. I know all six distances from $A to B, Ato C, Ato D, Bto C, Bto D$, and $Cto D$.
Point $B$ lies on axis $X$, point $C$ lies in $XY$ plane, and lastly, point $D$ can be anywhere.
Coordinates of the points $A, B, C, D$ are as follows:
$A = (0, 0, 0)$
$B = (X_B, 0, 0)$
$C = (X_C, Y_C, 0)$
$D = (X_D, Y_D, Z_D)$
It is straightforward to determine $X_B$, $X_C$, and $Y_C$. I am having difficulty finding X, Y, Z coordinate of the point D with respect to the point A.
To determine Xd, Yd, Zd, I am using the following equations
$(X_D-X_A)^2 + (Y_D-Y_A)^2 + (Z_D-Z_A)^2 = AD^2$
$(X_D-X_B)^2 + (Y_D-Y_B)^2 + (Z_D-Z_B)^2 = BD^2$
$(X_D-X_C)^2 + (Y_D-Y_C)^2 + (Z_D-Z_C)^2 = CD^2$
After doing some expansion and eliminating the 2nd order variables I came up with the following:
$Ax = b$
$x = (X_D, Y_D, Z_D)$
after doing the pseudo inverse on both sides I can solve for x. I am not sure if my method of solving $X_D$, $Y_D$, and $Z_D$ is correct.
4 points diagram
linear-algebra trigonometry plane-geometry
add a comment |
up vote
0
down vote
favorite
I want to find the $x, y, z$ coordinates for $4$ points in a 3D space. Point $A$ is my origin $(X, Y, Z = 0,0,0)$ and other points $B, C, D$ are with reference to point A. I know all six distances from $A to B, Ato C, Ato D, Bto C, Bto D$, and $Cto D$.
Point $B$ lies on axis $X$, point $C$ lies in $XY$ plane, and lastly, point $D$ can be anywhere.
Coordinates of the points $A, B, C, D$ are as follows:
$A = (0, 0, 0)$
$B = (X_B, 0, 0)$
$C = (X_C, Y_C, 0)$
$D = (X_D, Y_D, Z_D)$
It is straightforward to determine $X_B$, $X_C$, and $Y_C$. I am having difficulty finding X, Y, Z coordinate of the point D with respect to the point A.
To determine Xd, Yd, Zd, I am using the following equations
$(X_D-X_A)^2 + (Y_D-Y_A)^2 + (Z_D-Z_A)^2 = AD^2$
$(X_D-X_B)^2 + (Y_D-Y_B)^2 + (Z_D-Z_B)^2 = BD^2$
$(X_D-X_C)^2 + (Y_D-Y_C)^2 + (Z_D-Z_C)^2 = CD^2$
After doing some expansion and eliminating the 2nd order variables I came up with the following:
$Ax = b$
$x = (X_D, Y_D, Z_D)$
after doing the pseudo inverse on both sides I can solve for x. I am not sure if my method of solving $X_D$, $Y_D$, and $Z_D$ is correct.
4 points diagram
linear-algebra trigonometry plane-geometry
your method is correct, just be aware that you can have multiple solutions (for example, point $B'$ can have coordinates $(-X_B,0,0)$, etc.). Also sometimes there is no solution (triangle inequality).
– Vasya
Nov 16 at 20:15
Yes you are correct, it can have multiple solutions but for the Points B and C, I am assuming that corresponding planes are positive.
– Bhavin
Nov 16 at 20:38
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to find the $x, y, z$ coordinates for $4$ points in a 3D space. Point $A$ is my origin $(X, Y, Z = 0,0,0)$ and other points $B, C, D$ are with reference to point A. I know all six distances from $A to B, Ato C, Ato D, Bto C, Bto D$, and $Cto D$.
Point $B$ lies on axis $X$, point $C$ lies in $XY$ plane, and lastly, point $D$ can be anywhere.
Coordinates of the points $A, B, C, D$ are as follows:
$A = (0, 0, 0)$
$B = (X_B, 0, 0)$
$C = (X_C, Y_C, 0)$
$D = (X_D, Y_D, Z_D)$
It is straightforward to determine $X_B$, $X_C$, and $Y_C$. I am having difficulty finding X, Y, Z coordinate of the point D with respect to the point A.
To determine Xd, Yd, Zd, I am using the following equations
$(X_D-X_A)^2 + (Y_D-Y_A)^2 + (Z_D-Z_A)^2 = AD^2$
$(X_D-X_B)^2 + (Y_D-Y_B)^2 + (Z_D-Z_B)^2 = BD^2$
$(X_D-X_C)^2 + (Y_D-Y_C)^2 + (Z_D-Z_C)^2 = CD^2$
After doing some expansion and eliminating the 2nd order variables I came up with the following:
$Ax = b$
$x = (X_D, Y_D, Z_D)$
after doing the pseudo inverse on both sides I can solve for x. I am not sure if my method of solving $X_D$, $Y_D$, and $Z_D$ is correct.
4 points diagram
linear-algebra trigonometry plane-geometry
I want to find the $x, y, z$ coordinates for $4$ points in a 3D space. Point $A$ is my origin $(X, Y, Z = 0,0,0)$ and other points $B, C, D$ are with reference to point A. I know all six distances from $A to B, Ato C, Ato D, Bto C, Bto D$, and $Cto D$.
Point $B$ lies on axis $X$, point $C$ lies in $XY$ plane, and lastly, point $D$ can be anywhere.
Coordinates of the points $A, B, C, D$ are as follows:
$A = (0, 0, 0)$
$B = (X_B, 0, 0)$
$C = (X_C, Y_C, 0)$
$D = (X_D, Y_D, Z_D)$
It is straightforward to determine $X_B$, $X_C$, and $Y_C$. I am having difficulty finding X, Y, Z coordinate of the point D with respect to the point A.
To determine Xd, Yd, Zd, I am using the following equations
$(X_D-X_A)^2 + (Y_D-Y_A)^2 + (Z_D-Z_A)^2 = AD^2$
$(X_D-X_B)^2 + (Y_D-Y_B)^2 + (Z_D-Z_B)^2 = BD^2$
$(X_D-X_C)^2 + (Y_D-Y_C)^2 + (Z_D-Z_C)^2 = CD^2$
After doing some expansion and eliminating the 2nd order variables I came up with the following:
$Ax = b$
$x = (X_D, Y_D, Z_D)$
after doing the pseudo inverse on both sides I can solve for x. I am not sure if my method of solving $X_D$, $Y_D$, and $Z_D$ is correct.
4 points diagram
linear-algebra trigonometry plane-geometry
linear-algebra trigonometry plane-geometry
edited Nov 16 at 20:23
Vasya
3,2791515
3,2791515
asked Nov 16 at 19:49
Bhavin
61
61
your method is correct, just be aware that you can have multiple solutions (for example, point $B'$ can have coordinates $(-X_B,0,0)$, etc.). Also sometimes there is no solution (triangle inequality).
– Vasya
Nov 16 at 20:15
Yes you are correct, it can have multiple solutions but for the Points B and C, I am assuming that corresponding planes are positive.
– Bhavin
Nov 16 at 20:38
add a comment |
your method is correct, just be aware that you can have multiple solutions (for example, point $B'$ can have coordinates $(-X_B,0,0)$, etc.). Also sometimes there is no solution (triangle inequality).
– Vasya
Nov 16 at 20:15
Yes you are correct, it can have multiple solutions but for the Points B and C, I am assuming that corresponding planes are positive.
– Bhavin
Nov 16 at 20:38
your method is correct, just be aware that you can have multiple solutions (for example, point $B'$ can have coordinates $(-X_B,0,0)$, etc.). Also sometimes there is no solution (triangle inequality).
– Vasya
Nov 16 at 20:15
your method is correct, just be aware that you can have multiple solutions (for example, point $B'$ can have coordinates $(-X_B,0,0)$, etc.). Also sometimes there is no solution (triangle inequality).
– Vasya
Nov 16 at 20:15
Yes you are correct, it can have multiple solutions but for the Points B and C, I am assuming that corresponding planes are positive.
– Bhavin
Nov 16 at 20:38
Yes you are correct, it can have multiple solutions but for the Points B and C, I am assuming that corresponding planes are positive.
– Bhavin
Nov 16 at 20:38
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3001573%2fcalculate-x-y-z-of-the-4-points-in-the-3d-space%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
your method is correct, just be aware that you can have multiple solutions (for example, point $B'$ can have coordinates $(-X_B,0,0)$, etc.). Also sometimes there is no solution (triangle inequality).
– Vasya
Nov 16 at 20:15
Yes you are correct, it can have multiple solutions but for the Points B and C, I am assuming that corresponding planes are positive.
– Bhavin
Nov 16 at 20:38