若a与b互为相反数,且丨a-2b丨=3/2.求a²+ab-b+1的值

问题描述:

若a与b互为相反数,且丨a-2b丨=3/2.求a²+ab-b+1的值

a与b互为相反数
∴a=-b

|a-2b|=3/2
∴|-b-2b|=3/2
|3b|=3/2
b=1/2或-1/2
a²+ab-b+1
=b²-b²-b+1
=-b+1
=1/2或3/2

a与b互为相反数,a=-b
丨a-2b丨=3/2
|-b-2b|=3/2
|3b|=3/2
b=±1/2

a²+ab-b+1=a²-a²-b+1=1-b=1-(±1/2)
=3/2或1/2