Linear Algebra, Matrix, Mathematics, Math, Machine Learning.
against each other, making the length of D (the distance) longer than in the 90-degree case. This makes the dot product of x and y < 0 so that -2*x*y in the formula becomes positive making the length bigger than angle=90 case. Case 3: Angle < 90°: If the angle between X and Y is less than 90