To solve the inequality −x2+3x+4<0, we begin by finding the roots of the equation −x2+3x+4=0.
Step 1: Calculate the discriminant using b2−4ac with a=−1, b=3, and c=4: Δ=32−4×(−1)×4=9+16=25
Step 2: Compute the roots using the quadratic formula: x=2a−b±Δ=−2−3±25
Calculating the roots:
First root: x1=−2−3+5=−1
Second root: x2=−2−3−5=4
Step 3: Analyze intervals defined by the roots −1 and 4. Given that the parabola opens downwards, we check intervals (−∞,−1), (−1,4), and (4,∞).
Testing a point in each interval to determine the sign:
Interval (−∞,−1), test x=−2: −(−2)2+3(−2)+4=−4−6+4=−6 (negative)
Interval (−1,4), test x=0: −02+3(0)+4=4 (positive)
Interval (4,∞), test x=5: −(5)2+3(5)+4=−25+15+4=−6 (negative)
From the test results, the quadratic expression is negative in the intervals (−∞,−1) and (4,∞).
Therefore, the solution to the inequality −x2+3x+4<0 is x<−1 or 4<x.