Dot product and the law of cosines

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.)

\vec C=\vec A +\vec B

\vec C \cdot \vec C = (\vec A +\vec B) \cdot (\vec A +\vec B)

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

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...

(\vec A + \vec B) \cdot (\vec A + \vec B) = \vec C \cdot \vec C

or

= |\vec A|^2 + 2|\vec A||\vec B| + |\vec B|^2

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 \vec V\cdot \vec V as |\vec V|^2, for any vector \vec V.

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

or

= |\vec A|^2 + 2|\vec A||\vec B| + |\vec B|^2

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.)

\vec C=\vec A +\vec B

\vec C \cdot \vec C = (\vec A +\vec B) \cdot (\vec A +\vec B)

now, your turn...

you guys have all missed something crucial

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

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

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

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

Using \vec C=\vec A +\vec B, the minus sign in the law of cosines that you seek arises when you realize that the "angle between \vec A and \vec B" is an external angle of the triangle, which is supplementary to the interior angle at that vertex. Using a little identity for \cos (\theta+\phi), 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
Views
3K
Replies
20
Views
7K
Replies
33
Views
4K
Replies
8
Views
2K
Replies
12
Views
2K
Replies
23
Views
3K
Replies
16
Views
2K
Replies
2
Views
1K
Back
Top