解方程:x2-2x-1=0.

问题描述:

解方程:x2-2x-1=0.

解法一:∵a=1,b=-2,c=-1
∴b2-4ac=4-4×1×(-1)=8>0
x=

-b±
b2-4ac
2a
=
8
2×1
=1±
2

x1=1+
2
x2=1-
2

解法二:(x-1)2=2
x-1=±
2

x1=1+
2
x2=1-
2