a,Thay m=2 vào pt :
\(\left(1\right)\Leftrightarrow x^2-4x+3=0\\ \Leftrightarrow\left[{}\begin{matrix}x=1\\x=3\end{matrix}\right.\)
b, Để pt có 2 nghiệm thì \(\Delta'\ge0\)
\(\Leftrightarrow\left(-2\right)^2-1\left(m+1\right)\ge0\\ \Leftrightarrow4-m-1\ge0\\ \Leftrightarrow3-m\ge0\\ \Leftrightarrow m\le3\)
Theo Vi-ét:\(\left\{{}\begin{matrix}x_1+x_2=4\\x_1x_2=m+1\end{matrix}\right.\)
\(x^2_1+x^2_2=5\left(x_1+x_2\right)\\ \Leftrightarrow\left(x_1+x_2\right)^2-2x_1x_2=5.4\\ \Leftrightarrow4^2-2\left(m+1\right)=20\\ \Leftrightarrow16-2m-2-20=0\\ \Leftrightarrow m=-3\left(tm\right)\)
a)Thay \(m=2\) vào (1) ta đc:
\(x^2-4x+2+1=0\Rightarrow x^2-4x+3=0\)
\(\Rightarrow\left(x-3\right)\left(x-1\right)=0\)
\(\Rightarrow\left[{}\begin{matrix}x=3\\x=1\end{matrix}\right.\)
b)Áp dụng hệ thức Viet:
\(\left\{{}\begin{matrix}x_1+x_2=-\dfrac{b}{a}=\dfrac{4}{1}=4\\x_1\cdot x_2=\dfrac{c}{a}=m+1\end{matrix}\right.\) (*)
Theo bài: \(x_1^2+x^2_2=5\left(x_1+x_2\right)\)
\(\Rightarrow\left(x_1+x_2\right)^2-2x_1\cdot x_2=5\left(x_1+x_2\right)\)
\(\Rightarrow4^2-2\cdot\left(m+1\right)=5\cdot4\)
\(\Rightarrow m=-1\)