With vectors, we have this result: $$\left|\mathbf{a}\times\mathbf{b}\right|^{2}+\left|\mathbf{a}\cdot\mathbf{b}\right|^{2}=\left|\mathbf{a}\right|^{2}\left|\mathbf{b}\right|^{2}$$
(This result also works in the 2D case.)
It looks similar to Pythagoras' Theorem so I was wondering if there might indeed be any relation (or if it's just a coincidence).
Definitions used:
In 3D case, let $\mathbf{a}=(a_1,a_2,a_3)$ and $\mathbf{b}=(b_1,b_2,b_3)$. Then
- $\mathbf{a}\times\mathbf{b}=(a_2b_3-a_3b_2,a_3b_1-a_1b_3,a_1b_2-a_2b_1)$,
- $\mathbf{a}\cdot\mathbf{b}=a_1b_1+a_2b_2+a_3b_3$,
- $|\mathbf{a}|=\sqrt{a_1^2 +a_2^2 +a_3^2}$.
In 2D case, let $\mathbf{a}=(a_1,a_2)$ and $\mathbf{b}=(b_1,b_2)$. Then
- $\mathbf{a}\times\mathbf{b}=a_1b_2-a_2b_1$,
- $\mathbf{a}\cdot\mathbf{b}=a_1b_1+a_2b_2$,
- $|\mathbf{a}|=\sqrt{a_1^2 +a_2^2}$.
Pythagoras' Theorem: If $\mathbf{a}\cdot\mathbf{b}=0$, then $|\mathbf{a}|^2+|\mathbf{b}|^2=|\mathbf{a}+\mathbf{b}|^2$.
Its connected in the same way that the fundamental trig-identity: $\sin^{2}(x)+\cos^{2}(x)=1$, is connected. As the magnitude of the cross product: $|a||b|\sin(\theta)$, and dot product: $|a||b|\cos(\theta)$. Then we can clearly see how this falls out.