若(x+3)•(x+m)=x2+nx-12,则m=_,n=_.

问题描述:

若(x+3)•(x+m)=x2+nx-12,则m=______,n=______.

(x+3)•(x+m)=x2+nx-12,
∴x2+mx+3x+3m=x2+nx-12,
∴x2+(3+m)x+3m=x2+nx-12,

3+m=n
3m=−12

解得:m=-4,n=-1,
故答案为:-4,-1.