(1)a=2解:a+1=3(2)a>2解:x^2-3x+2<=0因式分解1<=x<=2x^2-(a+1)x+a<=0因式分解1<=x<=a因为A是B的子集,所以a>2
解:因为A={x|x^2-3x+2=<0},所以A={x|x>=2,x=<1},因为B={x|x^2-(a+1)x+1=<0},所以B={x|x>=a,x=<1},当A=B时,a的取值范围是a=2,当A是B的子集时,a的取值范围是1=<a<2