How to create an equation with 3 variables, given two points in 3-dimensions?












0












$begingroup$


I have two points: (20.33, 16.1, 0.0150) & (20.48, 19, 0.0123),
and I would like an equation of the line that connects these two points, but I'm not entirely sure how to do it. Is there a form of Y = MX + B, but in 3-dimensions? Iv'e already got the parametric equations and vector equations, but that doesn't seem to get me what I'm looking for. I would like to be able to enter in two values, say Y & Z, and then find out what X is. The vector equation is:



(x-0.15)/20.33 = (y-2.9)/16.1 = (z+0.0027)/0.0150



I'm not sure if what I'm asking is impossible or not...
Instead of just plugging in X, and calculation Y and Z - I would like to plug both X and Y, and calculate Z.



Thanks so much for any feedback!




  • Cole










share|cite|improve this question









$endgroup$












  • $begingroup$
    There is no $y=mx+b$ for a line in three dimensions. You will have to go by parametric form or as you describe, a vector equation
    $endgroup$
    – imranfat
    Sep 26 '15 at 3:15










  • $begingroup$
    The equation you wrote is exactly what you want. For a point on a line, one of the three coordinates ($x$, $y$ or $z$) is sufficient to determine where it is.
    $endgroup$
    – Asydot
    Sep 26 '15 at 3:17










  • $begingroup$
    Ah thank you, that makes more sense I suppose. Perhaps what I'm really looking for is a plane to describe my data rather than a line.
    $endgroup$
    – Induction
    Sep 26 '15 at 3:21










  • $begingroup$
    Maybe, but for a plane in the three dim world, you need three points, not two. And these three points can't be collinear (why?)
    $endgroup$
    – imranfat
    Sep 26 '15 at 3:22










  • $begingroup$
    Well I would actually have three points, I was only using two for simplification. The points above all correspond to (extraction, ratio, total dissolved solids), these are referring to brewing coffee actually - just to put things into perspective. I would like to specify both extraction and ratio, and then find out the corresponding total dissolved solids accordingly. Now that I think of it though, I couldn't imagine a line being able to represent it.
    $endgroup$
    – Induction
    Sep 26 '15 at 3:27
















0












$begingroup$


I have two points: (20.33, 16.1, 0.0150) & (20.48, 19, 0.0123),
and I would like an equation of the line that connects these two points, but I'm not entirely sure how to do it. Is there a form of Y = MX + B, but in 3-dimensions? Iv'e already got the parametric equations and vector equations, but that doesn't seem to get me what I'm looking for. I would like to be able to enter in two values, say Y & Z, and then find out what X is. The vector equation is:



(x-0.15)/20.33 = (y-2.9)/16.1 = (z+0.0027)/0.0150



I'm not sure if what I'm asking is impossible or not...
Instead of just plugging in X, and calculation Y and Z - I would like to plug both X and Y, and calculate Z.



Thanks so much for any feedback!




  • Cole










share|cite|improve this question









$endgroup$












  • $begingroup$
    There is no $y=mx+b$ for a line in three dimensions. You will have to go by parametric form or as you describe, a vector equation
    $endgroup$
    – imranfat
    Sep 26 '15 at 3:15










  • $begingroup$
    The equation you wrote is exactly what you want. For a point on a line, one of the three coordinates ($x$, $y$ or $z$) is sufficient to determine where it is.
    $endgroup$
    – Asydot
    Sep 26 '15 at 3:17










  • $begingroup$
    Ah thank you, that makes more sense I suppose. Perhaps what I'm really looking for is a plane to describe my data rather than a line.
    $endgroup$
    – Induction
    Sep 26 '15 at 3:21










  • $begingroup$
    Maybe, but for a plane in the three dim world, you need three points, not two. And these three points can't be collinear (why?)
    $endgroup$
    – imranfat
    Sep 26 '15 at 3:22










  • $begingroup$
    Well I would actually have three points, I was only using two for simplification. The points above all correspond to (extraction, ratio, total dissolved solids), these are referring to brewing coffee actually - just to put things into perspective. I would like to specify both extraction and ratio, and then find out the corresponding total dissolved solids accordingly. Now that I think of it though, I couldn't imagine a line being able to represent it.
    $endgroup$
    – Induction
    Sep 26 '15 at 3:27














0












0








0





$begingroup$


I have two points: (20.33, 16.1, 0.0150) & (20.48, 19, 0.0123),
and I would like an equation of the line that connects these two points, but I'm not entirely sure how to do it. Is there a form of Y = MX + B, but in 3-dimensions? Iv'e already got the parametric equations and vector equations, but that doesn't seem to get me what I'm looking for. I would like to be able to enter in two values, say Y & Z, and then find out what X is. The vector equation is:



(x-0.15)/20.33 = (y-2.9)/16.1 = (z+0.0027)/0.0150



I'm not sure if what I'm asking is impossible or not...
Instead of just plugging in X, and calculation Y and Z - I would like to plug both X and Y, and calculate Z.



Thanks so much for any feedback!




  • Cole










share|cite|improve this question









$endgroup$




I have two points: (20.33, 16.1, 0.0150) & (20.48, 19, 0.0123),
and I would like an equation of the line that connects these two points, but I'm not entirely sure how to do it. Is there a form of Y = MX + B, but in 3-dimensions? Iv'e already got the parametric equations and vector equations, but that doesn't seem to get me what I'm looking for. I would like to be able to enter in two values, say Y & Z, and then find out what X is. The vector equation is:



(x-0.15)/20.33 = (y-2.9)/16.1 = (z+0.0027)/0.0150



I'm not sure if what I'm asking is impossible or not...
Instead of just plugging in X, and calculation Y and Z - I would like to plug both X and Y, and calculate Z.



Thanks so much for any feedback!




  • Cole







calculus linear-algebra multivariable-calculus multilinear-algebra






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Sep 26 '15 at 3:13









InductionInduction

1011




1011












  • $begingroup$
    There is no $y=mx+b$ for a line in three dimensions. You will have to go by parametric form or as you describe, a vector equation
    $endgroup$
    – imranfat
    Sep 26 '15 at 3:15










  • $begingroup$
    The equation you wrote is exactly what you want. For a point on a line, one of the three coordinates ($x$, $y$ or $z$) is sufficient to determine where it is.
    $endgroup$
    – Asydot
    Sep 26 '15 at 3:17










  • $begingroup$
    Ah thank you, that makes more sense I suppose. Perhaps what I'm really looking for is a plane to describe my data rather than a line.
    $endgroup$
    – Induction
    Sep 26 '15 at 3:21










  • $begingroup$
    Maybe, but for a plane in the three dim world, you need three points, not two. And these three points can't be collinear (why?)
    $endgroup$
    – imranfat
    Sep 26 '15 at 3:22










  • $begingroup$
    Well I would actually have three points, I was only using two for simplification. The points above all correspond to (extraction, ratio, total dissolved solids), these are referring to brewing coffee actually - just to put things into perspective. I would like to specify both extraction and ratio, and then find out the corresponding total dissolved solids accordingly. Now that I think of it though, I couldn't imagine a line being able to represent it.
    $endgroup$
    – Induction
    Sep 26 '15 at 3:27


















  • $begingroup$
    There is no $y=mx+b$ for a line in three dimensions. You will have to go by parametric form or as you describe, a vector equation
    $endgroup$
    – imranfat
    Sep 26 '15 at 3:15










  • $begingroup$
    The equation you wrote is exactly what you want. For a point on a line, one of the three coordinates ($x$, $y$ or $z$) is sufficient to determine where it is.
    $endgroup$
    – Asydot
    Sep 26 '15 at 3:17










  • $begingroup$
    Ah thank you, that makes more sense I suppose. Perhaps what I'm really looking for is a plane to describe my data rather than a line.
    $endgroup$
    – Induction
    Sep 26 '15 at 3:21










  • $begingroup$
    Maybe, but for a plane in the three dim world, you need three points, not two. And these three points can't be collinear (why?)
    $endgroup$
    – imranfat
    Sep 26 '15 at 3:22










  • $begingroup$
    Well I would actually have three points, I was only using two for simplification. The points above all correspond to (extraction, ratio, total dissolved solids), these are referring to brewing coffee actually - just to put things into perspective. I would like to specify both extraction and ratio, and then find out the corresponding total dissolved solids accordingly. Now that I think of it though, I couldn't imagine a line being able to represent it.
    $endgroup$
    – Induction
    Sep 26 '15 at 3:27
















$begingroup$
There is no $y=mx+b$ for a line in three dimensions. You will have to go by parametric form or as you describe, a vector equation
$endgroup$
– imranfat
Sep 26 '15 at 3:15




$begingroup$
There is no $y=mx+b$ for a line in three dimensions. You will have to go by parametric form or as you describe, a vector equation
$endgroup$
– imranfat
Sep 26 '15 at 3:15












$begingroup$
The equation you wrote is exactly what you want. For a point on a line, one of the three coordinates ($x$, $y$ or $z$) is sufficient to determine where it is.
$endgroup$
– Asydot
Sep 26 '15 at 3:17




$begingroup$
The equation you wrote is exactly what you want. For a point on a line, one of the three coordinates ($x$, $y$ or $z$) is sufficient to determine where it is.
$endgroup$
– Asydot
Sep 26 '15 at 3:17












$begingroup$
Ah thank you, that makes more sense I suppose. Perhaps what I'm really looking for is a plane to describe my data rather than a line.
$endgroup$
– Induction
Sep 26 '15 at 3:21




$begingroup$
Ah thank you, that makes more sense I suppose. Perhaps what I'm really looking for is a plane to describe my data rather than a line.
$endgroup$
– Induction
Sep 26 '15 at 3:21












$begingroup$
Maybe, but for a plane in the three dim world, you need three points, not two. And these three points can't be collinear (why?)
$endgroup$
– imranfat
Sep 26 '15 at 3:22




$begingroup$
Maybe, but for a plane in the three dim world, you need three points, not two. And these three points can't be collinear (why?)
$endgroup$
– imranfat
Sep 26 '15 at 3:22












$begingroup$
Well I would actually have three points, I was only using two for simplification. The points above all correspond to (extraction, ratio, total dissolved solids), these are referring to brewing coffee actually - just to put things into perspective. I would like to specify both extraction and ratio, and then find out the corresponding total dissolved solids accordingly. Now that I think of it though, I couldn't imagine a line being able to represent it.
$endgroup$
– Induction
Sep 26 '15 at 3:27




$begingroup$
Well I would actually have three points, I was only using two for simplification. The points above all correspond to (extraction, ratio, total dissolved solids), these are referring to brewing coffee actually - just to put things into perspective. I would like to specify both extraction and ratio, and then find out the corresponding total dissolved solids accordingly. Now that I think of it though, I couldn't imagine a line being able to represent it.
$endgroup$
– Induction
Sep 26 '15 at 3:27










1 Answer
1






active

oldest

votes


















0












$begingroup$

Given two points $P$ and $Q$, an equation for the line connecting them is $P+(1-t)Q$, where $t$ is the parametric variable for the line.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Thanks for that, although I don't quite understand what t is. Or at least how that would apply to my situation. Also if there is no equality, wouldn't that not be an equation?
    $endgroup$
    – Induction
    Sep 26 '15 at 3:23










  • $begingroup$
    To get an equation, you could write out the three coordinates: $x=20.33+(1-t)20.48$, $y=16.1+(1-t)19$, and lastly $z=0.0150+(1-t)0.0123$.
    $endgroup$
    – pre-kidney
    Sep 26 '15 at 3:25











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1451757%2fhow-to-create-an-equation-with-3-variables-given-two-points-in-3-dimensions%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









0












$begingroup$

Given two points $P$ and $Q$, an equation for the line connecting them is $P+(1-t)Q$, where $t$ is the parametric variable for the line.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Thanks for that, although I don't quite understand what t is. Or at least how that would apply to my situation. Also if there is no equality, wouldn't that not be an equation?
    $endgroup$
    – Induction
    Sep 26 '15 at 3:23










  • $begingroup$
    To get an equation, you could write out the three coordinates: $x=20.33+(1-t)20.48$, $y=16.1+(1-t)19$, and lastly $z=0.0150+(1-t)0.0123$.
    $endgroup$
    – pre-kidney
    Sep 26 '15 at 3:25
















0












$begingroup$

Given two points $P$ and $Q$, an equation for the line connecting them is $P+(1-t)Q$, where $t$ is the parametric variable for the line.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Thanks for that, although I don't quite understand what t is. Or at least how that would apply to my situation. Also if there is no equality, wouldn't that not be an equation?
    $endgroup$
    – Induction
    Sep 26 '15 at 3:23










  • $begingroup$
    To get an equation, you could write out the three coordinates: $x=20.33+(1-t)20.48$, $y=16.1+(1-t)19$, and lastly $z=0.0150+(1-t)0.0123$.
    $endgroup$
    – pre-kidney
    Sep 26 '15 at 3:25














0












0








0





$begingroup$

Given two points $P$ and $Q$, an equation for the line connecting them is $P+(1-t)Q$, where $t$ is the parametric variable for the line.






share|cite|improve this answer









$endgroup$



Given two points $P$ and $Q$, an equation for the line connecting them is $P+(1-t)Q$, where $t$ is the parametric variable for the line.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Sep 26 '15 at 3:18









pre-kidneypre-kidney

12.9k1849




12.9k1849












  • $begingroup$
    Thanks for that, although I don't quite understand what t is. Or at least how that would apply to my situation. Also if there is no equality, wouldn't that not be an equation?
    $endgroup$
    – Induction
    Sep 26 '15 at 3:23










  • $begingroup$
    To get an equation, you could write out the three coordinates: $x=20.33+(1-t)20.48$, $y=16.1+(1-t)19$, and lastly $z=0.0150+(1-t)0.0123$.
    $endgroup$
    – pre-kidney
    Sep 26 '15 at 3:25


















  • $begingroup$
    Thanks for that, although I don't quite understand what t is. Or at least how that would apply to my situation. Also if there is no equality, wouldn't that not be an equation?
    $endgroup$
    – Induction
    Sep 26 '15 at 3:23










  • $begingroup$
    To get an equation, you could write out the three coordinates: $x=20.33+(1-t)20.48$, $y=16.1+(1-t)19$, and lastly $z=0.0150+(1-t)0.0123$.
    $endgroup$
    – pre-kidney
    Sep 26 '15 at 3:25
















$begingroup$
Thanks for that, although I don't quite understand what t is. Or at least how that would apply to my situation. Also if there is no equality, wouldn't that not be an equation?
$endgroup$
– Induction
Sep 26 '15 at 3:23




$begingroup$
Thanks for that, although I don't quite understand what t is. Or at least how that would apply to my situation. Also if there is no equality, wouldn't that not be an equation?
$endgroup$
– Induction
Sep 26 '15 at 3:23












$begingroup$
To get an equation, you could write out the three coordinates: $x=20.33+(1-t)20.48$, $y=16.1+(1-t)19$, and lastly $z=0.0150+(1-t)0.0123$.
$endgroup$
– pre-kidney
Sep 26 '15 at 3:25




$begingroup$
To get an equation, you could write out the three coordinates: $x=20.33+(1-t)20.48$, $y=16.1+(1-t)19$, and lastly $z=0.0150+(1-t)0.0123$.
$endgroup$
– pre-kidney
Sep 26 '15 at 3:25


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1451757%2fhow-to-create-an-equation-with-3-variables-given-two-points-in-3-dimensions%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

Npm cannot find a required file even through it is in the searched directory