\(pt:x^2-4x+m+1=0\)
\(\Delta=b^2-4ac=\left(-4\right)^2-4.1.\left(m+1\right)\)\(=16-4m-4=12-4m\)
Phương trình có hai nghiệm x1 ,x2 :
\(\Leftrightarrow\Delta\ge0\Leftrightarrow12-4m\ge0\Leftrightarrow m\le3\)(1)
Theo hệ thức Viet ta có :
\(\hept{\begin{cases}x_1+x_2=4\\x_1.x_2=m+1\end{cases}}\)
\(x_1^2+x_2^2=12\)
\(\Leftrightarrow\left(x_1+x_2\right)^2-2x_1.x_2=12\)
\(\Leftrightarrow16-2m-2=12\Leftrightarrow14-2m=12\Leftrightarrow2m=2\Leftrightarrow m=1\)( TMĐK (1))
Vậy m = 1