Unit Length Vector and Dot Product












1












$begingroup$


Suppose $vec a$ = [4, 6] and $vec b$ = [1, 2]. Determine:



a) A vector with unit length in the opposite direction to $vec b$



For this question I understand I would have to use the $vec a$ = k ($vec b$) equation since we are a talking about opposite direction which I would consider collinear and from there using the magnitude equation to equal $1$ since that is the unit length and I would substitute the result of $vec a$ = k ($vec b$) like so..
$$1=sqrt (k^2+2k^2)$$
$$1=5k^2$$
$${ 1 oversqrt 5} = k$$
But now I have no idea what to do next because the final answer comes to [$-sqrt 5 over 5$,$-2sqrt 5 over 5$]. Have I done everything correct so far? What do I need to do next?



b) The components of a vector with the same magnitude as $vec a$ making an angle of $60^circ$ with the positive x-axis.



I have no idea how to do this question but I feel like I would have to use the dot product for it










share|cite|improve this question











$endgroup$

















    1












    $begingroup$


    Suppose $vec a$ = [4, 6] and $vec b$ = [1, 2]. Determine:



    a) A vector with unit length in the opposite direction to $vec b$



    For this question I understand I would have to use the $vec a$ = k ($vec b$) equation since we are a talking about opposite direction which I would consider collinear and from there using the magnitude equation to equal $1$ since that is the unit length and I would substitute the result of $vec a$ = k ($vec b$) like so..
    $$1=sqrt (k^2+2k^2)$$
    $$1=5k^2$$
    $${ 1 oversqrt 5} = k$$
    But now I have no idea what to do next because the final answer comes to [$-sqrt 5 over 5$,$-2sqrt 5 over 5$]. Have I done everything correct so far? What do I need to do next?



    b) The components of a vector with the same magnitude as $vec a$ making an angle of $60^circ$ with the positive x-axis.



    I have no idea how to do this question but I feel like I would have to use the dot product for it










    share|cite|improve this question











    $endgroup$















      1












      1








      1





      $begingroup$


      Suppose $vec a$ = [4, 6] and $vec b$ = [1, 2]. Determine:



      a) A vector with unit length in the opposite direction to $vec b$



      For this question I understand I would have to use the $vec a$ = k ($vec b$) equation since we are a talking about opposite direction which I would consider collinear and from there using the magnitude equation to equal $1$ since that is the unit length and I would substitute the result of $vec a$ = k ($vec b$) like so..
      $$1=sqrt (k^2+2k^2)$$
      $$1=5k^2$$
      $${ 1 oversqrt 5} = k$$
      But now I have no idea what to do next because the final answer comes to [$-sqrt 5 over 5$,$-2sqrt 5 over 5$]. Have I done everything correct so far? What do I need to do next?



      b) The components of a vector with the same magnitude as $vec a$ making an angle of $60^circ$ with the positive x-axis.



      I have no idea how to do this question but I feel like I would have to use the dot product for it










      share|cite|improve this question











      $endgroup$




      Suppose $vec a$ = [4, 6] and $vec b$ = [1, 2]. Determine:



      a) A vector with unit length in the opposite direction to $vec b$



      For this question I understand I would have to use the $vec a$ = k ($vec b$) equation since we are a talking about opposite direction which I would consider collinear and from there using the magnitude equation to equal $1$ since that is the unit length and I would substitute the result of $vec a$ = k ($vec b$) like so..
      $$1=sqrt (k^2+2k^2)$$
      $$1=5k^2$$
      $${ 1 oversqrt 5} = k$$
      But now I have no idea what to do next because the final answer comes to [$-sqrt 5 over 5$,$-2sqrt 5 over 5$]. Have I done everything correct so far? What do I need to do next?



      b) The components of a vector with the same magnitude as $vec a$ making an angle of $60^circ$ with the positive x-axis.



      I have no idea how to do this question but I feel like I would have to use the dot product for it







      linear-algebra vector-spaces vectors






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 4 '18 at 5:54









      Aniruddh Venkatesan

      149112




      149112










      asked Mar 3 '16 at 1:31









      Dunja ElezDunja Elez

      877




      877






















          2 Answers
          2






          active

          oldest

          votes


















          0












          $begingroup$

          This is really simple, Dunja. First, normalize the vector $b$ by dividing each of its coordinates by the length of $b$ (which is $sqrt 5$, here). By this, you shrink the vector to length one. Then put a minus in front of this normalized vector to make it opposite direction. Done.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            @FriedrichPhillip How do you know to do that? I understand what is to be done but I don't understand why.
            $endgroup$
            – Dunja Elez
            Mar 3 '16 at 1:43










          • $begingroup$
            Well, let $|x|$ denote the length of a vector $x$. It is easy to prove that for a positive number $a$ we have $|ax| = acdot|x|$. Now, let $a = |x|$. Then the length of the vector $(1/a)x$ is $|(1/a)x| = (1/a)|x| = 1$ since $a = |x|$.
            $endgroup$
            – Friedrich Philipp
            Mar 3 '16 at 1:49



















          0












          $begingroup$

          Since a) has already been answered, I'll go ahead and answer just b)



          Recall that the formula for the angle between two vectors $overrightarrow{a}$ and $overrightarrow{b}$ is $$cos(theta) = frac{overrightarrow{a} bullet overrightarrow{b}}{||overrightarrow{a}||cdot||overrightarrow{b}||}$$



          Now, let's define our two vectors $overrightarrow{a}$ and $overrightarrow{b}$. We know that $overrightarrow{a}$ is begin{pmatrix}
          4 \
          6
          end{pmatrix}
          so therefore its magnitude is $sqrt{4^2+6^2} = 2sqrt{13}$. We know that the x-axis is a horizontal line, and we can represent any vector along it as begin{pmatrix}
          k \
          0
          end{pmatrix}

          where $k in mathbb{R} $. For simplicity's sake, lets let $k = 1$. Now, we define an arbitrary vector $overrightarrow{c}$ such that $$overrightarrow{c} = begin{pmatrix}
          x \
          y
          end{pmatrix}$$

          Then, $||overrightarrow{c}|| = sqrt{x^2+y^2}$



          We now have all the information we need to solve this problem. We want the angle between our two vectors to be $60^circ$, so the LHS of our first equation becomes $cos(60^circ) = frac{1}{2}$
          $$frac{1}{2} = frac{overrightarrow{c} bullet overrightarrow{x}}{2sqrt{13}}$$
          The dot product of $overrightarrow{c} bullet overrightarrow{x} = x$, so our after cross-multiplying, our equation becomes $2x = 2sqrt{13} Longrightarrow x = sqrt{13}$



          Remember, we're solving for the vector $overrightarrow{c}$, and so far, we only know the value of the $x$ component of that vector. We know that $||overrightarrow{c}|| = 2sqrt{13}$, so $$sqrt{x^2+y^2} = 2sqrt{13}$$
          Squaring both sides:$$x^2+y^2=52 Longrightarrow 13 + y^2 = 52$$
          From there we can solve for $y$, leaving us with $y = sqrt{39}$.
          Therefore, our vector $$ overrightarrow{c} = begin{pmatrix}
          sqrt{13} \
          sqrt{39}
          end{pmatrix}$$






          share|cite|improve this answer









          $endgroup$













            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%2f1680816%2funit-length-vector-and-dot-product%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0












            $begingroup$

            This is really simple, Dunja. First, normalize the vector $b$ by dividing each of its coordinates by the length of $b$ (which is $sqrt 5$, here). By this, you shrink the vector to length one. Then put a minus in front of this normalized vector to make it opposite direction. Done.






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              @FriedrichPhillip How do you know to do that? I understand what is to be done but I don't understand why.
              $endgroup$
              – Dunja Elez
              Mar 3 '16 at 1:43










            • $begingroup$
              Well, let $|x|$ denote the length of a vector $x$. It is easy to prove that for a positive number $a$ we have $|ax| = acdot|x|$. Now, let $a = |x|$. Then the length of the vector $(1/a)x$ is $|(1/a)x| = (1/a)|x| = 1$ since $a = |x|$.
              $endgroup$
              – Friedrich Philipp
              Mar 3 '16 at 1:49
















            0












            $begingroup$

            This is really simple, Dunja. First, normalize the vector $b$ by dividing each of its coordinates by the length of $b$ (which is $sqrt 5$, here). By this, you shrink the vector to length one. Then put a minus in front of this normalized vector to make it opposite direction. Done.






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              @FriedrichPhillip How do you know to do that? I understand what is to be done but I don't understand why.
              $endgroup$
              – Dunja Elez
              Mar 3 '16 at 1:43










            • $begingroup$
              Well, let $|x|$ denote the length of a vector $x$. It is easy to prove that for a positive number $a$ we have $|ax| = acdot|x|$. Now, let $a = |x|$. Then the length of the vector $(1/a)x$ is $|(1/a)x| = (1/a)|x| = 1$ since $a = |x|$.
              $endgroup$
              – Friedrich Philipp
              Mar 3 '16 at 1:49














            0












            0








            0





            $begingroup$

            This is really simple, Dunja. First, normalize the vector $b$ by dividing each of its coordinates by the length of $b$ (which is $sqrt 5$, here). By this, you shrink the vector to length one. Then put a minus in front of this normalized vector to make it opposite direction. Done.






            share|cite|improve this answer









            $endgroup$



            This is really simple, Dunja. First, normalize the vector $b$ by dividing each of its coordinates by the length of $b$ (which is $sqrt 5$, here). By this, you shrink the vector to length one. Then put a minus in front of this normalized vector to make it opposite direction. Done.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Mar 3 '16 at 1:37









            Friedrich PhilippFriedrich Philipp

            3,341414




            3,341414












            • $begingroup$
              @FriedrichPhillip How do you know to do that? I understand what is to be done but I don't understand why.
              $endgroup$
              – Dunja Elez
              Mar 3 '16 at 1:43










            • $begingroup$
              Well, let $|x|$ denote the length of a vector $x$. It is easy to prove that for a positive number $a$ we have $|ax| = acdot|x|$. Now, let $a = |x|$. Then the length of the vector $(1/a)x$ is $|(1/a)x| = (1/a)|x| = 1$ since $a = |x|$.
              $endgroup$
              – Friedrich Philipp
              Mar 3 '16 at 1:49


















            • $begingroup$
              @FriedrichPhillip How do you know to do that? I understand what is to be done but I don't understand why.
              $endgroup$
              – Dunja Elez
              Mar 3 '16 at 1:43










            • $begingroup$
              Well, let $|x|$ denote the length of a vector $x$. It is easy to prove that for a positive number $a$ we have $|ax| = acdot|x|$. Now, let $a = |x|$. Then the length of the vector $(1/a)x$ is $|(1/a)x| = (1/a)|x| = 1$ since $a = |x|$.
              $endgroup$
              – Friedrich Philipp
              Mar 3 '16 at 1:49
















            $begingroup$
            @FriedrichPhillip How do you know to do that? I understand what is to be done but I don't understand why.
            $endgroup$
            – Dunja Elez
            Mar 3 '16 at 1:43




            $begingroup$
            @FriedrichPhillip How do you know to do that? I understand what is to be done but I don't understand why.
            $endgroup$
            – Dunja Elez
            Mar 3 '16 at 1:43












            $begingroup$
            Well, let $|x|$ denote the length of a vector $x$. It is easy to prove that for a positive number $a$ we have $|ax| = acdot|x|$. Now, let $a = |x|$. Then the length of the vector $(1/a)x$ is $|(1/a)x| = (1/a)|x| = 1$ since $a = |x|$.
            $endgroup$
            – Friedrich Philipp
            Mar 3 '16 at 1:49




            $begingroup$
            Well, let $|x|$ denote the length of a vector $x$. It is easy to prove that for a positive number $a$ we have $|ax| = acdot|x|$. Now, let $a = |x|$. Then the length of the vector $(1/a)x$ is $|(1/a)x| = (1/a)|x| = 1$ since $a = |x|$.
            $endgroup$
            – Friedrich Philipp
            Mar 3 '16 at 1:49











            0












            $begingroup$

            Since a) has already been answered, I'll go ahead and answer just b)



            Recall that the formula for the angle between two vectors $overrightarrow{a}$ and $overrightarrow{b}$ is $$cos(theta) = frac{overrightarrow{a} bullet overrightarrow{b}}{||overrightarrow{a}||cdot||overrightarrow{b}||}$$



            Now, let's define our two vectors $overrightarrow{a}$ and $overrightarrow{b}$. We know that $overrightarrow{a}$ is begin{pmatrix}
            4 \
            6
            end{pmatrix}
            so therefore its magnitude is $sqrt{4^2+6^2} = 2sqrt{13}$. We know that the x-axis is a horizontal line, and we can represent any vector along it as begin{pmatrix}
            k \
            0
            end{pmatrix}

            where $k in mathbb{R} $. For simplicity's sake, lets let $k = 1$. Now, we define an arbitrary vector $overrightarrow{c}$ such that $$overrightarrow{c} = begin{pmatrix}
            x \
            y
            end{pmatrix}$$

            Then, $||overrightarrow{c}|| = sqrt{x^2+y^2}$



            We now have all the information we need to solve this problem. We want the angle between our two vectors to be $60^circ$, so the LHS of our first equation becomes $cos(60^circ) = frac{1}{2}$
            $$frac{1}{2} = frac{overrightarrow{c} bullet overrightarrow{x}}{2sqrt{13}}$$
            The dot product of $overrightarrow{c} bullet overrightarrow{x} = x$, so our after cross-multiplying, our equation becomes $2x = 2sqrt{13} Longrightarrow x = sqrt{13}$



            Remember, we're solving for the vector $overrightarrow{c}$, and so far, we only know the value of the $x$ component of that vector. We know that $||overrightarrow{c}|| = 2sqrt{13}$, so $$sqrt{x^2+y^2} = 2sqrt{13}$$
            Squaring both sides:$$x^2+y^2=52 Longrightarrow 13 + y^2 = 52$$
            From there we can solve for $y$, leaving us with $y = sqrt{39}$.
            Therefore, our vector $$ overrightarrow{c} = begin{pmatrix}
            sqrt{13} \
            sqrt{39}
            end{pmatrix}$$






            share|cite|improve this answer









            $endgroup$


















              0












              $begingroup$

              Since a) has already been answered, I'll go ahead and answer just b)



              Recall that the formula for the angle between two vectors $overrightarrow{a}$ and $overrightarrow{b}$ is $$cos(theta) = frac{overrightarrow{a} bullet overrightarrow{b}}{||overrightarrow{a}||cdot||overrightarrow{b}||}$$



              Now, let's define our two vectors $overrightarrow{a}$ and $overrightarrow{b}$. We know that $overrightarrow{a}$ is begin{pmatrix}
              4 \
              6
              end{pmatrix}
              so therefore its magnitude is $sqrt{4^2+6^2} = 2sqrt{13}$. We know that the x-axis is a horizontal line, and we can represent any vector along it as begin{pmatrix}
              k \
              0
              end{pmatrix}

              where $k in mathbb{R} $. For simplicity's sake, lets let $k = 1$. Now, we define an arbitrary vector $overrightarrow{c}$ such that $$overrightarrow{c} = begin{pmatrix}
              x \
              y
              end{pmatrix}$$

              Then, $||overrightarrow{c}|| = sqrt{x^2+y^2}$



              We now have all the information we need to solve this problem. We want the angle between our two vectors to be $60^circ$, so the LHS of our first equation becomes $cos(60^circ) = frac{1}{2}$
              $$frac{1}{2} = frac{overrightarrow{c} bullet overrightarrow{x}}{2sqrt{13}}$$
              The dot product of $overrightarrow{c} bullet overrightarrow{x} = x$, so our after cross-multiplying, our equation becomes $2x = 2sqrt{13} Longrightarrow x = sqrt{13}$



              Remember, we're solving for the vector $overrightarrow{c}$, and so far, we only know the value of the $x$ component of that vector. We know that $||overrightarrow{c}|| = 2sqrt{13}$, so $$sqrt{x^2+y^2} = 2sqrt{13}$$
              Squaring both sides:$$x^2+y^2=52 Longrightarrow 13 + y^2 = 52$$
              From there we can solve for $y$, leaving us with $y = sqrt{39}$.
              Therefore, our vector $$ overrightarrow{c} = begin{pmatrix}
              sqrt{13} \
              sqrt{39}
              end{pmatrix}$$






              share|cite|improve this answer









              $endgroup$
















                0












                0








                0





                $begingroup$

                Since a) has already been answered, I'll go ahead and answer just b)



                Recall that the formula for the angle between two vectors $overrightarrow{a}$ and $overrightarrow{b}$ is $$cos(theta) = frac{overrightarrow{a} bullet overrightarrow{b}}{||overrightarrow{a}||cdot||overrightarrow{b}||}$$



                Now, let's define our two vectors $overrightarrow{a}$ and $overrightarrow{b}$. We know that $overrightarrow{a}$ is begin{pmatrix}
                4 \
                6
                end{pmatrix}
                so therefore its magnitude is $sqrt{4^2+6^2} = 2sqrt{13}$. We know that the x-axis is a horizontal line, and we can represent any vector along it as begin{pmatrix}
                k \
                0
                end{pmatrix}

                where $k in mathbb{R} $. For simplicity's sake, lets let $k = 1$. Now, we define an arbitrary vector $overrightarrow{c}$ such that $$overrightarrow{c} = begin{pmatrix}
                x \
                y
                end{pmatrix}$$

                Then, $||overrightarrow{c}|| = sqrt{x^2+y^2}$



                We now have all the information we need to solve this problem. We want the angle between our two vectors to be $60^circ$, so the LHS of our first equation becomes $cos(60^circ) = frac{1}{2}$
                $$frac{1}{2} = frac{overrightarrow{c} bullet overrightarrow{x}}{2sqrt{13}}$$
                The dot product of $overrightarrow{c} bullet overrightarrow{x} = x$, so our after cross-multiplying, our equation becomes $2x = 2sqrt{13} Longrightarrow x = sqrt{13}$



                Remember, we're solving for the vector $overrightarrow{c}$, and so far, we only know the value of the $x$ component of that vector. We know that $||overrightarrow{c}|| = 2sqrt{13}$, so $$sqrt{x^2+y^2} = 2sqrt{13}$$
                Squaring both sides:$$x^2+y^2=52 Longrightarrow 13 + y^2 = 52$$
                From there we can solve for $y$, leaving us with $y = sqrt{39}$.
                Therefore, our vector $$ overrightarrow{c} = begin{pmatrix}
                sqrt{13} \
                sqrt{39}
                end{pmatrix}$$






                share|cite|improve this answer









                $endgroup$



                Since a) has already been answered, I'll go ahead and answer just b)



                Recall that the formula for the angle between two vectors $overrightarrow{a}$ and $overrightarrow{b}$ is $$cos(theta) = frac{overrightarrow{a} bullet overrightarrow{b}}{||overrightarrow{a}||cdot||overrightarrow{b}||}$$



                Now, let's define our two vectors $overrightarrow{a}$ and $overrightarrow{b}$. We know that $overrightarrow{a}$ is begin{pmatrix}
                4 \
                6
                end{pmatrix}
                so therefore its magnitude is $sqrt{4^2+6^2} = 2sqrt{13}$. We know that the x-axis is a horizontal line, and we can represent any vector along it as begin{pmatrix}
                k \
                0
                end{pmatrix}

                where $k in mathbb{R} $. For simplicity's sake, lets let $k = 1$. Now, we define an arbitrary vector $overrightarrow{c}$ such that $$overrightarrow{c} = begin{pmatrix}
                x \
                y
                end{pmatrix}$$

                Then, $||overrightarrow{c}|| = sqrt{x^2+y^2}$



                We now have all the information we need to solve this problem. We want the angle between our two vectors to be $60^circ$, so the LHS of our first equation becomes $cos(60^circ) = frac{1}{2}$
                $$frac{1}{2} = frac{overrightarrow{c} bullet overrightarrow{x}}{2sqrt{13}}$$
                The dot product of $overrightarrow{c} bullet overrightarrow{x} = x$, so our after cross-multiplying, our equation becomes $2x = 2sqrt{13} Longrightarrow x = sqrt{13}$



                Remember, we're solving for the vector $overrightarrow{c}$, and so far, we only know the value of the $x$ component of that vector. We know that $||overrightarrow{c}|| = 2sqrt{13}$, so $$sqrt{x^2+y^2} = 2sqrt{13}$$
                Squaring both sides:$$x^2+y^2=52 Longrightarrow 13 + y^2 = 52$$
                From there we can solve for $y$, leaving us with $y = sqrt{39}$.
                Therefore, our vector $$ overrightarrow{c} = begin{pmatrix}
                sqrt{13} \
                sqrt{39}
                end{pmatrix}$$







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Nov 4 '18 at 5:24









                Aniruddh VenkatesanAniruddh Venkatesan

                149112




                149112






























                    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%2f1680816%2funit-length-vector-and-dot-product%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

                    Plaza Victoria

                    In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                    How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...