In geometry, the polar sine generalizes the sine function of angle to the vertex angle of a polytope. It is denoted by psin.
Let v1, ..., vn (n ≥ 1) be non-zero Euclidean vectors in n-dimensional space (Rn) that are directed from a vertex of a parallelotope, forming the edges of the parallelotope. The polar sine of the vertex angle is:
\operatorname{psin}(v1,...,vn)=
\Omega | |
\Pi |
,
where the numerator is the determinant
\begin{align} \Omega&=\det\begin{bmatrix}v1&v2& … &vn\end{bmatrix}= \begin{vmatrix} v11&v21& … &vn1\\ v12&v22& … &vn2\\ \vdots&\vdots&\ddots&\vdots\\ v1n&v2n& … &vnn\\ \end{vmatrix} \end{align},
which equals the signed hypervolume of the parallelotope with vector edges[1]
\begin{align} v1&=(v11,v12,...,v1n)T\\ v2&=(v21,v22,...,v2n)T\\ &\vdots\\ vn&=(vn1,vn2,...,vnn)T,\\ \end{align}
and where the denominator is the n-fold product
\Pi=
n | |
\prod | |
i=1 |
\|vi\|
of the magnitudes of the vectors, which equals the hypervolume of the n-dimensional hyperrectangle with edges equal to the magnitudes of the vectors ||v1||, ||v2||, ... ||vn|| rather than the vectors themselves. Also see Ericksson.[2]
The parallelotope is like a "squashed hyperrectangle", so it has less hypervolume than the hyperrectangle, meaning (see image for the 3d case):
|\Omega|\leq\Pi\implies
|\Omega| | |
\Pi |
\leq1\implies-1\leq\operatorname{psin}(v1,...,vn)\leq1,
as for the ordinary sine, with either bound being reached only in the case that all vectors are mutually orthogonal.
In the case n = 2, the polar sine is the ordinary sine of the angle between the two vectors.
A non-negative version of the polar sine that works in any -dimensional space can be defined using the Gram determinant. It is a ratio where the denominator is as described above. The numerator is
|\Omega|=\sqrt{\det\left(\begin{bmatrix}v1&v2& … &vn
T \begin{bmatrix}v | |
\end{bmatrix} | |
1 |
&v2& … &vn\end{bmatrix}\right)},
The polar sine changes sign whenever two vectors are interchanged, due to the antisymmetry of row-exchanging in the determinant; however, its absolute value will remain unchanged.
\begin{align}\Omega&=\det\begin{bmatrix}v1&v2& … &vi& … &vj& … &vn\end{bmatrix}\\ &=-\det\begin{bmatrix}v1&v2& … &vj& … &vi& … &vn\end{bmatrix}\\ &=-\Omega \end{align}
The polar sine does not change if all of the vectors v1, ..., vn are scalar-multiplied by positive constants ci, due to factorization
\begin{align}\operatorname{psin}(c1v1,...,cnvn)&=
\det\begin{bmatrix | |
c |
1v1&c2v2& … &cnvn
n | |
\end{bmatrix}}{\prod | |
i=1 |
\|civi\|}\\[6pt] &=
| ||||||||||
|
⋅
\det\begin{bmatrix | |
v |
1&v2& … &vn
n | |
\end{bmatrix}}{\prod | |
i=1 |
\|vi\|}\\[6pt] &=\operatorname{psin}(v1,...,vn). \end{align}
If an odd number of these constants are instead negative, then the sign of the polar sine will change; however, its absolute value will remain unchanged.
If the vectors are not linearly independent, the polar sine will be zero. This will always be so in the degenerate case that the number of dimensions is strictly less than the number of vectors .
The cosine of the angle between two non-zero vectors is given by
\cos(v1,v2)=
v1 ⋅ v2 | |
\|v1\|\|v2\| |
\left|\operatorname{psin}(v1,\ldots,
2 = | |
v | |
n)\right| |
\det\left[\begin{matrix} 1&\cos(v1,v2)& … &\cos(v1,vn)\\ \cos(v2,v1)&1& … &\cos(v2,vn)\\ \vdots&\vdots&\ddots&\vdots\\ \cos(vn,v1)&\cos(vn,v2)& … &1\\ \end{matrix}\right].
2(v | |
\sin | |
1, |
v2)=1-
2(v | |
\cos | |
1, |
v2),
Polar sines were investigated by Euler in the 18th century.[3]