Cosinus et projection orthogonale
Dans un repère orthonormé $\left(\mathrm{O ; I , J}\right)$, on considère le cercle trigonométrique.
Soit $\mathrm{M}$ un point de ce cercle, on note $\alpha$ une mesure en radian de l'angle $\widehat{\mathrm{IOM}}$.
Soit $\mathrm{H}$ le projeté orthogonal du point $\mathrm{M}$ sur la droite $\mathrm{(OI)}$.
Si $0\leqslant \alpha\leqslant \dfrac{\pi}{2}$ alors $\mathrm{OH}=\cos(\alpha)$ :
Si $\dfrac{\pi}{2}\leqslant \alpha\leqslant \pi$ alors $\mathrm{OH}=-\cos(\alpha)$ :
Soit maintenant un point $\mathrm{P}$ quelconque du plan tel que $\widehat{\mathrm{IOP}}$ mesure également $\alpha$ radians et soit $\mathrm{K}$ sont projeté orthogonal sur la droite $\mathrm{(OI)}$.
Si $0\leqslant \alpha\leqslant \dfrac{\pi}{2}$ alors $\mathrm{OK}=\mathrm{OP}\times \cos(\alpha)$ :
Si $\dfrac{\pi}{2}\leqslant \alpha\leqslant \pi$ alors $\mathrm{OK}=-\mathrm{OP}\times \cos(\alpha)$ :
Application au calcul du produit scalaire
Soient maintenant deux vecteurs non nuls $\overrightarrow{\mathrm{u}}$ et $\overrightarrow{\mathrm{v}}$ que nous représentons à partir d'un même point $\mathrm{O}$ et tels que $\overrightarrow{\mathrm{u}}=\overrightarrow{\mathrm{OA}}$ et $\overrightarrow{\mathrm{v}}=\overrightarrow{\mathrm{OB}}$. Nous disposons seulement des informations suivantes :
$\|\overrightarrow{\mathrm{u}}\|=\mathrm{OA}=5$ ;
le point $\mathrm{H}$ est le projeté orthogonal du point $\mathrm{B}$ sur la droite $(\mathrm{OA})$ et $\mathrm{OH}=3$.
A partir de ces deux informations nous allons voir qu'il est possible d'obtenir le produit scalaire $\overrightarrow{\mathrm{u}}\cdot \overrightarrow{\mathrm{v}}=\overrightarrow{\mathrm{OA}}\cdot \overrightarrow{\mathrm{OB}}$.
Nous savons que $\overrightarrow{\mathrm{u}}\cdot \overrightarrow{\mathrm{v}}=\mathrm{OA\times OB}\times \cos(\widehat{\mathrm{AOB}})$.
Pour réaliser ce calcul il nous manque $\mathrm{OB}\times \cos(\widehat{\mathrm{AOB}})$, mais par projection orthogonale :
si une mesure $\alpha$ en radians de $\widehat{\mathrm{AOB}}$ est comprise entre $0$ et $\dfrac{\pi}{2}$, c'est-à-dire si l'angle est aigu nous avons :
$\mathrm{OB}\times \cos(\alpha)=\mathrm{OH}$, donc :
$\overrightarrow{\mathrm{u}}\cdot \overrightarrow{\mathrm{v}}=\mathrm{OA}\times \underbrace{\mathrm{OB}\times \cos(\alpha)}_{\mathrm{OH}}= \mathrm{OA}\times \mathrm{OH}=5\times 3=15$.
Nous pouvons aussi remarquer que $\mathrm{OA}\times \mathrm{OH}=\overrightarrow{\mathrm{OA}}\cdot \overrightarrow{\mathrm{OH}}$ puisque les vecteurs $\overrightarrow{\mathrm{OA}}$ et $\overrightarrow{\mathrm{OH}}$ sont colinéaires et de même sens.
si une mesure $\alpha$ en radians de $\widehat{\mathrm{AOB}}$ est comprise entre $\dfrac{\pi}{2}$ et $\pi$, c'est-à-dire si l'angle est obtus nous avons :
$\mathrm{OH}=-\mathrm{OB}\times \cos(\alpha)$, donc $\mathrm{OB}\times \cos(\alpha)=-\mathrm{OH}$ et :
$\overrightarrow{\mathrm{u}}\cdot \overrightarrow{\mathrm{v}}= \mathrm{OA}\times \underbrace{\mathrm{OB}\times \cos(\alpha)}_{-\mathrm{OH}}= \mathrm{OA}\times (-\mathrm{OH})=5\times (-3)=-15$.
Nous remarquons que $\mathrm{OA}\times (-\mathrm{OH})=\overrightarrow{\mathrm{OA}}\cdot \overrightarrow{\mathrm{OH}}$ puisque dans ce cas les vecteurs $\overrightarrow{\mathrm{OA}}$ et $\overrightarrow{\mathrm{OH}}$ sont colinéaires de sens opposés.
Dans tous les cas : $\overrightarrow{\mathrm{OA}}\cdot \overrightarrow{\mathrm{OB}}=\overrightarrow{\mathrm{OA}}\cdot \overrightarrow{\mathrm{OH}}$.