(a) There is a quadratic equation which should e solved using the delta andthe roots formulas.
delta=a2-4ab
delta=144-4(k+1)(k-4)
delta=-4k2+12k+160
Because the problem tells us that the roots are real, the condition is that delta is 0 or greater than 0.
So, delta>=0
-4k2+12k+160>=0|:4
-k2+3k+40>=0
k2-3k-40<=0
(b)
k2-3k-40<=0
delta=(-3)2-41(-40)
delta=169
The formula for calculating the values of a quadratic equation is k1,2=[-b+-sqrt(delta)]/2
NB: sqrt[x] is the squared root of x.
=> k1=(3-13)/2; k1=-5 (1)
k2=(3+13)/2; k2=8 (2)
delta>=0 (3)
(1), (2), (3)=> k=[-5,8]