(a-2b)²+(a-b)(a+b)-2(a-b)(a-3b)
=a²-4ab+4b²+a²-b²-2(a²-4ab+3b²)
=a²-4ab+4b²+a²-b²-2a²+8ab-6b²
=-3b²+4ab
=b(4a-3b)
当a=0.5,b=-1时,
b(4a-3b)
=-1×[4×0.5-3×(-1)]
=-1×(2+3)
=-1×5
=-5
(a-2b)²+(a-b)(a+b)-2(a-b)(a-3b)
=a²-4ab+4b²+a²-b²-2(a²-4ab+3b²)
=a²-4ab+4b²+a²-b²-2a²+8ab-6b²
=-3b²+4ab
=b(4a-3b)
当a=0.5,b=-1时,
b(4a-3b)
=-1×[4×0.5-3×(-1)]
=-1×(2+3)
=-1×5
=-5