- #1
lemd
- 31
- 0
Hi,
As I remember, dot product is commutative, and so (a.b).(a.b) = (a.a).(b.b)
But when I apply to simple vectors it is all wrong, e.g:
a = (2, 2, 0)
b = (1, 0, 0)
(a.b).(a.b) = 2.2 = 4
(a.a).(b.b) = 8.1 = 8
Why are they different? Pls explain for me
Thanks
As I remember, dot product is commutative, and so (a.b).(a.b) = (a.a).(b.b)
But when I apply to simple vectors it is all wrong, e.g:
a = (2, 2, 0)
b = (1, 0, 0)
(a.b).(a.b) = 2.2 = 4
(a.a).(b.b) = 8.1 = 8
Why are they different? Pls explain for me
Thanks