Dot Product of Vector With Itself

From ProofWiki
Jump to: navigation, search


Contents

Theorem

Let $\vec u$ be a vector in the vector space $\R^n$.

Then $\vec u \cdot \vec u = \left\|{ \vec u }\right\|^2$ where $\left\|{ \vec u }\right\|$ is the length of $\vec u$.


Proof 1

Let $\vec u = \left({ u_1 , u_2 , \ldots , u_n }\right)$. Then

\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \vec u \cdot \vec u\) \(=\) \(\displaystyle u_1 u_1 + u_2 u_2 + \ldots + u_n u_n\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)          from the definition of dot product          
\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(=\) \(\displaystyle u_1^2 + u_2^2 + \ldots + u_n^2\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)                    
\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(=\) \(\displaystyle \left({ \sqrt{ \sum_{i=1}^n u_i^2 } }\right)^2\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)                    
\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(=\) \(\displaystyle \left\Vert{ \vec u }\right\Vert^2\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)          by the definition of the length of a vector in $\R^n$          

$\blacksquare$


Proof 2

\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \vec u \cdot \vec u\) \(=\) \(\displaystyle \left\Vert{ \vec u }\right\Vert \left\Vert{ \vec u }\right\Vert \cos \angle \vec u , \vec u\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)          from the Cosine Formula for Dot Product          
\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(=\) \(\displaystyle \left\Vert{ \vec u }\right\Vert^2 \cos 0\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)          since the angle between a vector and itself is 0          
\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(=\) \(\displaystyle \left\Vert{ \vec u }\right\Vert^2\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)          by Cosine of Zero is One          

$\blacksquare$


Note

Because this theorem is used to prove the general (n-dimensional) case of Cosine Formula for Dot Product, this proof is circular the way we have defined the dot product.

However, some texts use the cosine formula as the definition of the dot product and derive the sum of products form as a consequence.

The two definitions are equivalent, so we have included this proof to show how the statement would be proved from the cosine definition.

Personal tools
Namespaces
Variants
Actions
Navigation
ProofWiki.org
ToDo
Toolbox
Google AdSense