x=2
(ax-1)/a^2-3a^2/(ax-1)
=(2a-1)/a^2-3a^2/(2a-1)=-2
令(2a-1)/a^2=b
则a^2/(2a-1)=1/b
所以b-3/b=-2
b^2+2b-3=0
(b+3)(b-1)=0
b=-3,b=1
(2a-1)/a^2=b=-3
-3a^2=2a-1
3a^2+2a-1=0
(3a-1)(a+1)=0
a=1/3,a=-1
(2a-1)/a^2=b=1
a^2=2a-1
a^2-2a+1=0
(a-1)^2=0
a=1
分式方程要检验
经检验a=1/3,a=-1和a=1都是方程的解