∴△=b2-4ac=(2k)2-4×(k-1)×(k+3)=4k2-4k2-8k+12=-8k+12>0…(1分)
解得:k<
3 |
2 |
∵k-1≠0,即k≠1,
∴k的取值范圍是k<
3 |
2 |
(2)∵當(dāng)方程有兩個(gè)相等的實(shí)數(shù)根時(shí),△=-8k+12=0.
∴k=
3 |
2 |
∴關(guān)于y的方程為y2+(a-6)y+a+1=0.
∴△′=(a-6)2-4(a+1)=a2-12a+36-4a-4=a2-16a+32=(a-8)2-32.
由a為正整數(shù),當(dāng)(a-8)2-32是完全平方數(shù)時(shí),方程才有可能有整數(shù)根.
設(shè)(a-8)2-32=m2(其中m為整數(shù)),32=p?q(p、q均為整數(shù)),
∴(a-8)2-m2=32.即(a-8+m)(a-8-m)=32.
不妨設(shè)
|
p+q+16 |
2 |
∵(a-8+m)與(a-8-m)的奇偶性相同,
∴32可分解為2×16,4×8,(-2)×(-16),(-4)×(-8),
∴p+q=18或12或-18或-12.
∴a=17或14或-1(不合題意,舍去)或2.
當(dāng)a=17時(shí),方程的兩根為y=
?11±7 |
2 |
當(dāng)a=14時(shí),方程的兩根為y=
?8±2 |
2 |
當(dāng)a=2時(shí),方程的兩根為y=
4±2 |
2 |