阅读下列例题:解方程x2-|x|-2=0解:(1)当x≥0时,原方程化为x2-x-2=0,解得x1=2,x2=-1(舍去).当x<0时,原方程化为x2+x-2=0,解得x1=1(舍去),x2=-2.∴x1=2,x2=-2是原方程的根.请参照例题解方程:x2-|x-1|-1=0.
试题篮