Question
Question: find all values of p for which one root of equation x^2 - (p+1)x + p^2 + p - 8 = 0 is greater than 2...
find all values of p for which one root of equation x^2 - (p+1)x + p^2 + p - 8 = 0 is greater than 2 and the other root is smaller than 2
-2 < p < 3
Solution
To find the values of p for which one root of the quadratic equation x2−(p+1)x+p2+p−8=0 is greater than 2 and the other root is smaller than 2, we can follow these steps:
-
Step 1: Determine f(2).
f(2)=22−(p+1)(2)+p2+p−8=4−2p−2+p2+p−8=p2−p−6.
Let f(x)=x2−(p+1)x+p2+p−8.
Then,Factorize:
p2−p−6=(p−3)(p+2). -
Step 2: Use the condition for roots.
f(2)<0i.e.(p−3)(p+2)<0.
If one root is greater than 2 and the other is less than 2, then 2 lies strictly between the roots. Since the coefficient of x2 is positive, this happens ifThe inequality (p−3)(p+2)<0 holds when
−2<p<3. -
Step 3: Verify real roots (optional but needed for existence).
Δ=(p+1)2−4(p2+p−8)=p2+2p+1−4p2−4p+32=−3p2−2p+33.
The discriminant Δ is given by:The discriminant must be nonnegative, i.e.
−3p2−2p+33≥0⟹3p2+2p−33≤0.Solving 3p2+2p−33=0 gives:
p=6−2±4+396=6−2±20.Therefore,
p=3orp=−311.Since the quadratic in p opens upwards, the condition is satisfied for
−311≤p≤3.Intersecting this with −2<p<3 (from Step 2) results in:
−2<p<3.
Explanation (Minimal Core):
- Compute f(2)=(p−3)(p+2).
- For 2 to lie between the roots, require (p−3)(p+2)<0 ⟹−2<p<3.
- Real roots exist in this interval.