Cho tam giác ABC có [tex]\widehat{BAC}=90^{\circ}[/tex], AB = 1, AC = 2. Gọi M là điểm sao cho AM [tex]\perp[/tex] BC, AM = 3. Đặt [tex]\vec{AM}=x.\vec{AB}+y.\vec{AC}[/tex]. Tính P= x+y
Giải hệ [tex]\left\{\begin{matrix} \left | \overrightarrow{AM} \right |^2=(x\overrightarrow{AB}+y\overrightarrow{AC})^2\\ \overrightarrow{AM}.\overrightarrow{BC}=(x\overrightarrow{AB}+y\overrightarrow{AC})(\overrightarrow{AC}-\overrightarrow{AB})=0 \end{matrix}\right.[/tex]
[tex]\Leftrightarrow \left\{\begin{matrix} x^2.AB^2+y^2.AC^2=9\\ -x.AB^2+y.AC^2=0 \end{matrix}\right.[/tex]
Thay số vào giải hệ ra $x$, $y$