Look at the following function:
y=x2+2x−8
Determine for which values of x the following is true:
f\left(x\right) < 0
To solve for when f(x)=x2+2x−8 is less than zero, we follow these steps:
- Step 1: Find the roots of the quadratic equation.
The equation is x2+2x−8=0. We apply the quadratic formula:
x=2a−b±b2−4ac, where a=1, b=2, c=−8.
Substitute these values into the formula:
x=2×1−2±22−4×1×(−8)
x=2−2±4+32
x=2−2±36
x=2−2±6
This gives two roots: x1=24=2 and x2=2−8=−4.
- Step 2: Identify the intervals created by these roots.
The roots divide the number line into intervals: (−∞,−4), (−4,2), and (2,∞).
- Step 3: Test within each interval to determine where f(x)<0.
Choose test points in each interval:
For (−∞,−4), test x=−5. f(−5)=25−10−8=7. (Positive)
For (−4,2), test x=0. f(0)=0+0−8=−8. (Negative)
For (2,∞), test x=3. f(3)=9+6−8=7. (Positive)
Thus, f(x)<0 in the interval (−4,2).
Therefore, the correct interval for which the function f(x)<0 is
−4<x<2.