Cho parabol (P): \(y=\frac{1}{2}x^2\) và đường thẳng (d): \(y=-x+m\) (x là ẩn, m là tham số). Tìm tất cả các giá trị của tham số m để đường thẳng (d) cắt parabol (P) tại hai điểm phân biệt A(x1, x2) và B(y1, y2) thỏa mãn x1x2 + y1y2 = 5.
A. \(m=-1+\sqrt{6}\)
B. \(m=-1-\sqrt{6}\)
C. \(m=1+\sqrt{6}\)
D. \(m=1-\sqrt{6}\)
Pt hoành độ giao điểm:
\(\frac{1}{2}x^2=-x+m\Leftrightarrow x^2+2x-2m=0\)
\(\Delta'=1+2m>0\Rightarrow m>-\frac{1}{2}\)
Khi đó theo Viet: \(\left\{{}\begin{matrix}x_1+x_2=-2\\x_1x_2=-2m\end{matrix}\right.\)
\(x_1x_2+y_1y_2=5\)
\(\Leftrightarrow x_1x_2+\frac{1}{4}x_1^2x_2^2=5\)
\(\Leftrightarrow\left(x_1x_2\right)^2+4x_1x_2-20=0\)
\(\Rightarrow\left[{}\begin{matrix}x_1x_2=-2+2\sqrt{6}\\x_1x_2=-2-2\sqrt{6}\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}-2m=-2+2\sqrt{6}\\-2m=-2-2\sqrt{6}\end{matrix}\right.\) \(\Rightarrow\left[{}\begin{matrix}m=\sqrt{6}-1\\m=\sqrt{6}+1\end{matrix}\right.\)