设a,b为实数,若复数(1+i)(a+bi)=1+2i,则a= b=

问题描述:

设a,b为实数,若复数(1+i)(a+bi)=1+2i,则a= b=

(1+i)(a+bi)
=a+ai+bi-b
=(a-b)+(a+b)i
=1+2i
所以,a-b=1,a+b=2
解方程组,a=1.5,b=0.5 .