Bài2:
a: \(Q=\left(\dfrac{2x+1}{x\left(x-5\right)}-\dfrac{2x}{x\left(x+5\right)}\right)\cdot\dfrac{x\left(x-5\right)\left(x+5\right)}{21x-2}\)
\(=\dfrac{2x^2+11x+5-2x^2+10x}{x\left(x-5\right)\left(x+5\right)}\cdot\dfrac{x\left(x-5\right)\left(x+5\right)}{21x-2}\)
\(=\dfrac{21x+5}{21x-2}\)
b: Để Q là số nguyên thì \(21x-2+7⋮21x-2\)
\(\Leftrightarrow21x-2\in\left\{1;-1;7;-7\right\}\)
hay \(x\in\left\{\dfrac{1}{7};\dfrac{1}{21};\dfrac{3}{7};-\dfrac{5}{21}\right\}\)