Understanding the Proof of Dot Products: A and B Vectors Explained

  • Context: Undergrad 
  • Thread starter Thread starter cytochrome
  • Start date Start date
  • Tags Tags
    Dot Proof
Click For Summary

Discussion Overview

The discussion revolves around the proof of the dot product formula A dot B = ABcosθ, particularly focusing on the reasoning behind this relationship. Participants explore various mathematical concepts and proofs related to vectors in R^n, including the cosine rule, the Cauchy-Schwarz inequality, and the definition of the dot product.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant seeks a proof for the relationship A dot B = ABcosθ and expresses a desire to understand the underlying reasoning.
  • Another participant suggests using the cosine rule for triangles and mentions the relationship between vectors A, B, and a third vector C derived from them.
  • A participant introduces the Cauchy-Schwarz inequality as a foundational concept for understanding the dot product, stating that it applies to inner product spaces, including R^n.
  • Some participants clarify that the discussion is about deriving the definition of the dot product specifically in R^n rather than discussing inner products in general.
  • There is a contention regarding the clarity of using the cosine rule in higher dimensions, with some arguing that it may be confusing.
  • Another participant presents a proof for the dot product in R^2 using unit vectors and angles, suggesting it is more intuitive than other proofs.
  • Participants debate the validity and relevance of different definitions of the dot product, including the projection of one vector onto another.

Areas of Agreement / Disagreement

Participants express differing views on the best approach to prove the dot product formula, with some favoring geometric interpretations and others focusing on algebraic definitions. There is no consensus on a single proof or definition, and the discussion remains unresolved.

Contextual Notes

Participants acknowledge that the proof methods discussed may depend on the dimensionality of the space and the definitions used, which could lead to varying interpretations and understandings of the dot product.

cytochrome
Messages
163
Reaction score
3
This is something that has been bothering me...

Given two vectors A and B

Is there a way to prove that A dot B = ABcosθ ?

I'm concerned with WHY this is the case... If anyone has a good proof that would be great.
 
Physics news on Phys.org
Hey cytochrome.

The proof for this is based on the cosine rule for triangles. Let A and B be the vectors you are considering. Now in vector terms we know A + C = B (following from head to tail of both vectors) which means that C = B - A and this means the length is the length of B - A (which you can use pythagoras rule for in n-dimensions).

Now your cosine rule is C^2 = A^2 + B^2 - 2ABcos(theta). You know how to calculate lengths of all the vectors (using Pythagoras') so know collect the terms together and see what you get.
 
It is a consequence of Cauchy-Schwarz inequality:

##\left |\left \langle a,b \right \rangle \right | \leq \left\|a\right\|\left\|b\right\|##

Hence the ratio:

##cos\theta = \frac{\left \langle a,b \right \rangle}{\left\|a\right\|\left\|b\right\|}##

Dot product is a inner product.
 
Last edited:
I think he might mean how the definition in R^n is derived as opposed to something just being an inner product in general.
 
what you on about?

Cauchy-Schwarz inequality applies to any inner product space including ##\mathbb{R}^n##!
 
I mean that <x,y> = x1.y1 + x2.y2 + ... + xn.yn. (i.e. the actual definition not just an abstract one).
 
Didn't I say dot product is inner product already? (edit: note I didn't say inner product is restricted to dot product only)

The point here is not the dot product but rather the Cauchy-Schwarz inequality itself which applies to R^n if you take the inner product to be dot product.

Besides, using what you mentioned as "cosine rule for triangle" is confusing for high dimension spaces.
 
The length is known for arbitrary finite n through Pythagoras' theorem and the proof using lengths works in any dimension for R^n: it's a very simple proof since you only care about lengths of the triangle and it's very easy to understand (length is an invariant concept)
 
Don't you realize that Cauchy-Schwarz inequality is at the very root of that "cosine rule"?
 
  • #10
This works for R2... I think it's a little more intuitive than the other proofs I've seen. Let a, b be two vectors. Then a / ||a||, b / ||b|| are to unit vectors. We can let a / ||a|| = <cosm, sinm> and b / ||b|| = <cosn, sinn>. then (a / ||a||) * (b / ||b||) = (cosm)(cosn)+(sinm)(sinn) = cos(m-n). The angle c between the vectors is m-n. So (a / ||a||) * (b / ||b||) = cos(c) and a*b= ||a|| ||b|| cos(c).

Sorry for the readability.
 
  • #11
I know about the inequality, but I thought I made it very clear that I was talking about the actual specific definition (i.e. the formula to compute said quantity): I've said this quite a few times.
 
  • #12
chiro said:
I mean that <x,y> = x1.y1 + x2.y2 + ... + xn.yn. (i.e. the actual definition not just an abstract one).
What makes you think that definition is any more "actual" than another? I've always though of "the length of the projection of u on v" as the basic definition of [itex]u\cdot v[/itex].
 
  • #13
HallsofIvy said:
What makes you think that definition is any more "actual" than another? I've always though of "the length of the projection of u on v" as the basic definition of [itex]u\cdot v[/itex].

Well it is specific to defining A.B in R^n and the author wanted to prove the formula for R^n, then the above is a good on doing that.

I understand inner products are very general that follow specific axioms: I was talking about a very specific space (i.e. R^n).

I've already outlined this above.

If the author doesn't want to consider a specific space (like R^n) then OK, but if they do then that's another thing.
 

Similar threads

  • · Replies 33 ·
2
Replies
33
Views
5K
  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 32 ·
2
Replies
32
Views
4K
  • · Replies 14 ·
Replies
14
Views
3K