Average direction between two vectors The 2019 Stack Overflow Developer Survey Results Are...

Sub-subscripts in strings cause different spacings than subscripts

Python - Fishing Simulator

What was the last x86 CPU that did not have the x87 floating-point unit built in?

Match Roman Numerals

For what reasons would an animal species NOT cross a *horizontal* land bridge?

Why are there uneven bright areas in this photo of black hole?

Why can't devices on different VLANs, but on the same subnet, communicate?

Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?

Does Parliament hold absolute power in the UK?

Deal with toxic manager when you can't quit

Would an alien lifeform be able to achieve space travel if lacking in vision?

Sort list of array linked objects by keys and values

Presidential Pardon

60's-70's movie: home appliances revolting against the owners

Huge performance difference of the command find with and without using %M option to show permissions

What force causes entropy to increase?

how can a perfect fourth interval be considered either consonant or dissonant?

Loose spokes after only a few rides

Word for: a synonym with a positive connotation?

What is the padding with red substance inside of steak packaging?

Is every episode of "Where are my Pants?" identical?

Accepted by European university, rejected by all American ones I applied to? Possible reasons?

Windows 10: How to Lock (not sleep) laptop on lid close?

Mortgage adviser recommends a longer term than necessary combined with overpayments



Average direction between two vectors



The 2019 Stack Overflow Developer Survey Results Are In
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraFind direction of angle between 2 vectorsPoint on a plane perpendicular to a lineHow to find the “average” direction of a set of vectors?Splitting a vector into two axis aligned vectorsIncreasing or decreasing theta based on direction of vectorWhen Does a Normal Line Intersect The PlaneN-Dimensional “Angles” Between VectorsHow to computer two Euler Angles between two vectorsPlotting a vector in 3D space between two points on a ellipsoidWhat makes two lines in 3-space perpendicular?












0












$begingroup$


this is my first time asking a question so I'm sorry in advance for any mistake I might make.



So I have 3 points in 3D space: A, B and C.
What I want to do is have an object on point B point towards a specific direction.



Here's a quick drawing of what I mean.



So fistly I have a vector that goes from point B to point A. Then the same but from B to C. And finally I want to find a direction that is kind of the "average" between those two vectors (not sure if this is the right term).
But not the blue line, the RED line is basically what I want. I need to get the vector that corresponds to that direction (magnitude is not important).



Should I find the vector of the line that is painted blue and then find it's perpendicular vector?
Is there an easier way to find the red vector?
Is this even possible?



I'm not sure if this is a silly question or not but I hope someone can help me with it! Thanks a lot.










share|cite|improve this question









$endgroup$

















    0












    $begingroup$


    this is my first time asking a question so I'm sorry in advance for any mistake I might make.



    So I have 3 points in 3D space: A, B and C.
    What I want to do is have an object on point B point towards a specific direction.



    Here's a quick drawing of what I mean.



    So fistly I have a vector that goes from point B to point A. Then the same but from B to C. And finally I want to find a direction that is kind of the "average" between those two vectors (not sure if this is the right term).
    But not the blue line, the RED line is basically what I want. I need to get the vector that corresponds to that direction (magnitude is not important).



    Should I find the vector of the line that is painted blue and then find it's perpendicular vector?
    Is there an easier way to find the red vector?
    Is this even possible?



    I'm not sure if this is a silly question or not but I hope someone can help me with it! Thanks a lot.










    share|cite|improve this question









    $endgroup$















      0












      0








      0





      $begingroup$


      this is my first time asking a question so I'm sorry in advance for any mistake I might make.



      So I have 3 points in 3D space: A, B and C.
      What I want to do is have an object on point B point towards a specific direction.



      Here's a quick drawing of what I mean.



      So fistly I have a vector that goes from point B to point A. Then the same but from B to C. And finally I want to find a direction that is kind of the "average" between those two vectors (not sure if this is the right term).
      But not the blue line, the RED line is basically what I want. I need to get the vector that corresponds to that direction (magnitude is not important).



      Should I find the vector of the line that is painted blue and then find it's perpendicular vector?
      Is there an easier way to find the red vector?
      Is this even possible?



      I'm not sure if this is a silly question or not but I hope someone can help me with it! Thanks a lot.










      share|cite|improve this question









      $endgroup$




      this is my first time asking a question so I'm sorry in advance for any mistake I might make.



      So I have 3 points in 3D space: A, B and C.
      What I want to do is have an object on point B point towards a specific direction.



      Here's a quick drawing of what I mean.



      So fistly I have a vector that goes from point B to point A. Then the same but from B to C. And finally I want to find a direction that is kind of the "average" between those two vectors (not sure if this is the right term).
      But not the blue line, the RED line is basically what I want. I need to get the vector that corresponds to that direction (magnitude is not important).



      Should I find the vector of the line that is painted blue and then find it's perpendicular vector?
      Is there an easier way to find the red vector?
      Is this even possible?



      I'm not sure if this is a silly question or not but I hope someone can help me with it! Thanks a lot.







      vectors average angle






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Mar 22 at 13:18









      Diogo MartinsDiogo Martins

      32




      32






















          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          You can compute the average of the vectors, but if you only want the direction, you can use the sum $vec{AB} + vec{BC} = vec{AC}$, that has the same direction and the double of the magnitude.



          Since $vec{AB}=(B_x-A_x; B_y-A_y; B_z-A_z)$, where $A_x$ is the $x$ coordinate of point $A$, etc.



          And $vec{BC}=(C_x-B_x; C_y-B_y; C_z-B_z)$, then, after simplification:



          $vec{AB} + vec{BC} = (C_x-A_x; C_y-A_y; C_z-A_z) = vec{AC}$.



          Note that the red (straight) line has, as characteristics, passing through point $B$ and being parallel to the straight line that passes through $A$ and $C$.






          share|cite|improve this answer











          $endgroup$














            Your Answer








            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%2f3158131%2faverage-direction-between-two-vectors%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$

            You can compute the average of the vectors, but if you only want the direction, you can use the sum $vec{AB} + vec{BC} = vec{AC}$, that has the same direction and the double of the magnitude.



            Since $vec{AB}=(B_x-A_x; B_y-A_y; B_z-A_z)$, where $A_x$ is the $x$ coordinate of point $A$, etc.



            And $vec{BC}=(C_x-B_x; C_y-B_y; C_z-B_z)$, then, after simplification:



            $vec{AB} + vec{BC} = (C_x-A_x; C_y-A_y; C_z-A_z) = vec{AC}$.



            Note that the red (straight) line has, as characteristics, passing through point $B$ and being parallel to the straight line that passes through $A$ and $C$.






            share|cite|improve this answer











            $endgroup$


















              0












              $begingroup$

              You can compute the average of the vectors, but if you only want the direction, you can use the sum $vec{AB} + vec{BC} = vec{AC}$, that has the same direction and the double of the magnitude.



              Since $vec{AB}=(B_x-A_x; B_y-A_y; B_z-A_z)$, where $A_x$ is the $x$ coordinate of point $A$, etc.



              And $vec{BC}=(C_x-B_x; C_y-B_y; C_z-B_z)$, then, after simplification:



              $vec{AB} + vec{BC} = (C_x-A_x; C_y-A_y; C_z-A_z) = vec{AC}$.



              Note that the red (straight) line has, as characteristics, passing through point $B$ and being parallel to the straight line that passes through $A$ and $C$.






              share|cite|improve this answer











              $endgroup$
















                0












                0








                0





                $begingroup$

                You can compute the average of the vectors, but if you only want the direction, you can use the sum $vec{AB} + vec{BC} = vec{AC}$, that has the same direction and the double of the magnitude.



                Since $vec{AB}=(B_x-A_x; B_y-A_y; B_z-A_z)$, where $A_x$ is the $x$ coordinate of point $A$, etc.



                And $vec{BC}=(C_x-B_x; C_y-B_y; C_z-B_z)$, then, after simplification:



                $vec{AB} + vec{BC} = (C_x-A_x; C_y-A_y; C_z-A_z) = vec{AC}$.



                Note that the red (straight) line has, as characteristics, passing through point $B$ and being parallel to the straight line that passes through $A$ and $C$.






                share|cite|improve this answer











                $endgroup$



                You can compute the average of the vectors, but if you only want the direction, you can use the sum $vec{AB} + vec{BC} = vec{AC}$, that has the same direction and the double of the magnitude.



                Since $vec{AB}=(B_x-A_x; B_y-A_y; B_z-A_z)$, where $A_x$ is the $x$ coordinate of point $A$, etc.



                And $vec{BC}=(C_x-B_x; C_y-B_y; C_z-B_z)$, then, after simplification:



                $vec{AB} + vec{BC} = (C_x-A_x; C_y-A_y; C_z-A_z) = vec{AC}$.



                Note that the red (straight) line has, as characteristics, passing through point $B$ and being parallel to the straight line that passes through $A$ and $C$.







                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited Mar 22 at 13:48

























                answered Mar 22 at 13:42









                ErtxiemErtxiem

                726212




                726212






























                    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%2f3158131%2faverage-direction-between-two-vectors%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

                    Nidaros erkebispedøme

                    Birsay

                    Where did Arya get these scars? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Favourite questions and answers from the 1st quarter of 2019Why did Arya refuse to end it?Has the pronunciation of Arya Stark's name changed?Has Arya forgiven people?Why did Arya Stark lose her vision?Why can Arya still use the faces?Has the Narrow Sea become narrower?Does Arya Stark know how to make poisons outside of the House of Black and White?Why did Nymeria leave Arya?Why did Arya not kill the Lannister soldiers she encountered in the Riverlands?What is the current canonical age of Sansa, Bran and Arya Stark?