proof for Dot product and projection.

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












dot product can be defined like this.



The dot product a · b is equal to the signed length of the projection of b onto any line parallel to a, multiplied by the length of a.



a.b = (length of projection of b on a) * |a|


How is projection related with dot product ?. And any proof for this formula.







share|cite|improve this question



















  • Hint: Lie the vectors on a plane and use trigonometry to express the components.
    – ja72
    Aug 1 at 18:24














up vote
0
down vote

favorite












dot product can be defined like this.



The dot product a · b is equal to the signed length of the projection of b onto any line parallel to a, multiplied by the length of a.



a.b = (length of projection of b on a) * |a|


How is projection related with dot product ?. And any proof for this formula.







share|cite|improve this question



















  • Hint: Lie the vectors on a plane and use trigonometry to express the components.
    – ja72
    Aug 1 at 18:24












up vote
0
down vote

favorite









up vote
0
down vote

favorite











dot product can be defined like this.



The dot product a · b is equal to the signed length of the projection of b onto any line parallel to a, multiplied by the length of a.



a.b = (length of projection of b on a) * |a|


How is projection related with dot product ?. And any proof for this formula.







share|cite|improve this question











dot product can be defined like this.



The dot product a · b is equal to the signed length of the projection of b onto any line parallel to a, multiplied by the length of a.



a.b = (length of projection of b on a) * |a|


How is projection related with dot product ?. And any proof for this formula.









share|cite|improve this question










share|cite|improve this question




share|cite|improve this question









asked Aug 1 at 13:38









Atul

1106




1106











  • Hint: Lie the vectors on a plane and use trigonometry to express the components.
    – ja72
    Aug 1 at 18:24
















  • Hint: Lie the vectors on a plane and use trigonometry to express the components.
    – ja72
    Aug 1 at 18:24















Hint: Lie the vectors on a plane and use trigonometry to express the components.
– ja72
Aug 1 at 18:24




Hint: Lie the vectors on a plane and use trigonometry to express the components.
– ja72
Aug 1 at 18:24










2 Answers
2






active

oldest

votes

















up vote
0
down vote













The orthogonal projection of $b$ onto the line generated by $a$ is a vector $ra$. such that $b-ra$ is orthogonal to $a$. Then $0=(b-ra)cdot a=bcdot a-r(acdot a)$.



Therefore $acdot b=r|a|^2$. Since the projection is $ra$, its length is $|ra|=|r||a|$.



So, $bcdot a=r|a||a|=sign(r)|ra||a|$.



In your formula I guess you need to interpret "legnth of the projection" as "signed length of the projection", which is the $r|a|$.



For example, if $a=(1,0)$, then the projections of $b_1=(1,1)$ and $b_2=(-1,1)$ onto the line generated by $a$, which is the $x$-axis, have the same length. But $acdot b_1=1$, while $acdot b_2=-1$.






share|cite|improve this answer




























    up vote
    0
    down vote













    The projection $P_a(b)$ of $b$ on $a$ is in general defined by



    $$ |P_a(b)-b| = min_lambda | lambda a - b |. $$



    Now if you have a scalar product on your vector space, you can square the norms and get for the right side



    $$ |lambda-b|^2 = lambda^2|a|^2 - 2 lambda <a,b> + |b|^2. $$



    which is optimal for



    $$ 2 lambda |a|^2 = 2 <a,b> $$



    or $$lambda = frac<a,b>. $$



    Hence, we can calculate the projection then by



    $$ P_a(b) = lambda a = <fraca, b> fraca. $$



    So, if you have a scalar product you can easily calculate the projection, which should be your desired relation.




    Now to your formula: The length of the projection is



    $$ |P_a(b)| = |lambda||a|= left|frac<a, b>right| |a| $$



    which is



    $$ |P_a(b)||a| = |<a, b>|. $$






    share|cite|improve this answer





















      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: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      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%2f2869080%2fproof-for-dot-product-and-projection%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      0
      down vote













      The orthogonal projection of $b$ onto the line generated by $a$ is a vector $ra$. such that $b-ra$ is orthogonal to $a$. Then $0=(b-ra)cdot a=bcdot a-r(acdot a)$.



      Therefore $acdot b=r|a|^2$. Since the projection is $ra$, its length is $|ra|=|r||a|$.



      So, $bcdot a=r|a||a|=sign(r)|ra||a|$.



      In your formula I guess you need to interpret "legnth of the projection" as "signed length of the projection", which is the $r|a|$.



      For example, if $a=(1,0)$, then the projections of $b_1=(1,1)$ and $b_2=(-1,1)$ onto the line generated by $a$, which is the $x$-axis, have the same length. But $acdot b_1=1$, while $acdot b_2=-1$.






      share|cite|improve this answer

























        up vote
        0
        down vote













        The orthogonal projection of $b$ onto the line generated by $a$ is a vector $ra$. such that $b-ra$ is orthogonal to $a$. Then $0=(b-ra)cdot a=bcdot a-r(acdot a)$.



        Therefore $acdot b=r|a|^2$. Since the projection is $ra$, its length is $|ra|=|r||a|$.



        So, $bcdot a=r|a||a|=sign(r)|ra||a|$.



        In your formula I guess you need to interpret "legnth of the projection" as "signed length of the projection", which is the $r|a|$.



        For example, if $a=(1,0)$, then the projections of $b_1=(1,1)$ and $b_2=(-1,1)$ onto the line generated by $a$, which is the $x$-axis, have the same length. But $acdot b_1=1$, while $acdot b_2=-1$.






        share|cite|improve this answer























          up vote
          0
          down vote










          up vote
          0
          down vote









          The orthogonal projection of $b$ onto the line generated by $a$ is a vector $ra$. such that $b-ra$ is orthogonal to $a$. Then $0=(b-ra)cdot a=bcdot a-r(acdot a)$.



          Therefore $acdot b=r|a|^2$. Since the projection is $ra$, its length is $|ra|=|r||a|$.



          So, $bcdot a=r|a||a|=sign(r)|ra||a|$.



          In your formula I guess you need to interpret "legnth of the projection" as "signed length of the projection", which is the $r|a|$.



          For example, if $a=(1,0)$, then the projections of $b_1=(1,1)$ and $b_2=(-1,1)$ onto the line generated by $a$, which is the $x$-axis, have the same length. But $acdot b_1=1$, while $acdot b_2=-1$.






          share|cite|improve this answer













          The orthogonal projection of $b$ onto the line generated by $a$ is a vector $ra$. such that $b-ra$ is orthogonal to $a$. Then $0=(b-ra)cdot a=bcdot a-r(acdot a)$.



          Therefore $acdot b=r|a|^2$. Since the projection is $ra$, its length is $|ra|=|r||a|$.



          So, $bcdot a=r|a||a|=sign(r)|ra||a|$.



          In your formula I guess you need to interpret "legnth of the projection" as "signed length of the projection", which is the $r|a|$.



          For example, if $a=(1,0)$, then the projections of $b_1=(1,1)$ and $b_2=(-1,1)$ onto the line generated by $a$, which is the $x$-axis, have the same length. But $acdot b_1=1$, while $acdot b_2=-1$.







          share|cite|improve this answer













          share|cite|improve this answer



          share|cite|improve this answer











          answered Aug 1 at 13:46









          byanalogy

          1




          1




















              up vote
              0
              down vote













              The projection $P_a(b)$ of $b$ on $a$ is in general defined by



              $$ |P_a(b)-b| = min_lambda | lambda a - b |. $$



              Now if you have a scalar product on your vector space, you can square the norms and get for the right side



              $$ |lambda-b|^2 = lambda^2|a|^2 - 2 lambda <a,b> + |b|^2. $$



              which is optimal for



              $$ 2 lambda |a|^2 = 2 <a,b> $$



              or $$lambda = frac<a,b>. $$



              Hence, we can calculate the projection then by



              $$ P_a(b) = lambda a = <fraca, b> fraca. $$



              So, if you have a scalar product you can easily calculate the projection, which should be your desired relation.




              Now to your formula: The length of the projection is



              $$ |P_a(b)| = |lambda||a|= left|frac<a, b>right| |a| $$



              which is



              $$ |P_a(b)||a| = |<a, b>|. $$






              share|cite|improve this answer

























                up vote
                0
                down vote













                The projection $P_a(b)$ of $b$ on $a$ is in general defined by



                $$ |P_a(b)-b| = min_lambda | lambda a - b |. $$



                Now if you have a scalar product on your vector space, you can square the norms and get for the right side



                $$ |lambda-b|^2 = lambda^2|a|^2 - 2 lambda <a,b> + |b|^2. $$



                which is optimal for



                $$ 2 lambda |a|^2 = 2 <a,b> $$



                or $$lambda = frac<a,b>. $$



                Hence, we can calculate the projection then by



                $$ P_a(b) = lambda a = <fraca, b> fraca. $$



                So, if you have a scalar product you can easily calculate the projection, which should be your desired relation.




                Now to your formula: The length of the projection is



                $$ |P_a(b)| = |lambda||a|= left|frac<a, b>right| |a| $$



                which is



                $$ |P_a(b)||a| = |<a, b>|. $$






                share|cite|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  The projection $P_a(b)$ of $b$ on $a$ is in general defined by



                  $$ |P_a(b)-b| = min_lambda | lambda a - b |. $$



                  Now if you have a scalar product on your vector space, you can square the norms and get for the right side



                  $$ |lambda-b|^2 = lambda^2|a|^2 - 2 lambda <a,b> + |b|^2. $$



                  which is optimal for



                  $$ 2 lambda |a|^2 = 2 <a,b> $$



                  or $$lambda = frac<a,b>. $$



                  Hence, we can calculate the projection then by



                  $$ P_a(b) = lambda a = <fraca, b> fraca. $$



                  So, if you have a scalar product you can easily calculate the projection, which should be your desired relation.




                  Now to your formula: The length of the projection is



                  $$ |P_a(b)| = |lambda||a|= left|frac<a, b>right| |a| $$



                  which is



                  $$ |P_a(b)||a| = |<a, b>|. $$






                  share|cite|improve this answer













                  The projection $P_a(b)$ of $b$ on $a$ is in general defined by



                  $$ |P_a(b)-b| = min_lambda | lambda a - b |. $$



                  Now if you have a scalar product on your vector space, you can square the norms and get for the right side



                  $$ |lambda-b|^2 = lambda^2|a|^2 - 2 lambda <a,b> + |b|^2. $$



                  which is optimal for



                  $$ 2 lambda |a|^2 = 2 <a,b> $$



                  or $$lambda = frac<a,b>. $$



                  Hence, we can calculate the projection then by



                  $$ P_a(b) = lambda a = <fraca, b> fraca. $$



                  So, if you have a scalar product you can easily calculate the projection, which should be your desired relation.




                  Now to your formula: The length of the projection is



                  $$ |P_a(b)| = |lambda||a|= left|frac<a, b>right| |a| $$



                  which is



                  $$ |P_a(b)||a| = |<a, b>|. $$







                  share|cite|improve this answer













                  share|cite|improve this answer



                  share|cite|improve this answer











                  answered Aug 1 at 20:33









                  til

                  694




                  694






















                       

                      draft saved


                      draft discarded


























                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2869080%2fproof-for-dot-product-and-projection%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Comments

                      Popular posts from this blog

                      What is the equation of a 3D cone with generalised tilt?

                      Color the edges and diagonals of a regular polygon

                      Relationship between determinant of matrix and determinant of adjoint?