Solving Quadratic Inequality: When is y = -x² + 6x - 8 Positive?

Question

Look at the following function:

y=x2+6x8 y=-x^2+6x-8

Determine for which values of x x the following is true:

f(x) > 0

Step-by-Step Solution

To solve the problem, we need to determine the intervals where the quadratic function y=x2+6x8 y = -x^2 + 6x - 8 is greater than zero.

First, let's find the roots of the equation by setting y=0 y = 0 :
x2+6x8=0-x^2 + 6x - 8 = 0.

We apply the quadratic formula:
x=b±b24ac2a x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} ,
where a=1 a = -1 , b=6 b = 6 , and c=8 c = -8 .

Calculating the discriminant:
b24ac=624(1)(8)=3632=4 b^2 - 4ac = 6^2 - 4(-1)(-8) = 36 - 32 = 4 .

Finding the roots:
x=6±42(1) x = \frac{-6 \pm \sqrt{4}}{2(-1)} ,
x=6±22 x = \frac{-6 \pm 2}{-2} .

This gives us two roots:
x1=6+22=2 x_1 = \frac{-6 + 2}{-2} = 2 ,
x2=622=4 x_2 = \frac{-6 - 2}{-2} = 4 .

Now, examine the sign of the function in the intervals determined by these roots: (,2) (-\infty, 2) , (2,4) (2, 4) , and (4,) (4, \infty) . We plug test points from each interval into the original function to determine where it is positive.

  • For x(,2) x \in (-\infty, 2) , choose x=0 x = 0 : f(0)=02+6×08=8 f(0) = -0^2 + 6 \times 0 - 8 = -8 (negative)
  • For x(2,4) x \in (2, 4) , choose x=3 x = 3 : f(3)=(3)2+6×38=9+188=1 f(3) = -(3)^2 + 6 \times 3 - 8 = -9 + 18 - 8 = 1 (positive)
  • For x(4,) x \in (4, \infty) , choose x=5 x = 5 : f(5)=(5)2+6×58=25+308=3 f(5) = -(5)^2 + 6 \times 5 - 8 = -25 + 30 - 8 = -3 (negative)

The interval where f(x)>0 f(x) > 0 is (2,4) (2, 4) .

Therefore, the solution to the problem is 2<x<4 2 < x < 4 .

Answer

2 < x < 4