The discriminant (D) must be strictly greater than zero:
D=b2−4ac>0 (−m)2−4(1)(4)>0 m2−16>0 m2>16⟹m∈(−∞,−4)∪(4,∞)…(i)
The x-coordinate of the vertex (−2ab) must lie within the given interval (1,5) for the roots to be contained within [1,5]:
1<2(1)−(−m)<5 1<2m<5 2<m<10…(ii)
Since the coefficient of x2 is positive (a=1>0), the parabola opens upwards. For the roots to stay within [1,5], the function values at the boundaries must be greater than or equal to zero: f(1)≥0 and f(5)≥0.
- For x=1:f(1)=12−m(1)+4≥0 5−m≥0⟹m≤5…(iii)
- For x=5:f(5)=52−m(5)+4≥0 25−5m+4≥0 29≥5m⟹m≤529(m≤5.8)…(iv)
We now find the values of m that satisfy all four inequalities:
- m∈(−∞,−4)∪(4,∞)
- 2<m<10
- m≤5
- m≤5.8
Combining these:
- From (1) and (2), we get 4<m<10.
- Applying (3), the range restricts to 4<m≤5.
- Condition (4) (m≤5.8) is already satisfied by m≤5.
The final interval for m is:
m∈(4,5]