Important Identities for Vector Geometry
Many ideas in vector geometry come from ordinary algebra. One of the most important patterns begins with the simple identity:
(x − a)2 = x2 − 2ax + a2
This can also be rearranged as:
(x − a)2 = x2 + a2 − 2ax
The 1D Pattern
In one dimension, the expression measures the square of the distance between two numbers:
(x − a)2
After expanding, we get:
(x − a)2 = x2 + a2 − 2ax
The important part is the term:
ax
This is ordinary multiplication. In higher dimensions, this multiplication becomes the dot product.
The 2D Pattern
Now move to two dimensions:
(x − a)2 + (y − b)2
Expand both brackets:
(x − a)2 + (y − b)2
= x2 − 2ax + a2 + y2 − 2by + b2
Rearrange the terms:
(x − a)2 + (y − b)2
= x2 + y2 + a2 + b2 − 2(ax + by)
The term
ax + by
is the dot product of the two-dimensional vectors:
(x, y) · (a, b) = ax + by
The 3D Pattern
In three dimensions, the same pattern appears again:
(x − a)2 + (y − b)2 + (z − c)2
Expand each bracket:
(x − a)2 + (y − b)2 + (z − c)2
= x2 − 2ax + a2 + y2 − 2by + b2 + z2 − 2cz + c2
Rearrange:
(x − a)2 + (y − b)2 + (z − c)2
= x2 + y2 + z2 + a2 + b2 + c2 − 2(ax + by + cz)
Now notice the vector structure:
|(x, y, z)|2 = x2 + y2 + z2
|(a, b, c)|2 = a2 + b2 + c2
(x, y, z) · (a, b, c) = ax + by + cz
The Vector Identity
Using the observations above, we can write:
|(x, y, z) − (a, b, c)|2
= |(x, y, z)|2 + |(a, b, c)|2 − 2(x, y, z) · (a, b, c)
This is the vector version of:
(x − a)2 = x2 + a2 − 2ax
The Main Point
The pattern is the same.
In one dimension, ordinary multiplication appears:
ax
In two dimensions, the dot product begins to appear:
ax + by
In three dimensions, the dot product becomes:
ax + by + cz
So the dot product is not random. It is already hidden inside ordinary algebra.
Summary
(x − a)2 = x2 + a2 − 2ax
|(x, y, z) − (a, b, c)|2
= |(x, y, z)|2 + |(a, b, c)|2 − 2(x, y, z) · (a, b, c)
The ordinary algebraic identity becomes a vector geometry identity.