a) Ta có: \(B=\left(1+\dfrac{a+\sqrt{a}}{\sqrt{a}+1}\right)\left(1-\dfrac{a-\sqrt{a}}{\sqrt{a}-1}\right)\)
\(=\left(1+\sqrt{a}\right)\left(1-\sqrt{a}\right)\)
=1-a
b) Ta có: \(2x^2-5x+2=0\)
\(\Leftrightarrow\left(2x-1\right)\left(x-2\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x=\dfrac{1}{2}\\x=2\end{matrix}\right.\)
Vậy: \(S=\left\{\dfrac{1}{2};2\right\}\)