Bài 2: Giải:
Ta có:
\(2a^2+a=3b^2+b\Leftrightarrow2a^2-2b^2+a-b=b^2\)
\(\Leftrightarrow\left(a-b\right)\left(2a+b+1\right)=b^2\left(1\right)\)
Đặt \(ƯCLN\left(a-b;2a+2b+1\right)=d\)
\(\Rightarrow\) \(\begin{cases}a-b\vdots d\\2a+2b+1\vdots d\end{cases}\) \(\Rightarrow b^2=\left(a-b\right)\left(2a+2b+1\right)⋮d^2\)
\(\Rightarrow b⋮d.\) Lại có: \(2\left(a-b\right)-\left(2a+2b+1\right)⋮d\)
\(\Rightarrow1⋮d\Rightarrow d=1\Rightarrow\left(a-b;2a+2b+1\right)=1\left(2\right)\)
Từ \(\left(1\right);\left(2\right)\) \(\Rightarrow\) Đpcm