【答案】:
6
【解析】:
設點$A(-a,0)$,$B(a,0)$,則$AB=2a$,需求$a$的最小值。設$P(x,y)$,因$PA\perp PB$,向量$\overrightarrow{PA}=(-x-a,-y)$,$\overrightarrow{PB}=(a-x,-y)$,由$\overrightarrow{PA}\cdot\overrightarrow{PB}=0$得$x^2+y^2=a^2$,故點$P$在以$O$為圓心、$a$為半徑的圓上。又$P$在$\odot M$上,$\odot M$圓心$(3,4)$,半徑$2$,$OM=5$。兩圓有公共點,則$|a-2|\leq5\leq a+2$,解得$a\geq3$。當$a=3$時,兩圓外切,$a$最小,$AB=2a=6$。