Produit scalaire dans l'espace (rappel)
L'idée
Le produit scalaire de l'espace prolonge celui du plan : il a les mêmes règles de calcul et, dans un repère orthonormé, il se calcule coordonnée par coordonnée.
Les propriétés (rappel officiel)
Pour tous vecteurs \(\vec u,\vec v,\vec w\) et tout réel \(\alpha\) :
- \(\vec u\cdot\vec v=\vec v\cdot\vec u\) ;
- \(\vec u\cdot(\vec v+\vec w)=\vec u\cdot\vec v+\vec u\cdot\vec w\) et \((\alpha\vec u)\cdot\vec v=\alpha(\vec u\cdot\vec v)\) ;
- \(\vec u\cdot\vec u=\|\vec u\|^2\) ;
- \(\vec u\perp\vec v\iff\vec u\cdot\vec v=0\).
En repère orthonormé
L'espace est muni d'un repère orthonormé \((O,\vec i,\vec j,\vec k)\). Si \(\vec u\begin{pmatrix}x\\y\\z\end{pmatrix}\) et \(\vec v\begin{pmatrix}x'\\y'\\z'\end{pmatrix}\) :
\[ \vec u\cdot\vec v=xx'+yy'+zz',\qquad \|\vec u\|=\sqrt{x^2+y^2+z^2}. \]
Pour \(M(x,y,z)\) et \(M'(x',y',z')\) : \(MM'=\sqrt{(x'-x)^2+(y'-y)^2+(z'-z)^2}\).
Quand l'utiliser
Pour montrer que deux droites (ou une droite et un plan) sont orthogonales, calculer une distance, ou un angle via \(\vec u\cdot\vec v=\|\vec u\|\,\|\vec v\|\cos\theta\).
Exemple
Avec \(A(1,0,-1)\), \(B(1,-2,1)\), \(C(0,-1,2)\) : \(\overrightarrow{AB}\begin{pmatrix}0\\-2\\2\end{pmatrix}\), \(\overrightarrow{AC}\begin{pmatrix}-1\\-1\\3\end{pmatrix}\), donc \(\overrightarrow{AB}\cdot\overrightarrow{AC}=0+2+6=8\), \(AB=2\sqrt2\), \(AC=\sqrt{11}\) et \(\cos\widehat{BAC}=\dfrac{8}{2\sqrt2\,\sqrt{11}}=\dfrac{2\sqrt2}{\sqrt{11}}\).