Find point on a line a certain distance away from another point
$begingroup$
I have a line defined by two points within the line, $A(x_1, y_1, z_1)$ and $B(x_2, y_2, z_2)$.
I have a third point $P(x_3, y_3, z_3)$.
How do I find the coordinates of the points on the line $AB$ which are $d$ units away from $P$ ?
geometry
$endgroup$
|
show 1 more comment
$begingroup$
I have a line defined by two points within the line, $A(x_1, y_1, z_1)$ and $B(x_2, y_2, z_2)$.
I have a third point $P(x_3, y_3, z_3)$.
How do I find the coordinates of the points on the line $AB$ which are $d$ units away from $P$ ?
geometry
$endgroup$
$begingroup$
Find the perpendicular distance of $P$ from the line, then slide along it either way, through a distance you get from Pythagoras.
$endgroup$
– J.G.
Dec 18 '18 at 23:28
$begingroup$
@J.G. how do I "slide along" it?
$endgroup$
– theonlygusti
Dec 18 '18 at 23:28
$begingroup$
@RossMillikan I don't think that's a dupe. Looks like they asked for finding a point on the line. I have 3 points. 2 define a line, one is away from it. If it is a dupe, idk how to re-apply the answer from the other question to this one.
$endgroup$
– theonlygusti
Dec 18 '18 at 23:46
$begingroup$
Sorry, I misread the question. i have reopened it. J.G.'s hint is a good one to make it a duplicate. If the distance from $P$ to the closest point on the line $Q$ is $p$, you want a point on the line that is $sqrt {d^2-p^2} $ away from $p$. Now apply the other question
$endgroup$
– Ross Millikan
Dec 18 '18 at 23:48
$begingroup$
Intersect the line with a sphere centered at $P$.
$endgroup$
– amd
Dec 19 '18 at 0:14
|
show 1 more comment
$begingroup$
I have a line defined by two points within the line, $A(x_1, y_1, z_1)$ and $B(x_2, y_2, z_2)$.
I have a third point $P(x_3, y_3, z_3)$.
How do I find the coordinates of the points on the line $AB$ which are $d$ units away from $P$ ?
geometry
$endgroup$
I have a line defined by two points within the line, $A(x_1, y_1, z_1)$ and $B(x_2, y_2, z_2)$.
I have a third point $P(x_3, y_3, z_3)$.
How do I find the coordinates of the points on the line $AB$ which are $d$ units away from $P$ ?
geometry
geometry
asked Dec 18 '18 at 23:25
theonlygustitheonlygusti
687615
687615
$begingroup$
Find the perpendicular distance of $P$ from the line, then slide along it either way, through a distance you get from Pythagoras.
$endgroup$
– J.G.
Dec 18 '18 at 23:28
$begingroup$
@J.G. how do I "slide along" it?
$endgroup$
– theonlygusti
Dec 18 '18 at 23:28
$begingroup$
@RossMillikan I don't think that's a dupe. Looks like they asked for finding a point on the line. I have 3 points. 2 define a line, one is away from it. If it is a dupe, idk how to re-apply the answer from the other question to this one.
$endgroup$
– theonlygusti
Dec 18 '18 at 23:46
$begingroup$
Sorry, I misread the question. i have reopened it. J.G.'s hint is a good one to make it a duplicate. If the distance from $P$ to the closest point on the line $Q$ is $p$, you want a point on the line that is $sqrt {d^2-p^2} $ away from $p$. Now apply the other question
$endgroup$
– Ross Millikan
Dec 18 '18 at 23:48
$begingroup$
Intersect the line with a sphere centered at $P$.
$endgroup$
– amd
Dec 19 '18 at 0:14
|
show 1 more comment
$begingroup$
Find the perpendicular distance of $P$ from the line, then slide along it either way, through a distance you get from Pythagoras.
$endgroup$
– J.G.
Dec 18 '18 at 23:28
$begingroup$
@J.G. how do I "slide along" it?
$endgroup$
– theonlygusti
Dec 18 '18 at 23:28
$begingroup$
@RossMillikan I don't think that's a dupe. Looks like they asked for finding a point on the line. I have 3 points. 2 define a line, one is away from it. If it is a dupe, idk how to re-apply the answer from the other question to this one.
$endgroup$
– theonlygusti
Dec 18 '18 at 23:46
$begingroup$
Sorry, I misread the question. i have reopened it. J.G.'s hint is a good one to make it a duplicate. If the distance from $P$ to the closest point on the line $Q$ is $p$, you want a point on the line that is $sqrt {d^2-p^2} $ away from $p$. Now apply the other question
$endgroup$
– Ross Millikan
Dec 18 '18 at 23:48
$begingroup$
Intersect the line with a sphere centered at $P$.
$endgroup$
– amd
Dec 19 '18 at 0:14
$begingroup$
Find the perpendicular distance of $P$ from the line, then slide along it either way, through a distance you get from Pythagoras.
$endgroup$
– J.G.
Dec 18 '18 at 23:28
$begingroup$
Find the perpendicular distance of $P$ from the line, then slide along it either way, through a distance you get from Pythagoras.
$endgroup$
– J.G.
Dec 18 '18 at 23:28
$begingroup$
@J.G. how do I "slide along" it?
$endgroup$
– theonlygusti
Dec 18 '18 at 23:28
$begingroup$
@J.G. how do I "slide along" it?
$endgroup$
– theonlygusti
Dec 18 '18 at 23:28
$begingroup$
@RossMillikan I don't think that's a dupe. Looks like they asked for finding a point on the line. I have 3 points. 2 define a line, one is away from it. If it is a dupe, idk how to re-apply the answer from the other question to this one.
$endgroup$
– theonlygusti
Dec 18 '18 at 23:46
$begingroup$
@RossMillikan I don't think that's a dupe. Looks like they asked for finding a point on the line. I have 3 points. 2 define a line, one is away from it. If it is a dupe, idk how to re-apply the answer from the other question to this one.
$endgroup$
– theonlygusti
Dec 18 '18 at 23:46
$begingroup$
Sorry, I misread the question. i have reopened it. J.G.'s hint is a good one to make it a duplicate. If the distance from $P$ to the closest point on the line $Q$ is $p$, you want a point on the line that is $sqrt {d^2-p^2} $ away from $p$. Now apply the other question
$endgroup$
– Ross Millikan
Dec 18 '18 at 23:48
$begingroup$
Sorry, I misread the question. i have reopened it. J.G.'s hint is a good one to make it a duplicate. If the distance from $P$ to the closest point on the line $Q$ is $p$, you want a point on the line that is $sqrt {d^2-p^2} $ away from $p$. Now apply the other question
$endgroup$
– Ross Millikan
Dec 18 '18 at 23:48
$begingroup$
Intersect the line with a sphere centered at $P$.
$endgroup$
– amd
Dec 19 '18 at 0:14
$begingroup$
Intersect the line with a sphere centered at $P$.
$endgroup$
– amd
Dec 19 '18 at 0:14
|
show 1 more comment
1 Answer
1
active
oldest
votes
$begingroup$
If you write out $|A+alpha(B-A)-P|^2=d^2$ you get a quadratic equation in $alpha$. You can solve for $alpha$ with standard methods.
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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%2f3045836%2ffind-point-on-a-line-a-certain-distance-away-from-another-point%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
If you write out $|A+alpha(B-A)-P|^2=d^2$ you get a quadratic equation in $alpha$. You can solve for $alpha$ with standard methods.
$endgroup$
add a comment |
$begingroup$
If you write out $|A+alpha(B-A)-P|^2=d^2$ you get a quadratic equation in $alpha$. You can solve for $alpha$ with standard methods.
$endgroup$
add a comment |
$begingroup$
If you write out $|A+alpha(B-A)-P|^2=d^2$ you get a quadratic equation in $alpha$. You can solve for $alpha$ with standard methods.
$endgroup$
If you write out $|A+alpha(B-A)-P|^2=d^2$ you get a quadratic equation in $alpha$. You can solve for $alpha$ with standard methods.
answered Dec 19 '18 at 0:35
SmileyCraftSmileyCraft
3,611517
3,611517
add a comment |
add a comment |
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.
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%2f3045836%2ffind-point-on-a-line-a-certain-distance-away-from-another-point%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
$begingroup$
Find the perpendicular distance of $P$ from the line, then slide along it either way, through a distance you get from Pythagoras.
$endgroup$
– J.G.
Dec 18 '18 at 23:28
$begingroup$
@J.G. how do I "slide along" it?
$endgroup$
– theonlygusti
Dec 18 '18 at 23:28
$begingroup$
@RossMillikan I don't think that's a dupe. Looks like they asked for finding a point on the line. I have 3 points. 2 define a line, one is away from it. If it is a dupe, idk how to re-apply the answer from the other question to this one.
$endgroup$
– theonlygusti
Dec 18 '18 at 23:46
$begingroup$
Sorry, I misread the question. i have reopened it. J.G.'s hint is a good one to make it a duplicate. If the distance from $P$ to the closest point on the line $Q$ is $p$, you want a point on the line that is $sqrt {d^2-p^2} $ away from $p$. Now apply the other question
$endgroup$
– Ross Millikan
Dec 18 '18 at 23:48
$begingroup$
Intersect the line with a sphere centered at $P$.
$endgroup$
– amd
Dec 19 '18 at 0:14