Solveeit Logo

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

Answer

-2 < p < 3

Explanation

Solution

To find the values of pp for which one root of the quadratic equation x2(p+1)x+p2+p8=0x^2 - (p+1)x + p^2 + p - 8 = 0 is greater than 2 and the other root is smaller than 2, we can follow these steps:

  1. Step 1: Determine f(2).
    Let f(x)=x2(p+1)x+p2+p8f(x) = x^2 - (p+1)x + p^2 + p - 8.
    Then,

    f(2)=22(p+1)(2)+p2+p8=42p2+p2+p8=p2p6.f(2) = 2^2 - (p+1)(2) + p^2 + p - 8 = 4 - 2p - 2 + p^2 + p - 8 = p^2 - p - 6.

    Factorize:

    p2p6=(p3)(p+2).p^2 - p - 6 = (p-3)(p+2).
  2. Step 2: Use the condition for roots.
    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 x2x^2 is positive, this happens if

    f(2)<0i.e.(p3)(p+2)<0.f(2) < 0 \quad \text{i.e.} \quad (p-3)(p+2) < 0.

    The inequality (p3)(p+2)<0(p-3)(p+2) < 0 holds when

    2<p<3.-2 < p < 3.
  3. Step 3: Verify real roots (optional but needed for existence).
    The discriminant Δ\Delta is given by:

    Δ=(p+1)24(p2+p8)=p2+2p+14p24p+32=3p22p+33.\Delta = (p+1)^2 - 4(p^2+p-8) = p^2 + 2p + 1 - 4p^2 - 4p + 32 = -3p^2 - 2p + 33.

    The discriminant must be nonnegative, i.e.

    3p22p+3303p2+2p330.-3p^2 - 2p + 33 \ge 0 \quad \Longrightarrow \quad 3p^2 + 2p - 33 \le 0.

    Solving 3p2+2p33=03p^2 + 2p - 33 = 0 gives:

    p=2±4+3966=2±206.p = \frac{-2 \pm \sqrt{4 + 396}}{6} = \frac{-2 \pm 20}{6}.

    Therefore,

    p=3orp=113.p = 3 \quad \text{or} \quad p = -\frac{11}{3}.

    Since the quadratic in pp opens upwards, the condition is satisfied for

    113p3.-\frac{11}{3} \le p \le 3.

    Intersecting this with 2<p<3-2 < p < 3 (from Step 2) results in:

    2<p<3.-2 < p < 3.

Explanation (Minimal Core):

  • Compute f(2)=(p3)(p+2)f(2) = (p-3)(p+2).
  • For 2 to lie between the roots, require (p3)(p+2)<0(p-3)(p+2) < 0 2<p<3\Longrightarrow -2 < p < 3.
  • Real roots exist in this interval.