已知A=x2+xy-y2,B=-3xy-x2,计算: (1)A+B; (2)A-B.

问题描述:

已知A=x2+xy-y2,B=-3xy-x2,计算:
(1)A+B;
(2)A-B.

(1)∵A=x2+xy-y2,B=-3xy-x2
∴A+B=(x2+xy-y2)+(3xy-x2
=x2+xy-y2-3xy-x2
=-2xy-y2
(2)∵A=x2+xy-y2,B=-3xy-x2
∴A-B=(x2+xy-y2)-(-3xy-x2
=x2+xy-y2+3xy+x2
=2x2+4xy-y2