Posts

Showing posts with the label Dot Product

Why the Line ax + by = 0 Passes Through the Point (−b, a)

Image
Why the Line ax + by = 0 Passes Through the Point (−b, a) In ℝ² , the equation ax + by = 0 describes a line that is perpendicular to the vector (a, b) . This article explains exactly why—and why that line always passes through the point (−b, a) . 1. Start with the Vector (a, b) Consider the vector (a, b) . To find a line perpendicular to it, we need a vector whose dot product with (a, b) is zero. Try the vector (−b, a) : (a, b) · (−b, a) = a(−b) + b(a) = −ab + ab = 0 Therefore, (−b, a) is perpendicular to (a, b) . 2. Any Scalar Multiple Also Works If (−b, a) is perpendicular to (a, b) , then any multiple λ(−b, a) is also perpendicular: (a, b) · [λ(−b, a)] = λ[(a, b) · (−b, a)] = λ · 0 = 0 Let this perpendicular vector be (x, y) . Then (x, y) = λ(−b, a) Every point on the line comes from a particular choice of λ . 3. Converting to an Equation Since (x, y) is perpendicular to (a, b) , we have: (a, b) · (x, y) = 0 Expanding ...

The Dot Product Identity and the Cosine Rule in ℝ³

Image
The Dot Product Identity and the Cosine Rule in ℝ 3 In this article we derive the dot product identity A · B = |A| × |B| × cos(θ) and show how this identity leads directly to the cosine rule, using a combination of coordinate algebra and geometric interpretation. 1. Vectors in ℝ 3 Let the vectors be: A = (a 1 , a 2 , a 3 ) B = (b 1 , b 2 , b 3 ) Their difference is: A - B = (a 1 - b 1 , a 2 - b 2 , a 3 - b 3 ) The squared magnitude of this difference vector is: |A - B| 2 = (a 1 - b 1 ) 2 + (a 2 - b 2 ) 2 + (a 3 - b 3 ) 2 . 2. Expanding the Square of the Difference Expand each component: (a 1 - b 1 ) 2 = a 1 2 - 2a 1 b 1 + b 1 2 (a 2 - b 2 ) 2 = a 2 2 - 2a 2 b 2 + b 2 2 (a 3 - b 3 ) 2 = a 3 2 - 2a 3 b 3 + b 3 2 Adding these three expansions gives: |A - B| 2 = (a 1 2 + a 2 2 + a 3 2 ) + (b 1 2 + b 2 2 + b 3 2 ) - 2(a 1 b 1 + a 2 b 2 + a 3 b 3 ). Recognise the squared magnitudes: |A| 2 = a 1 2 + a 2 2 ...