若a2=4,b2=9,且ab>0,则a-b的值为_.

问题描述:

若a2=4,b2=9,且ab>0,则a-b的值为______.

∵a2=4,b2=9,
∴a=±2,b=±3,
∵ab>0,
∴当a=2时,b=3,a-b=2-3=-1;
当a=-2时,b=-3,a-b=-2-(-3)=1.
故a-b的值为±1.
故答案为:±1.