Cho hai tập hợp \(A=\left\{-\dfrac{1}{2};1;2\right\}\) và \(B=\left\{x\in\mathbb{Z}\colon2x^2-x-1=0\right\}\). Tìm tập hợp \(A\cap B\).
\(\left\{-\dfrac{1}{2}\right\}\) | |
\(\left\{-\dfrac{1}{2};1\right\}\) | |
\(\{1\}\) | |
\(\{1;2\}\) |
Chọn phương án C.
Ta có \(2x^2-x-1=0\Leftrightarrow\left[\begin{array}{l}
x=1\in\mathbb{Z}\\
x=-\dfrac{1}{2}\notin\mathbb{Z}
\end{array}\right.\)
Vậy \(B=\{1\}\).
Suy ra \(A\cap B=\{1\}\).