Differentiating the Dot Product's Evil Twin

In summary, the conversation discusses the use of cosine and sine in dot and cross products. The main question is why the "evil twin" of the dot product is not differentiable at parallel vectors. The answer lies in the presence of a square root function in the formula, which is not differentiable at zero. This is demonstrated through examples of other non-differentiable functions. The regular dot and cross products do not have this issue and can smoothly pass through zero angles.
  • #1
Trying2Learn
373
57
TL;DR Summary
Title says it all
Hello,

I found this link very useful:
https://www.quora.com/Why-is-cosine-used-in-dot-products-and-sine-used-in-cross-products

I understand all of Anders Kaseorg's discussion except for ONE PONT.

At the very end, he writes: "[the evil twin of the dot product] is not differentiable at parallel vectors."

Could someone explain why? (I can see the issue with the evil twin of the cross, but not the dot)
 
Mathematics news on Phys.org
  • #2
Look at his formula for the dot evil twin. It has a square root in it. Square root functions are not differentiable at zero. With a little algebra, it's easy to show that the inside of the square root is zero for parallel vectors, so the function is not differentiable there.

The actual function being used is something like ##\sqrt{|x|}##. If you graph that function on the interval ##[-1,1]## you'll see that it's continuous but not differentiable at ##x=0##. It bounces off the x-axis there.
Also look at the graph of ##|\sin x|## on ##[-1,1]## to see another relevant non-differentiable bounce.

By contrast, the formulas for the usual dot and the usual cross have no square roots, or anything else that can upset differentiability, such as the denominators in the evil twin cross. They pass zero angles (parallel for dot, perp for cross) smoothly.
 
  • #3
andrewkirk said:
Look at his formula for the dot evil twin. It has a square root in it. Square root functions are not differentiable at zero. With a little algebra, it's easy to show that the inside of the square root is zero for parallel vectors, so the function is not differentiable there.

OH! I see!

THANK YOU!
 

1. What is the "evil twin" of the dot product?

The "evil twin" of the dot product is the cross product. Both are operations used in vector algebra, but they have different properties and produce different results.

2. How is the cross product different from the dot product?

The main difference between the cross product and the dot product is that the cross product produces a vector as its result, while the dot product produces a scalar. Additionally, the cross product is only defined for three-dimensional vectors, while the dot product can be calculated for vectors of any dimension.

3. What is the geometric interpretation of the cross product?

The cross product can be interpreted as the product of the magnitudes of two vectors and the sine of the angle between them. This results in a vector that is perpendicular to both of the original vectors, with a magnitude equal to the area of the parallelogram formed by the two vectors.

4. How is the cross product used in physics?

The cross product is used in physics to calculate torque, which is the rotational equivalent of force. It is also used in electromagnetism to calculate the magnetic force on a charged particle moving through a magnetic field.

5. Are there any real-world applications of the cross product?

Yes, the cross product has many real-world applications in fields such as engineering, robotics, and computer graphics. It is used to calculate the direction and magnitude of forces in 3D structures, determine the orientation of objects, and simulate fluid dynamics, among other things.

Similar threads

  • General Math
Replies
4
Views
2K
Replies
2
Views
246
  • Linear and Abstract Algebra
Replies
33
Views
821
Replies
4
Views
2K
  • Precalculus Mathematics Homework Help
Replies
5
Views
570
  • General Math
Replies
7
Views
2K
Replies
10
Views
721
  • General Math
Replies
2
Views
2K
  • Linear and Abstract Algebra
Replies
16
Views
2K
Replies
7
Views
57K
Back
Top