If x^2+(3a+1)x+2a^2-b^2 is a perfect square, what is a,b?
More generally:
.
for example:
a=−13 and b=√23⇒x2