已知(x-y+1)2+|2x+y-7|=0.则x2-3xy+2y2的值为( ) A.0 B.4 C.6 D.12
问题描述:
已知(x-y+1)2+|2x+y-7|=0.则x2-3xy+2y2的值为( )
A. 0
B. 4
C. 6
D. 12
答
∵(x-y+1)2+|2x+y-7|=0,
∴x-y+1=0,2x+y-7=0,
即
,
x−y+1=0① 2x+y−7=0②
①+②得:3x-6=0,
∴x=2,
把x=2代入①得:2-y+1=0,
∴y=3,
∴x2-3xy+2y2,
=(x-y)(x-2y),
=(2-3)(2-2×3),
=4,
故选B.