Third cordinate of a triangle when we know two sides and two other points?











up vote
0
down vote

favorite












How to find the third cordinate of a triangle , where as other two points are known and we know sides?



Let's say, the two points are (3, 30) and (5, 35) and we need to find the third point considering its side is perpendicular to line. And we know the distance from (3, 30) and this point.



For example



We know (x,y), (x',y'), the distance between than and the side "d". I need to discovery (a,b).



This problem arose when I needed to calculate a polygon from a polyline. Like in this map.



Thanks,










share|cite|improve this question


























    up vote
    0
    down vote

    favorite












    How to find the third cordinate of a triangle , where as other two points are known and we know sides?



    Let's say, the two points are (3, 30) and (5, 35) and we need to find the third point considering its side is perpendicular to line. And we know the distance from (3, 30) and this point.



    For example



    We know (x,y), (x',y'), the distance between than and the side "d". I need to discovery (a,b).



    This problem arose when I needed to calculate a polygon from a polyline. Like in this map.



    Thanks,










    share|cite|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      How to find the third cordinate of a triangle , where as other two points are known and we know sides?



      Let's say, the two points are (3, 30) and (5, 35) and we need to find the third point considering its side is perpendicular to line. And we know the distance from (3, 30) and this point.



      For example



      We know (x,y), (x',y'), the distance between than and the side "d". I need to discovery (a,b).



      This problem arose when I needed to calculate a polygon from a polyline. Like in this map.



      Thanks,










      share|cite|improve this question













      How to find the third cordinate of a triangle , where as other two points are known and we know sides?



      Let's say, the two points are (3, 30) and (5, 35) and we need to find the third point considering its side is perpendicular to line. And we know the distance from (3, 30) and this point.



      For example



      We know (x,y), (x',y'), the distance between than and the side "d". I need to discovery (a,b).



      This problem arose when I needed to calculate a polygon from a polyline. Like in this map.



      Thanks,







      triangle coordinate-systems






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Nov 21 at 2:09









      Mário Valney

      32




      32






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          Not very clear which points you know, and where is the perpendicular. I assume $A=(3,30)$, $B=(5,35)$, and $CBperp AB$.
          The first step is to find the slope of $AB$
          $$m_{AB}=frac{y_B-y_A}{x_B-xA}$$
          Then the slope of $BC$ is $m_{BC}=-frac1{m_{AB}}$. Note that if $x_B=x_A$ then $y_C=y_B$, and if $y_A=y_B$ then $x_C=x_B$. Let's solve these easy cases first.
          $x_B=x_A$ means that the line is vertical, so the perpendicular is horizontal. That's why $y_C=y_B$. Now for $x_C$ we have two options $x_C=x_Bpm d$. Similar reasoning for $y_A=y_B$ means $x_C=x_B$ and $y_C=y_Bpm d$.



          Now going back to the general case, we have calculated $m_{BC}$. That means that this line makes an angle $theta=arctan m_{BC}$ with respect to the horizontal axis. We can move $d$ from $B$ in either direction on such line. If we go in the positive $x$ direction, we can write $x_C=x_B+dcostheta$ and $y_C=y_B+dsintheta$. If we move in the negative direction, then $x_C=x_B-dcostheta$ and $y_C=y_B-dsintheta$.






          share|cite|improve this answer





















          • Thank you, Andrei! You are sure to assume the points A and B. My draw was not the best one.
            – Mário Valney
            Nov 21 at 14:51













          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',
          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%2f3007159%2fthird-cordinate-of-a-triangle-when-we-know-two-sides-and-two-other-points%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








          up vote
          0
          down vote



          accepted










          Not very clear which points you know, and where is the perpendicular. I assume $A=(3,30)$, $B=(5,35)$, and $CBperp AB$.
          The first step is to find the slope of $AB$
          $$m_{AB}=frac{y_B-y_A}{x_B-xA}$$
          Then the slope of $BC$ is $m_{BC}=-frac1{m_{AB}}$. Note that if $x_B=x_A$ then $y_C=y_B$, and if $y_A=y_B$ then $x_C=x_B$. Let's solve these easy cases first.
          $x_B=x_A$ means that the line is vertical, so the perpendicular is horizontal. That's why $y_C=y_B$. Now for $x_C$ we have two options $x_C=x_Bpm d$. Similar reasoning for $y_A=y_B$ means $x_C=x_B$ and $y_C=y_Bpm d$.



          Now going back to the general case, we have calculated $m_{BC}$. That means that this line makes an angle $theta=arctan m_{BC}$ with respect to the horizontal axis. We can move $d$ from $B$ in either direction on such line. If we go in the positive $x$ direction, we can write $x_C=x_B+dcostheta$ and $y_C=y_B+dsintheta$. If we move in the negative direction, then $x_C=x_B-dcostheta$ and $y_C=y_B-dsintheta$.






          share|cite|improve this answer





















          • Thank you, Andrei! You are sure to assume the points A and B. My draw was not the best one.
            – Mário Valney
            Nov 21 at 14:51

















          up vote
          0
          down vote



          accepted










          Not very clear which points you know, and where is the perpendicular. I assume $A=(3,30)$, $B=(5,35)$, and $CBperp AB$.
          The first step is to find the slope of $AB$
          $$m_{AB}=frac{y_B-y_A}{x_B-xA}$$
          Then the slope of $BC$ is $m_{BC}=-frac1{m_{AB}}$. Note that if $x_B=x_A$ then $y_C=y_B$, and if $y_A=y_B$ then $x_C=x_B$. Let's solve these easy cases first.
          $x_B=x_A$ means that the line is vertical, so the perpendicular is horizontal. That's why $y_C=y_B$. Now for $x_C$ we have two options $x_C=x_Bpm d$. Similar reasoning for $y_A=y_B$ means $x_C=x_B$ and $y_C=y_Bpm d$.



          Now going back to the general case, we have calculated $m_{BC}$. That means that this line makes an angle $theta=arctan m_{BC}$ with respect to the horizontal axis. We can move $d$ from $B$ in either direction on such line. If we go in the positive $x$ direction, we can write $x_C=x_B+dcostheta$ and $y_C=y_B+dsintheta$. If we move in the negative direction, then $x_C=x_B-dcostheta$ and $y_C=y_B-dsintheta$.






          share|cite|improve this answer





















          • Thank you, Andrei! You are sure to assume the points A and B. My draw was not the best one.
            – Mário Valney
            Nov 21 at 14:51















          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          Not very clear which points you know, and where is the perpendicular. I assume $A=(3,30)$, $B=(5,35)$, and $CBperp AB$.
          The first step is to find the slope of $AB$
          $$m_{AB}=frac{y_B-y_A}{x_B-xA}$$
          Then the slope of $BC$ is $m_{BC}=-frac1{m_{AB}}$. Note that if $x_B=x_A$ then $y_C=y_B$, and if $y_A=y_B$ then $x_C=x_B$. Let's solve these easy cases first.
          $x_B=x_A$ means that the line is vertical, so the perpendicular is horizontal. That's why $y_C=y_B$. Now for $x_C$ we have two options $x_C=x_Bpm d$. Similar reasoning for $y_A=y_B$ means $x_C=x_B$ and $y_C=y_Bpm d$.



          Now going back to the general case, we have calculated $m_{BC}$. That means that this line makes an angle $theta=arctan m_{BC}$ with respect to the horizontal axis. We can move $d$ from $B$ in either direction on such line. If we go in the positive $x$ direction, we can write $x_C=x_B+dcostheta$ and $y_C=y_B+dsintheta$. If we move in the negative direction, then $x_C=x_B-dcostheta$ and $y_C=y_B-dsintheta$.






          share|cite|improve this answer












          Not very clear which points you know, and where is the perpendicular. I assume $A=(3,30)$, $B=(5,35)$, and $CBperp AB$.
          The first step is to find the slope of $AB$
          $$m_{AB}=frac{y_B-y_A}{x_B-xA}$$
          Then the slope of $BC$ is $m_{BC}=-frac1{m_{AB}}$. Note that if $x_B=x_A$ then $y_C=y_B$, and if $y_A=y_B$ then $x_C=x_B$. Let's solve these easy cases first.
          $x_B=x_A$ means that the line is vertical, so the perpendicular is horizontal. That's why $y_C=y_B$. Now for $x_C$ we have two options $x_C=x_Bpm d$. Similar reasoning for $y_A=y_B$ means $x_C=x_B$ and $y_C=y_Bpm d$.



          Now going back to the general case, we have calculated $m_{BC}$. That means that this line makes an angle $theta=arctan m_{BC}$ with respect to the horizontal axis. We can move $d$ from $B$ in either direction on such line. If we go in the positive $x$ direction, we can write $x_C=x_B+dcostheta$ and $y_C=y_B+dsintheta$. If we move in the negative direction, then $x_C=x_B-dcostheta$ and $y_C=y_B-dsintheta$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Nov 21 at 2:45









          Andrei

          10.4k21025




          10.4k21025












          • Thank you, Andrei! You are sure to assume the points A and B. My draw was not the best one.
            – Mário Valney
            Nov 21 at 14:51




















          • Thank you, Andrei! You are sure to assume the points A and B. My draw was not the best one.
            – Mário Valney
            Nov 21 at 14:51


















          Thank you, Andrei! You are sure to assume the points A and B. My draw was not the best one.
          – Mário Valney
          Nov 21 at 14:51






          Thank you, Andrei! You are sure to assume the points A and B. My draw was not the best one.
          – Mário Valney
          Nov 21 at 14:51




















          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.





          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3007159%2fthird-cordinate-of-a-triangle-when-we-know-two-sides-and-two-other-points%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

          Ellipse (mathématiques)

          Quarter-circle Tiles

          Mont Emei