Question on dot product of vectors.

Click For Summary
SUMMARY

The discussion centers on the calculation of the dot product of vectors, specifically examining the expression (\hat x - \hat r \frac{x}{r}) \cdot (\hat x - \hat r \frac{x}{r}). The correct approach involves recognizing that \hat r is a dependent variable of \hat x, which affects the validity of the dot product calculation. The first method yields a result of \frac{(y^2+z^2)}{r^2}, while the second method incorrectly assumes independence, leading to an erroneous result of 1 + \frac{x^2}{r^2}. The key takeaway is that dependent and independent variables must be treated appropriately in vector operations.

PREREQUISITES
  • Understanding of vector notation and operations
  • Familiarity with dot product properties
  • Knowledge of unit vectors and their significance
  • Basic algebra and manipulation of mathematical expressions
NEXT STEPS
  • Study the properties of dot products in vector calculus
  • Learn about the implications of dependent and independent variables in vector mathematics
  • Explore vector normalization and its applications
  • Review examples of vector operations in physics and engineering contexts
USEFUL FOR

Students and professionals in mathematics, physics, and engineering who are working with vector calculations and seeking to deepen their understanding of vector operations and their implications.

yungman
Messages
5,741
Reaction score
291
[tex]\vec r = \hat x x + \hat y y + \hat z z \;\Rightarrow \;r = \sqrt { x^2+y^2+z^2} \;,\, \hat r= \frac { \hat x x + \hat y y + \hat z z}{ r}[/tex]

I want to find the dot product [tex](\hat x -\hat r \frac x r) \cdot (\hat x -\hat r \frac x r)[/tex]

1) [tex]\hat x -\hat r \frac x r = \hat x - \frac { (\hat x x + \hat y y + \hat z z) x }{ r^2} = \frac { \hat x (y^2+z^2) - \hat y xy - \hat z xz}{r^2} \;\Rightarrow\; (\hat x -\hat r \frac x r) \cdot (\hat x -\hat r \frac x r) = \frac {(y^2+z^2)^2+x^2y^2+x^2z^2}{r^4}= \frac {(y^2+z^2)(x^2+y^2+z^2)}{r^4}=\frac {(y^2+z^2)}{r^2}[/tex]




2) But if I just blind do the dot product:

[tex](\hat x -\hat r \frac x r) \cdot (\hat x -\hat r \frac x r) = 1 + \frac {x^2}{r^2}[/tex]

Here, all I did is [itex]\hat x \cdot \hat x \;\hbox { and } \hat r \cdot \hat r[/itex].




Is it true for dot product, only independent variable can dot together, [itex]\hat r[/itex] is a dependent variable of [itex]\hat x[/itex] so I cannot use the 2) method to perform dot product. Is this true?

Thanks

Alan
 
Physics news on Phys.org
when u open the bracket directly (as done in point 2), you get three terms, one of x_cap.x_cap, one of r_cap.r_cap, which you have written write, but term of x_cap.r_cap you have missed.

since r_cap is (x x_cap + y y_cap + z z_cap)/[itex]\sqrt{}(x*x+y*y+z*z)[/itex], so r_cap.x_cap is not zero, as your second method is actually doing
 
piyushkumar said:
when u open the bracket directly (as done in point 2), you get three terms, one of x_cap.x_cap, one of r_cap.r_cap, which you have written write, but term of x_cap.r_cap you have missed.

since r_cap is (x x_cap + y y_cap + z z_cap)/[itex]\sqrt{}(x*x+y*y+z*z)[/itex], so r_cap.x_cap is not zero, as your second method is actually doing

I got it. Thanks.

Alan
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K