What is the difference between the dot product and the scalar projection?Is there any distinction between these products: scalar, dot, inner?Proof of equivalance beginning with the geometrical definition of the scalar (dot) product and the algebraic definition of the dot product.What separates the dot product from the scalar projection?What is the difference between and projection and a reflection, in vector transformation?Why is the dot product defined as a scalar and the cross product a normal vector?relationship between scalar product and tensor productWhy are the two dot product definitions equal?Taking the Dot product of two normalized vectors (unit vectors) vs the dot product of two non-normalized vectorsDifference between dot product and cross productWhy is the dot product of two vectors a scalar value?

How is the Swiss post e-voting system supposed to work, and how was it wrong?

Does the Bracer of Flying Daggers benefit from the Dueling Fighting style?

Question about partial fractions with irreducible quadratic factors

What Happens when Passenger Refuses to Fly Boeing 737 Max?

When is a batch class instantiated when you schedule it?

"One can do his homework in the library"

Can infringement of a trademark be pursued for using a company's name in a sentence?

Why don't MCU characters ever seem to have language issues?

How could a female member of a species produce eggs unto death?

What is the blue range indicating on this manifold pressure gauge?

Force user to remove USB token

Time travel short story where dinosaur doesn't taste like chicken

Is "history" a male-biased word ("his+story")?

Prove that the total distance is minimised (when travelling across the longest path)

Does Linux have system calls to access all the features of the file systems it supports?

Plywood subfloor won't screw down in a trailer home

How to make readers know that my work has used a hidden constraint?

What is the definition of "Natural Selection"?

Good allowance savings plan?

How do anti-virus programs start at Windows boot?

Is it illegal in Germany to take sick leave if you caused your own illness with food?

Is it ok to include an epilogue dedicated to colleagues who passed away in the end of the manuscript?

Humans have energy, but not water. What happens?

Should QA ask requirements to developers?



What is the difference between the dot product and the scalar projection?


Is there any distinction between these products: scalar, dot, inner?Proof of equivalance beginning with the geometrical definition of the scalar (dot) product and the algebraic definition of the dot product.What separates the dot product from the scalar projection?What is the difference between and projection and a reflection, in vector transformation?Why is the dot product defined as a scalar and the cross product a normal vector?relationship between scalar product and tensor productWhy are the two dot product definitions equal?Taking the Dot product of two normalized vectors (unit vectors) vs the dot product of two non-normalized vectorsDifference between dot product and cross productWhy is the dot product of two vectors a scalar value?













4












$begingroup$


I don't understand the difference between the dot product of two vectors and the scalar projection of a vector onto another one.



To me it looks like they are both (geometrically) the length of the vector projection. I am wrong since their formulas are different, so can anyone explain why?










share|cite|improve this question











$endgroup$











  • $begingroup$
    What do you mean by "the scalar projection"? Evidently, you don't use that phrase to mean the same thing as "the vector projection", so what do you mean by that term?
    $endgroup$
    – Gerry Myerson
    Dec 12 '14 at 5:16






  • 1




    $begingroup$
    @GerryMyerson: I apologize if this is not a universal term. In my grade 12 class, we defined the scalar projection as $operatornamecomp_vecavecb:=dfracvecacdot vecb$
    $endgroup$
    – John Trentnor
    Dec 12 '14 at 5:27







  • 1




    $begingroup$
    We also learned that the vector projection is $operatornameproj_vecavecb:=operatornamecomp_vecavecbcdot dfracveca$. That is, the vector projection is the scalar projection multiplied by a unit vector in the direction of $a$.
    $endgroup$
    – John Trentnor
    Dec 12 '14 at 5:30











  • $begingroup$
    Then the dot product doesn't give the length of the vector projection, since the former is $acdot b$ while the latter is $acdot b/|a|$. I don't see what there is to explain.
    $endgroup$
    – Gerry Myerson
    Dec 12 '14 at 5:34







  • 1




    $begingroup$
    Well, yes, the two formulas are identical if $|a|=1$.
    $endgroup$
    – Gerry Myerson
    Dec 12 '14 at 5:41















4












$begingroup$


I don't understand the difference between the dot product of two vectors and the scalar projection of a vector onto another one.



To me it looks like they are both (geometrically) the length of the vector projection. I am wrong since their formulas are different, so can anyone explain why?










share|cite|improve this question











$endgroup$











  • $begingroup$
    What do you mean by "the scalar projection"? Evidently, you don't use that phrase to mean the same thing as "the vector projection", so what do you mean by that term?
    $endgroup$
    – Gerry Myerson
    Dec 12 '14 at 5:16






  • 1




    $begingroup$
    @GerryMyerson: I apologize if this is not a universal term. In my grade 12 class, we defined the scalar projection as $operatornamecomp_vecavecb:=dfracvecacdot vecb$
    $endgroup$
    – John Trentnor
    Dec 12 '14 at 5:27







  • 1




    $begingroup$
    We also learned that the vector projection is $operatornameproj_vecavecb:=operatornamecomp_vecavecbcdot dfracveca$. That is, the vector projection is the scalar projection multiplied by a unit vector in the direction of $a$.
    $endgroup$
    – John Trentnor
    Dec 12 '14 at 5:30











  • $begingroup$
    Then the dot product doesn't give the length of the vector projection, since the former is $acdot b$ while the latter is $acdot b/|a|$. I don't see what there is to explain.
    $endgroup$
    – Gerry Myerson
    Dec 12 '14 at 5:34







  • 1




    $begingroup$
    Well, yes, the two formulas are identical if $|a|=1$.
    $endgroup$
    – Gerry Myerson
    Dec 12 '14 at 5:41













4












4








4


4



$begingroup$


I don't understand the difference between the dot product of two vectors and the scalar projection of a vector onto another one.



To me it looks like they are both (geometrically) the length of the vector projection. I am wrong since their formulas are different, so can anyone explain why?










share|cite|improve this question











$endgroup$




I don't understand the difference between the dot product of two vectors and the scalar projection of a vector onto another one.



To me it looks like they are both (geometrically) the length of the vector projection. I am wrong since their formulas are different, so can anyone explain why?







vectors projection






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Mar 10 at 16:42









nbro

2,43363374




2,43363374










asked Dec 12 '14 at 4:46









John TrentnorJohn Trentnor

2313




2313











  • $begingroup$
    What do you mean by "the scalar projection"? Evidently, you don't use that phrase to mean the same thing as "the vector projection", so what do you mean by that term?
    $endgroup$
    – Gerry Myerson
    Dec 12 '14 at 5:16






  • 1




    $begingroup$
    @GerryMyerson: I apologize if this is not a universal term. In my grade 12 class, we defined the scalar projection as $operatornamecomp_vecavecb:=dfracvecacdot vecb$
    $endgroup$
    – John Trentnor
    Dec 12 '14 at 5:27







  • 1




    $begingroup$
    We also learned that the vector projection is $operatornameproj_vecavecb:=operatornamecomp_vecavecbcdot dfracveca$. That is, the vector projection is the scalar projection multiplied by a unit vector in the direction of $a$.
    $endgroup$
    – John Trentnor
    Dec 12 '14 at 5:30











  • $begingroup$
    Then the dot product doesn't give the length of the vector projection, since the former is $acdot b$ while the latter is $acdot b/|a|$. I don't see what there is to explain.
    $endgroup$
    – Gerry Myerson
    Dec 12 '14 at 5:34







  • 1




    $begingroup$
    Well, yes, the two formulas are identical if $|a|=1$.
    $endgroup$
    – Gerry Myerson
    Dec 12 '14 at 5:41
















  • $begingroup$
    What do you mean by "the scalar projection"? Evidently, you don't use that phrase to mean the same thing as "the vector projection", so what do you mean by that term?
    $endgroup$
    – Gerry Myerson
    Dec 12 '14 at 5:16






  • 1




    $begingroup$
    @GerryMyerson: I apologize if this is not a universal term. In my grade 12 class, we defined the scalar projection as $operatornamecomp_vecavecb:=dfracvecacdot vecb$
    $endgroup$
    – John Trentnor
    Dec 12 '14 at 5:27







  • 1




    $begingroup$
    We also learned that the vector projection is $operatornameproj_vecavecb:=operatornamecomp_vecavecbcdot dfracveca$. That is, the vector projection is the scalar projection multiplied by a unit vector in the direction of $a$.
    $endgroup$
    – John Trentnor
    Dec 12 '14 at 5:30











  • $begingroup$
    Then the dot product doesn't give the length of the vector projection, since the former is $acdot b$ while the latter is $acdot b/|a|$. I don't see what there is to explain.
    $endgroup$
    – Gerry Myerson
    Dec 12 '14 at 5:34







  • 1




    $begingroup$
    Well, yes, the two formulas are identical if $|a|=1$.
    $endgroup$
    – Gerry Myerson
    Dec 12 '14 at 5:41















$begingroup$
What do you mean by "the scalar projection"? Evidently, you don't use that phrase to mean the same thing as "the vector projection", so what do you mean by that term?
$endgroup$
– Gerry Myerson
Dec 12 '14 at 5:16




$begingroup$
What do you mean by "the scalar projection"? Evidently, you don't use that phrase to mean the same thing as "the vector projection", so what do you mean by that term?
$endgroup$
– Gerry Myerson
Dec 12 '14 at 5:16




1




1




$begingroup$
@GerryMyerson: I apologize if this is not a universal term. In my grade 12 class, we defined the scalar projection as $operatornamecomp_vecavecb:=dfracvecacdot vecb$
$endgroup$
– John Trentnor
Dec 12 '14 at 5:27





$begingroup$
@GerryMyerson: I apologize if this is not a universal term. In my grade 12 class, we defined the scalar projection as $operatornamecomp_vecavecb:=dfracvecacdot vecb$
$endgroup$
– John Trentnor
Dec 12 '14 at 5:27





1




1




$begingroup$
We also learned that the vector projection is $operatornameproj_vecavecb:=operatornamecomp_vecavecbcdot dfracveca$. That is, the vector projection is the scalar projection multiplied by a unit vector in the direction of $a$.
$endgroup$
– John Trentnor
Dec 12 '14 at 5:30





$begingroup$
We also learned that the vector projection is $operatornameproj_vecavecb:=operatornamecomp_vecavecbcdot dfracveca$. That is, the vector projection is the scalar projection multiplied by a unit vector in the direction of $a$.
$endgroup$
– John Trentnor
Dec 12 '14 at 5:30













$begingroup$
Then the dot product doesn't give the length of the vector projection, since the former is $acdot b$ while the latter is $acdot b/|a|$. I don't see what there is to explain.
$endgroup$
– Gerry Myerson
Dec 12 '14 at 5:34





$begingroup$
Then the dot product doesn't give the length of the vector projection, since the former is $acdot b$ while the latter is $acdot b/|a|$. I don't see what there is to explain.
$endgroup$
– Gerry Myerson
Dec 12 '14 at 5:34





1




1




$begingroup$
Well, yes, the two formulas are identical if $|a|=1$.
$endgroup$
– Gerry Myerson
Dec 12 '14 at 5:41




$begingroup$
Well, yes, the two formulas are identical if $|a|=1$.
$endgroup$
– Gerry Myerson
Dec 12 '14 at 5:41










2 Answers
2






active

oldest

votes


















1












$begingroup$

The output of a dot product is a real number. The output of a projection is a vector. If you look at the formulas, the scalar projection does not depend on the length of the vector you are projecting onto.



According to Wikipeda, the scalar projection does not depend on the length of the vector being projected on. If you double the length of the second vector in the dot product, the dot product doubles.






share|cite|improve this answer











$endgroup$








  • 1




    $begingroup$
    It seems to me from the wording of the question that OP is making some distinction between "scalar projection" and "vector projection", though I'm not sure what exactly the first one is supposed to be.
    $endgroup$
    – Gerry Myerson
    Dec 12 '14 at 5:17










  • $begingroup$
    @GerryMyerson: I found a Wikipedia page on scalar projection It is a vector in the direction of the second argument with the magnitude of the dot product between the first argument and the unit vector in the direction of the second argument. I have no clue why this would be of interest.
    $endgroup$
    – Ross Millikan
    Dec 12 '14 at 5:21










  • $begingroup$
    Thanks. OP has just provided the definition his class is using, and it's a scalar, not a vector.
    $endgroup$
    – Gerry Myerson
    Dec 12 '14 at 5:30


















2












$begingroup$

Projection



The component of a vector a that is in the same direction as of vector b (Hence projection is a vector) Length of the projection does not depend on the length(magnitude) of b. See the image below



enter image description here



Projection has two parts:



(i) The direction where you're projecting onto. That's the unit vector in direction of b, which is computed by dividing b by the length of b. That is $$fracb$$



(ii) The component of a
in the direction of b. That is, the "shadow" or image of a when you project it onto b. This is computed by $$fraca⋅b$$ . because a⋅b=||a|| ||b|| cos(θ). Hence

||a||cos(θ)= $fraca⋅b$

and that gives you (as in the triangle figure), the length of a's projection on the direction of b



Putting it together, the projection of a onto b is a vector of length $$fraca⋅b$$



in the direction of $fracb$, i.e.
$$fraca.b fracb $$



Dot Product



It's simply the projection of one vector onto the other multiplied by the magnitude of other vector. The dot product tells you what amount of one vector goes in the direction of another (Thus its a scalar ) and hence do not have any direction .



a.b= ||a|| ||b|| cos(θ). Alternatively if a=(x1,y1) and b=(x2,y2) (Position vectors) the dot product is x1.x2+y1.y2 .






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%2f1064465%2fwhat-is-the-difference-between-the-dot-product-and-the-scalar-projection%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









    1












    $begingroup$

    The output of a dot product is a real number. The output of a projection is a vector. If you look at the formulas, the scalar projection does not depend on the length of the vector you are projecting onto.



    According to Wikipeda, the scalar projection does not depend on the length of the vector being projected on. If you double the length of the second vector in the dot product, the dot product doubles.






    share|cite|improve this answer











    $endgroup$








    • 1




      $begingroup$
      It seems to me from the wording of the question that OP is making some distinction between "scalar projection" and "vector projection", though I'm not sure what exactly the first one is supposed to be.
      $endgroup$
      – Gerry Myerson
      Dec 12 '14 at 5:17










    • $begingroup$
      @GerryMyerson: I found a Wikipedia page on scalar projection It is a vector in the direction of the second argument with the magnitude of the dot product between the first argument and the unit vector in the direction of the second argument. I have no clue why this would be of interest.
      $endgroup$
      – Ross Millikan
      Dec 12 '14 at 5:21










    • $begingroup$
      Thanks. OP has just provided the definition his class is using, and it's a scalar, not a vector.
      $endgroup$
      – Gerry Myerson
      Dec 12 '14 at 5:30















    1












    $begingroup$

    The output of a dot product is a real number. The output of a projection is a vector. If you look at the formulas, the scalar projection does not depend on the length of the vector you are projecting onto.



    According to Wikipeda, the scalar projection does not depend on the length of the vector being projected on. If you double the length of the second vector in the dot product, the dot product doubles.






    share|cite|improve this answer











    $endgroup$








    • 1




      $begingroup$
      It seems to me from the wording of the question that OP is making some distinction between "scalar projection" and "vector projection", though I'm not sure what exactly the first one is supposed to be.
      $endgroup$
      – Gerry Myerson
      Dec 12 '14 at 5:17










    • $begingroup$
      @GerryMyerson: I found a Wikipedia page on scalar projection It is a vector in the direction of the second argument with the magnitude of the dot product between the first argument and the unit vector in the direction of the second argument. I have no clue why this would be of interest.
      $endgroup$
      – Ross Millikan
      Dec 12 '14 at 5:21










    • $begingroup$
      Thanks. OP has just provided the definition his class is using, and it's a scalar, not a vector.
      $endgroup$
      – Gerry Myerson
      Dec 12 '14 at 5:30













    1












    1








    1





    $begingroup$

    The output of a dot product is a real number. The output of a projection is a vector. If you look at the formulas, the scalar projection does not depend on the length of the vector you are projecting onto.



    According to Wikipeda, the scalar projection does not depend on the length of the vector being projected on. If you double the length of the second vector in the dot product, the dot product doubles.






    share|cite|improve this answer











    $endgroup$



    The output of a dot product is a real number. The output of a projection is a vector. If you look at the formulas, the scalar projection does not depend on the length of the vector you are projecting onto.



    According to Wikipeda, the scalar projection does not depend on the length of the vector being projected on. If you double the length of the second vector in the dot product, the dot product doubles.







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited Dec 12 '14 at 5:23

























    answered Dec 12 '14 at 5:00









    Ross MillikanRoss Millikan

    299k24200374




    299k24200374







    • 1




      $begingroup$
      It seems to me from the wording of the question that OP is making some distinction between "scalar projection" and "vector projection", though I'm not sure what exactly the first one is supposed to be.
      $endgroup$
      – Gerry Myerson
      Dec 12 '14 at 5:17










    • $begingroup$
      @GerryMyerson: I found a Wikipedia page on scalar projection It is a vector in the direction of the second argument with the magnitude of the dot product between the first argument and the unit vector in the direction of the second argument. I have no clue why this would be of interest.
      $endgroup$
      – Ross Millikan
      Dec 12 '14 at 5:21










    • $begingroup$
      Thanks. OP has just provided the definition his class is using, and it's a scalar, not a vector.
      $endgroup$
      – Gerry Myerson
      Dec 12 '14 at 5:30












    • 1




      $begingroup$
      It seems to me from the wording of the question that OP is making some distinction between "scalar projection" and "vector projection", though I'm not sure what exactly the first one is supposed to be.
      $endgroup$
      – Gerry Myerson
      Dec 12 '14 at 5:17










    • $begingroup$
      @GerryMyerson: I found a Wikipedia page on scalar projection It is a vector in the direction of the second argument with the magnitude of the dot product between the first argument and the unit vector in the direction of the second argument. I have no clue why this would be of interest.
      $endgroup$
      – Ross Millikan
      Dec 12 '14 at 5:21










    • $begingroup$
      Thanks. OP has just provided the definition his class is using, and it's a scalar, not a vector.
      $endgroup$
      – Gerry Myerson
      Dec 12 '14 at 5:30







    1




    1




    $begingroup$
    It seems to me from the wording of the question that OP is making some distinction between "scalar projection" and "vector projection", though I'm not sure what exactly the first one is supposed to be.
    $endgroup$
    – Gerry Myerson
    Dec 12 '14 at 5:17




    $begingroup$
    It seems to me from the wording of the question that OP is making some distinction between "scalar projection" and "vector projection", though I'm not sure what exactly the first one is supposed to be.
    $endgroup$
    – Gerry Myerson
    Dec 12 '14 at 5:17












    $begingroup$
    @GerryMyerson: I found a Wikipedia page on scalar projection It is a vector in the direction of the second argument with the magnitude of the dot product between the first argument and the unit vector in the direction of the second argument. I have no clue why this would be of interest.
    $endgroup$
    – Ross Millikan
    Dec 12 '14 at 5:21




    $begingroup$
    @GerryMyerson: I found a Wikipedia page on scalar projection It is a vector in the direction of the second argument with the magnitude of the dot product between the first argument and the unit vector in the direction of the second argument. I have no clue why this would be of interest.
    $endgroup$
    – Ross Millikan
    Dec 12 '14 at 5:21












    $begingroup$
    Thanks. OP has just provided the definition his class is using, and it's a scalar, not a vector.
    $endgroup$
    – Gerry Myerson
    Dec 12 '14 at 5:30




    $begingroup$
    Thanks. OP has just provided the definition his class is using, and it's a scalar, not a vector.
    $endgroup$
    – Gerry Myerson
    Dec 12 '14 at 5:30











    2












    $begingroup$

    Projection



    The component of a vector a that is in the same direction as of vector b (Hence projection is a vector) Length of the projection does not depend on the length(magnitude) of b. See the image below



    enter image description here



    Projection has two parts:



    (i) The direction where you're projecting onto. That's the unit vector in direction of b, which is computed by dividing b by the length of b. That is $$fracb$$



    (ii) The component of a
    in the direction of b. That is, the "shadow" or image of a when you project it onto b. This is computed by $$fraca⋅b$$ . because a⋅b=||a|| ||b|| cos(θ). Hence

    ||a||cos(θ)= $fraca⋅b$

    and that gives you (as in the triangle figure), the length of a's projection on the direction of b



    Putting it together, the projection of a onto b is a vector of length $$fraca⋅b$$



    in the direction of $fracb$, i.e.
    $$fraca.b fracb $$



    Dot Product



    It's simply the projection of one vector onto the other multiplied by the magnitude of other vector. The dot product tells you what amount of one vector goes in the direction of another (Thus its a scalar ) and hence do not have any direction .



    a.b= ||a|| ||b|| cos(θ). Alternatively if a=(x1,y1) and b=(x2,y2) (Position vectors) the dot product is x1.x2+y1.y2 .






    share|cite|improve this answer











    $endgroup$

















      2












      $begingroup$

      Projection



      The component of a vector a that is in the same direction as of vector b (Hence projection is a vector) Length of the projection does not depend on the length(magnitude) of b. See the image below



      enter image description here



      Projection has two parts:



      (i) The direction where you're projecting onto. That's the unit vector in direction of b, which is computed by dividing b by the length of b. That is $$fracb$$



      (ii) The component of a
      in the direction of b. That is, the "shadow" or image of a when you project it onto b. This is computed by $$fraca⋅b$$ . because a⋅b=||a|| ||b|| cos(θ). Hence

      ||a||cos(θ)= $fraca⋅b$

      and that gives you (as in the triangle figure), the length of a's projection on the direction of b



      Putting it together, the projection of a onto b is a vector of length $$fraca⋅b$$



      in the direction of $fracb$, i.e.
      $$fraca.b fracb $$



      Dot Product



      It's simply the projection of one vector onto the other multiplied by the magnitude of other vector. The dot product tells you what amount of one vector goes in the direction of another (Thus its a scalar ) and hence do not have any direction .



      a.b= ||a|| ||b|| cos(θ). Alternatively if a=(x1,y1) and b=(x2,y2) (Position vectors) the dot product is x1.x2+y1.y2 .






      share|cite|improve this answer











      $endgroup$















        2












        2








        2





        $begingroup$

        Projection



        The component of a vector a that is in the same direction as of vector b (Hence projection is a vector) Length of the projection does not depend on the length(magnitude) of b. See the image below



        enter image description here



        Projection has two parts:



        (i) The direction where you're projecting onto. That's the unit vector in direction of b, which is computed by dividing b by the length of b. That is $$fracb$$



        (ii) The component of a
        in the direction of b. That is, the "shadow" or image of a when you project it onto b. This is computed by $$fraca⋅b$$ . because a⋅b=||a|| ||b|| cos(θ). Hence

        ||a||cos(θ)= $fraca⋅b$

        and that gives you (as in the triangle figure), the length of a's projection on the direction of b



        Putting it together, the projection of a onto b is a vector of length $$fraca⋅b$$



        in the direction of $fracb$, i.e.
        $$fraca.b fracb $$



        Dot Product



        It's simply the projection of one vector onto the other multiplied by the magnitude of other vector. The dot product tells you what amount of one vector goes in the direction of another (Thus its a scalar ) and hence do not have any direction .



        a.b= ||a|| ||b|| cos(θ). Alternatively if a=(x1,y1) and b=(x2,y2) (Position vectors) the dot product is x1.x2+y1.y2 .






        share|cite|improve this answer











        $endgroup$



        Projection



        The component of a vector a that is in the same direction as of vector b (Hence projection is a vector) Length of the projection does not depend on the length(magnitude) of b. See the image below



        enter image description here



        Projection has two parts:



        (i) The direction where you're projecting onto. That's the unit vector in direction of b, which is computed by dividing b by the length of b. That is $$fracb$$



        (ii) The component of a
        in the direction of b. That is, the "shadow" or image of a when you project it onto b. This is computed by $$fraca⋅b$$ . because a⋅b=||a|| ||b|| cos(θ). Hence

        ||a||cos(θ)= $fraca⋅b$

        and that gives you (as in the triangle figure), the length of a's projection on the direction of b



        Putting it together, the projection of a onto b is a vector of length $$fraca⋅b$$



        in the direction of $fracb$, i.e.
        $$fraca.b fracb $$



        Dot Product



        It's simply the projection of one vector onto the other multiplied by the magnitude of other vector. The dot product tells you what amount of one vector goes in the direction of another (Thus its a scalar ) and hence do not have any direction .



        a.b= ||a|| ||b|| cos(θ). Alternatively if a=(x1,y1) and b=(x2,y2) (Position vectors) the dot product is x1.x2+y1.y2 .







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Mar 10 at 16:47









        nbro

        2,43363374




        2,43363374










        answered Jan 11 '17 at 16:05









        Vijay P RVijay P R

        1214




        1214



























            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%2f1064465%2fwhat-is-the-difference-between-the-dot-product-and-the-scalar-projection%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

            Moe incest case Sentencing See also References Navigation menu"'Australian Josef Fritzl' fathered four children by daughter""Small town recoils in horror at 'Australian Fritzl' incest case""Victorian rape allegations echo Fritzl case - Just In (Australian Broadcasting Corporation)""Incest father jailed for 22 years""'Australian Fritzl' sentenced to 22 years in prison for abusing daughter for three decades""RSJ v The Queen"

            Who is our nearest planetary neighbor, on average?Santa Claus flies to the South PoleSeven Spheres of Unequal Mass, a weighing problem with a twistDescribe a large integerFast Mental Calculation of $7.5^7$Math in Space (without the help of celebrities)Find the value of $bigstar$: Puzzle 8 - InequalityWho drinks beer while running anyway?A Crucial DeliveryRanking And AverageHow long will my money last at roulette?

            Daza language Contents Vocabulary Phonology References External links Navigation menudaza1242Daza"Dazaga"eeee178086576