इस पर अटक गए? इसे AI से हल करें
Algebra · real student question

A quadratic function f satisfies f(x) <= 0 exactly on the interval -1 <= x <= 5, and its minimum value is -18. Solve the inequality f(x) <= 6.

Question

Let f(x)f(x) be a quadratic function. The solution of f(x)≤0f(x)\le 0 is exactly

−1≤x≤5,-1\le x\le 5,

and the minimum value of f(x)f(x) over all real xx is −18-18. Solve the inequality

f(x)≤6.f(x)\le 6.

Step-by-step solution

  1. Read the roots and the direction of opening straight off the solution set. f(x)≤0f(x)\le0 holds exactly on a closed bounded interval, so ff vanishes at the endpoints and is negative strictly between them. That means −1-1 and 55 are the two roots and the parabola opens upward (if it opened downward, f≤0f\le0 would be the two outer rays instead). Therefore

    f(x)=a(x+1)(x−5),a>0.f(x)=a(x+1)(x-5),\qquad a>0.

  2. Use symmetry to locate the vertex without completing the square. For an upward parabola the minimum sits midway between the roots:

    xvertex=−1+52=2.x_{\text{vertex}}=\frac{-1+5}{2}=2.

    This is the only place the stated minimum value can occur.

  3. Turn the minimum value into an equation for aa.

    f(2)=a(2+1)(2−5)=−9af(2)=a(2+1)(2-5)=-9a

    −9a=−18⟹a=2-9a=-18\quad\Longrightarrow\quad a=2

    The sign check passes: a=2>0a=2>0, consistent with the upward opening deduced in step 1. So

    f(x)=2(x+1)(x−5)=2x2−8x−10.f(x)=2(x+1)(x-5)=2x^2-8x-10.

  4. Solve f(x)≤6f(x)\le 6. Move everything to one side and divide by the positive leading coefficient (dividing by a positive number does not flip the inequality):

    2x2−8x−10≤6  ⟹  2x2−8x−16≤0  ⟹  x2−4x−8≤0.2x^2-8x-10\le6\;\Longrightarrow\;2x^2-8x-16\le0\;\Longrightarrow\;x^2-4x-8\le0.

  5. Find the roots of the boundary equation and pick the correct side.

    x=4±16+322=4±432=2±23x=\frac{4\pm\sqrt{16+32}}{2}=\frac{4\pm4\sqrt3}{2}=2\pm2\sqrt3

    Since x2−4x−8x^2-4x-8 opens upward, it is ≤0\le0 between its roots:

    2−23≤x≤2+23(approximately −1.464≤x≤5.464).2-2\sqrt3\le x\le 2+2\sqrt3\qquad(\text{approximately }-1.464\le x\le5.464).

  6. Sanity-check the answer against the given data. The new interval is centred on x=2x=2, the same axis of symmetry, and it strictly contains [−1,5][-1,5] — it must, because the level 66 is above the level 00 on an upward parabola. Substituting the endpoint: f(2+23)=2(3+23)(−3+23)=2(12−9)=6f\left(2+2\sqrt3\right)=2\left(3+2\sqrt3\right)\left(-3+2\sqrt3\right)=2\left(12-9\right)=6, exactly the boundary value.

Answer

2−23≤x≤2+232-2\sqrt{3}\le x\le 2+2\sqrt{3}

Need to solve a different problem like this? Open the solver →