Dot product and the law of cosines

Click For Summary

Discussion Overview

The discussion revolves around deriving the law of cosines using vector addition and the dot product. Participants explore the mathematical steps involved and clarify the relationship between vectors and angles in the context of this derivation.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant expresses difficulty in deriving the law of cosines from the equation C = A + B using the dot product.
  • Another participant requests to see the initial work done to provide better assistance, indicating that the inquiry may be related to homework.
  • A suggestion is made to use a visual representation to aid understanding.
  • Participants discuss the expression C dot C = |C| squared and express uncertainty about the next steps in the derivation.
  • One participant provides guidance on using typeset equations and encourages others to expand the right-hand side of the equation.
  • There is a discussion about how to evaluate the dot product and the distribution over addition, with a focus on where the cosine arises in the context of the law of cosines.
  • A later reply emphasizes that the left-hand side of the law of cosines should reflect the correct vector relationships, introducing the concept of external angles and their relationship to the interior angles of a triangle.

Areas of Agreement / Disagreement

Participants express varying levels of understanding and approach to the derivation, with some suggesting different methods and interpretations. There is no consensus on the correct path to derive the law of cosines, and multiple viewpoints on the relationships between the vectors and angles are presented.

Contextual Notes

Some participants express uncertainty about mathematical notation and the steps involved in the derivation, indicating potential gaps in understanding or assumptions that have not been fully articulated.

linuspauling
Messages
11
Reaction score
0
I can't seem to derive the law of cosines from the vector addition of

C = A + B

using the dot product.


Does anybody have any insights?
 
Physics news on Phys.org
Can you show us what you have done so far? Is this homework or coursework? If so, I can move it to the Homework Help forums. In any case, you need to show us what you know so far, in order for us to be of help to you.
 
Just do it...
A picture might help, as well.
 
C = A + B

C dot C = |C| squared

and then I'm stuck. by the way, how do you guys post pictures and proper vector and math notations here?
 
Let me get you a little further along. Click on the typeset equations to see how I did them. (You can use the "sigma summation symbol" in the advanced editor view for more TeX symbols via a popup menu.)

[tex]\vec C=\vec A +\vec B[/tex]

[tex]\vec C \cdot \vec C = (\vec A +\vec B) \cdot (\vec A +\vec B)[/tex]

now, your turn...
 
[tex]\vec C \cdot \vec C = |\vec C|^2[/tex]
[tex]|\vec C|^2 = |\vec A|^2 + |\vec B|^2 + 2|\vec A||\vec B|cos\theta[/tex]

i'm not really sure how to put up the absolute value sign in proper laTeX notation. And, I'm stuck here...I don't know how these steps came about.
 
Last edited:
Forget the absolute value signs for now.
How do you evaluate (expand out) the right-hand side of the equation I wrote?
 
I'm not sure...

[tex](\vec A + \vec B) \cdot (\vec A + \vec B) = \vec C \cdot \vec C[/tex]

or

[tex]= |\vec A|^2 + 2|\vec A||\vec B| + |\vec B|^2[/tex]

is this it?
 
Last edited:
How does the dot-product distribute over addition?
After you do that, then you may start to write terms like [itex]\vec V\cdot \vec V[/itex] as [itex]|\vec V|^2[/itex], for any vector [itex]\vec V[/itex].

Since this discussion is about the law of COSINES, where does a COSINE arise from the dot-product?
 
  • #10
linuspauling said:
[tex](\vec A + \vec B) \cdot (\vec A + \vec B) = \vec C \cdot \vec C[/tex]

or

[tex]= |\vec A|^2 + 2|\vec A||\vec B| + |\vec B|^2[/tex]

Slow down, you're trying to do too many steps at once. :smile: Don't do the absolute value (magnitude) yet, just multiply out the left side of the first equation to get rid of the parentheses. What does that give you?
 
  • #11
robphy said:
Let me get you a little further along. Click on the typeset equations to see how I did them. (You can use the "sigma summation symbol" in the advanced editor view for more TeX symbols via a popup menu.)

[tex]\vec C=\vec A +\vec B[/tex]

[tex]\vec C \cdot \vec C = (\vec A +\vec B) \cdot (\vec A +\vec B)[/tex]

now, your turn...

you guys have all missed something crucial

if [tex]\vec C=\vec A +\vec B[/tex] then we will not have [tex]|\vec C|^2[/tex] on the left hand side of the law of cosines but either but it will be like this

[tex]\vec B=\vec C -\vec A[/tex] and it will be [tex]|\vec B|^2[/tex] on the left hand side of the law of cosines
 
  • #12
ice109 said:
you guys have all missed something crucial

if [tex]\vec C=\vec A +\vec B[/tex] then we will not have [tex]|\vec C|^2[/tex] on the left hand side of the law of cosines but either but it will be like this

[tex]\vec B=\vec C -\vec A[/tex] and it will be [tex]|\vec B|^2[/tex] on the left hand side of the law of cosines

Using [itex]\vec C=\vec A +\vec B[/itex], the minus sign in the law of cosines that you seek arises when you realize that the "angle between [itex]\vec A[/itex] and [itex]\vec B[/itex]" is an external angle of the triangle, which is supplementary to the interior angle at that vertex. Using a little identity for [itex]\cos (\theta+\phi)[/itex], you'll get the minus sign. You don't have to do this for any other side because the "angles between the vectors [on the right-hand side, with a relative minus sign between them]" are already interior angles.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
Replies
8
Views
3K
  • · Replies 20 ·
Replies
20
Views
7K
  • · Replies 33 ·
2
Replies
33
Views
5K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K