1.公差不为零的等差数列{an},a2,a3,a7成等比数列,则它的公比为( )
A.-4 B.-
C. D.4
[答案] D
[解析] 设等差数列{an}的公差为d,由题意知d≠0,
且a=a2a7,即(a1+2d)2=(a1+d)(a1+6d),
化简,得a1=-d.
∴a2=a1+d=-d+d=d,
a3=a2+d=d+d=d,
∴=4,故选D.
2.若2a,b,2c成等比数列,则函数y=ax2+bx+c的图象与x轴的交点个数是( )
A.0 B.1
C.2 D.0或2
[答案] B
[解析] 由题意,得b2=4ac,令ax2+bx+c=0,
∴Δ=b2-4ac=0,故函数y=ax2+bx+c的图象与x轴相切,故选B.